gradio/package.json

86 lines
3.1 KiB
JSON
Raw Normal View History

{
"name": "gradio-ui",
"version": "0.0.1",
"description": "Gradio UI packages",
"scripts": {
"workbench": "pnpm --filter @gradio/workbench dev",
"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",
2023-05-12 23:22:25 +08:00
"format:check": "prettier --ignore-path .config/.prettierignore --check --plugin-search-dir=. .",
"format:write": "prettier --ignore-path .config/.prettierignore --write --plugin-search-dir=. .",
"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",
2023-05-12 23:22:25 +08:00
"test:node": "TEST_MODE=node pnpm vitest run --config .config/vitest.config.ts",
"test:browser": "pnpm --filter @gradio/app test:browser:full",
"test:browser:full": "run-s build test:browser",
"test:browser:debug": "pnpm --filter @gradio/app test:browser:debug",
2023-05-13 03:21:58 +08:00
"ci:publish": "pnpm publish --no-git-checks --access public -r",
2023-05-13 03:40:54 +08:00
"ci:version": "changeset version && pnpm i --lockfile-only"
},
2022-02-25 20:24:32 +08:00
"type": "module",
"author": "",
"license": "ISC",
"private": true,
"dependencies": {
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.1",
"@gradio/tootils": "workspace:^0.0.1",
"@playwright/test": "^1.27.1",
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.44",
"@tailwindcss/forms": "^0.5.0",
"@testing-library/dom": "^8.11.3",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/svelte": "^3.1.0",
2022-03-23 19:22:49 +08:00
"@testing-library/user-event": "^13.5.0",
"autoprefixer": "^10.4.4",
"babylonjs": "^5.17.1",
"babylonjs-loaders": "^5.17.1",
"happy-dom": "^2.49.0",
"msw": "^1.0.0",
"node-html-parser": "^5.3.3",
"npm-run-all": "^4.1.5",
"playwright": "^1.27.1",
"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": "8",
2022-02-22 20:20:28 +08:00
"postcss-nested": "^5.0.6",
2023-01-28 17:47:14 +08:00
"postcss-prefix-selector": "^1.16.0",
"prettier": "^2.6.2",
"prettier-plugin-css-order": "^1.3.0",
"prettier-plugin-svelte": "^2.10.0",
"sirv": "^2.0.2",
"sirv-cli": "^2.0.2",
"svelte": "^3.57.0",
"svelte-check": "^3.1.4",
"svelte-i18n": "^3.6.0",
"svelte-preprocess": "^5.0.3",
"tailwindcss": "^3.1.6",
"tinyspy": "^0.3.0",
"typescript": "^4.7.4",
"vite": "^4.2.1",
"vitest": "^0.29.8"
2022-03-04 10:23:34 +08:00
},
"devDependencies": {
"@types/three": "^0.138.0"
2023-05-12 23:22:25 +08:00
},
"prettier": {
"useTabs": true,
"singleQuote": false,
"trailingComma": "none",
"printWidth": 80,
"pluginSearchDirs": [
".."
]
}
}