2022-02-01 21:45:55 +08:00
|
|
|
{
|
2022-02-01 23:46:50 +08:00
|
|
|
"name": "gradio-ui",
|
|
|
|
"version": "0.0.1",
|
|
|
|
"description": "Gradio UI packages",
|
|
|
|
"scripts": {
|
2022-08-03 03:02:06 +08:00
|
|
|
"workbench": "pnpm --filter @gradio/workbench dev",
|
2023-04-03 21:33:01 +08:00
|
|
|
"dev": "pnpm css && pnpm --filter @gradio/client build && pnpm --filter @gradio/app dev",
|
2023-01-18 04:47:40 +08:00
|
|
|
"css": "pnpm --filter @gradio/theme generate",
|
2023-04-03 21:33:01 +08:00
|
|
|
"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",
|
2022-08-03 03:02:06 +08:00
|
|
|
"build:website": "pnpm --filter @gradio/app build:website --emptyOutDir",
|
2022-06-08 02:11:44 +08:00
|
|
|
"build:cdn-local": "TEST_CDN=TRUE pnpm build:cdn",
|
|
|
|
"preview:cdn-server": "sirv ../gradio/templates/cdn --single --port=4321 --cors",
|
2022-08-03 03:02:06 +08:00
|
|
|
"preview:cdn-app": "pnpm --filter @gradio/cdn-test dev",
|
2022-06-08 02:11:44 +08:00
|
|
|
"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=. .",
|
2022-02-14 23:24:04 +08:00
|
|
|
"ts:check": "svelte-check --tsconfig tsconfig.json",
|
2023-04-03 21:33:01 +08:00
|
|
|
"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",
|
2022-10-13 00:30:42 +08:00
|
|
|
"test:browser": "pnpm --filter @gradio/app test:browser:full",
|
2022-03-23 23:19:12 +08:00
|
|
|
"test:browser:full": "run-s build test:browser",
|
2023-03-22 21:46:23 +08:00
|
|
|
"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-01 23:46:50 +08:00
|
|
|
},
|
2022-02-25 20:24:32 +08:00
|
|
|
"type": "module",
|
2022-02-01 23:46:50 +08:00
|
|
|
"author": "",
|
|
|
|
"license": "ISC",
|
|
|
|
"private": true,
|
|
|
|
"dependencies": {
|
2023-03-23 01:53:35 +08:00
|
|
|
"@changesets/changelog-github": "^0.4.8",
|
2023-03-22 21:46:23 +08:00
|
|
|
"@changesets/cli": "^2.26.1",
|
2022-03-23 23:19:12 +08:00
|
|
|
"@gradio/tootils": "workspace:^0.0.1",
|
2022-10-13 00:30:42 +08:00
|
|
|
"@playwright/test": "^1.27.1",
|
2022-05-13 04:27:21 +08:00
|
|
|
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.44",
|
2022-04-06 01:11:29 +08:00
|
|
|
"@tailwindcss/forms": "^0.5.0",
|
2022-03-23 23:19:12 +08:00
|
|
|
"@testing-library/dom": "^8.11.3",
|
2023-03-30 07:30:00 +08:00
|
|
|
"@testing-library/jest-dom": "^5.16.5",
|
2022-03-23 23:19:12 +08:00
|
|
|
"@testing-library/svelte": "^3.1.0",
|
2022-03-23 19:22:49 +08:00
|
|
|
"@testing-library/user-event": "^13.5.0",
|
2022-03-23 23:19:12 +08:00
|
|
|
"autoprefixer": "^10.4.4",
|
2022-08-04 05:03:01 +08:00
|
|
|
"babylonjs": "^5.17.1",
|
|
|
|
"babylonjs-loaders": "^5.17.1",
|
2022-03-23 23:19:12 +08:00
|
|
|
"happy-dom": "^2.49.0",
|
2023-02-18 02:51:00 +08:00
|
|
|
"msw": "^1.0.0",
|
2022-05-27 09:17:13 +08:00
|
|
|
"node-html-parser": "^5.3.3",
|
2022-03-23 23:19:12 +08:00
|
|
|
"npm-run-all": "^4.1.5",
|
2022-10-13 00:30:42 +08:00
|
|
|
"playwright": "^1.27.1",
|
2022-04-26 22:48:39 +08:00
|
|
|
"plotly.js-dist-min": "^2.10.1",
|
2022-03-23 23:19:12 +08:00
|
|
|
"polka": "^1.0.0-next.22",
|
2023-01-18 04:47:40 +08:00
|
|
|
"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",
|
2022-04-26 22:48:39 +08:00
|
|
|
"prettier": "^2.6.2",
|
2023-01-18 04:47:40 +08:00
|
|
|
"prettier-plugin-css-order": "^1.3.0",
|
2023-04-03 21:33:01 +08:00
|
|
|
"prettier-plugin-svelte": "^2.10.0",
|
2022-03-23 23:19:12 +08:00
|
|
|
"sirv": "^2.0.2",
|
|
|
|
"sirv-cli": "^2.0.2",
|
2023-04-03 21:33:01 +08:00
|
|
|
"svelte": "^3.57.0",
|
|
|
|
"svelte-check": "^3.1.4",
|
|
|
|
"svelte-i18n": "^3.6.0",
|
|
|
|
"svelte-preprocess": "^5.0.3",
|
2022-07-22 02:12:46 +08:00
|
|
|
"tailwindcss": "^3.1.6",
|
2022-03-23 23:19:12 +08:00
|
|
|
"tinyspy": "^0.3.0",
|
2022-07-22 02:12:46 +08:00
|
|
|
"typescript": "^4.7.4",
|
2023-04-03 21:33:01 +08:00
|
|
|
"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": [
|
|
|
|
".."
|
|
|
|
]
|
2022-02-01 23:46:50 +08:00
|
|
|
}
|
2022-02-01 21:45:55 +08:00
|
|
|
}
|