mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-27 01:40:20 +08:00
86 lines
3.1 KiB
JSON
86 lines
3.1 KiB
JSON
{
|
|
"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",
|
|
"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",
|
|
"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",
|
|
"ci:publish": "pnpm publish --no-git-checks --access public -r",
|
|
"ci:version": "changeset version && pnpm i --lockfile-only"
|
|
},
|
|
"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",
|
|
"@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",
|
|
"postcss-nested": "^5.0.6",
|
|
"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"
|
|
},
|
|
"devDependencies": {
|
|
"@types/three": "^0.138.0"
|
|
},
|
|
"prettier": {
|
|
"useTabs": true,
|
|
"singleQuote": false,
|
|
"trailingComma": "none",
|
|
"printWidth": 80,
|
|
"pluginSearchDirs": [
|
|
".."
|
|
]
|
|
}
|
|
}
|