gradio/package.json
pngwn f082dd6e63
fix (#4727)
* fix

* fix

* fix
2023-06-29 15:33:32 +01:00

97 lines
3.6 KiB
JSON

{
"name": "gradio-ui",
"version": "0.0.1",
"description": "Gradio UI packages",
"scripts": {
"dev": "pnpm css && pnpm --filter @gradio/client build && pnpm --filter @gradio/app dev",
"css": "pnpm --filter @gradio/theme generate",
"build": "pnpm css && pnpm --filter @gradio/client build && pnpm --filter @gradio/app build:local --emptyOutDir",
"build:cdn": "pnpm --filter @gradio/client build && pnpm --filter @gradio/app build:cdn --emptyOutDir",
"build:website": "pnpm --filter @gradio/app build:website --emptyOutDir",
"build:cdn-local": "TEST_CDN=TRUE pnpm build:cdn",
"preview:cdn-server": "sirv ./gradio/templates/cdn --single --port=4321 --cors",
"preview:cdn-app": "pnpm --filter @gradio/cdn-test dev",
"preview:cdn-local": "run-p preview:cdn-server preview:cdn-app",
"format:check": "prettier --ignore-path .config/.prettierignore --check --plugin-search-dir=. .",
"format:write": "prettier --ignore-path .config/.prettierignore --write --plugin-search-dir=. .",
"lint": "ESLINT_USE_FLAT_CONFIG=true eslint -c .config/eslint.config.js js client/js",
"ts:check": "svelte-check --tsconfig tsconfig.json",
"test": "pnpm --filter @gradio/client build && vitest dev --config .config/vitest.config.ts",
"test:run": "pnpm --filter @gradio/client build && vitest run --config .config/vitest.config.ts",
"test:node": "TEST_MODE=node pnpm vitest run --config .config/vitest.config.ts",
"test:browser": "pnpm --filter @gradio/app test:browser",
"test:browser:full": "run-s build test:browser",
"test:browser:verbose": "GRADIO_TEST_VERBOSE=true pnpm test:browser",
"test:browser:dev": "pnpm --filter @gradio/app test:browser:dev",
"ci:publish": "pnpm publish --no-git-checks --access public -r",
"ci:version": "changeset version && pnpm i --lockfile-only",
"test:ct": "playwright test -c ./.config/playwright-ct.config.ts"
},
"type": "module",
"author": "",
"license": "ISC",
"private": true,
"dependencies": {
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.1",
"@csstools/postcss-global-data": "^1.0.3",
"@gradio/tootils": "workspace:^0.0.1",
"@playwright/test": "^1.35.1",
"@playwright/experimental-ct-svelte": "^1.35.1",
"@sveltejs/vite-plugin-svelte": "^2.4.2",
"@tailwindcss/forms": "^0.5.0",
"@testing-library/dom": "^9.0.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/user-event": "^14.0.0",
"@types/node": "^20.3.1",
"@types/testing-library__jest-dom": "^5.14.6",
"@typescript-eslint/eslint-plugin": "^5.60.0",
"@typescript-eslint/parser": "^5.60.0",
"autoprefixer": "^10.4.4",
"babylonjs": "^5.17.1",
"babylonjs-loaders": "^5.17.1",
"eslint": "^8.43.0",
"eslint-plugin-svelte": "^2.31.0",
"globals": "^13.20.0",
"jsdom": "^22.1.0",
"kleur": "^4.1.5",
"msw": "^1.2.2",
"node-html-parser": "^6.0.0",
"npm-run-all": "^4.1.5",
"plotly.js-dist-min": "^2.10.1",
"polka": "^1.0.0-next.22",
"pollen-css": "^4.6.1",
"postcss": "^8.4.6",
"postcss-custom-media": "9",
"postcss-nested": "^5.0.6",
"postcss-prefix-selector": "^1.16.0",
"prettier": "^2.6.2",
"prettier-plugin-css-order": "^1.3.1",
"prettier-plugin-svelte": "^2.10.1",
"sirv": "^2.0.2",
"sirv-cli": "^2.0.2",
"svelte": "^4.0.0",
"svelte-check": "^3.4.4",
"svelte-i18n": "^3.6.0",
"svelte-preprocess": "^5.0.4",
"tailwindcss": "^3.1.6",
"tinyspy": "^2.0.0",
"typescript": "^5.0.0",
"vite": "^4.3.9",
"vitest": "^0.32.0"
},
"devDependencies": {
"@playwright/test": "^1.35.1",
"@types/three": "^0.152.0"
},
"prettier": {
"useTabs": true,
"singleQuote": false,
"trailingComma": "none",
"printWidth": 80,
"pluginSearchDirs": [
".."
]
}
}