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": {
|
2023-10-31 12:46:02 +08:00
|
|
|
"dev": "pnpm css && pnpm --filter @gradio/client build && pnpm --filter @gradio/preview build && pnpm --filter @gradio/app dev",
|
2023-01-18 04:47:40 +08:00
|
|
|
"css": "pnpm --filter @gradio/theme generate",
|
2023-11-03 06:29:03 +08:00
|
|
|
"build": "pnpm css && pnpm --filter @gradio/client build && pnpm --filter @gradio/app build --emptyOutDir && pnpm --filter @gradio/preview build",
|
|
|
|
"preview:cdn-server": "sirv ./gradio/templates/frontend --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-08-04 06:01:18 +08:00
|
|
|
"format:check": "prettier --ignore-path .config/.prettierignore --check --config .config/.prettierrc.json --plugin prettier-plugin-svelte .",
|
|
|
|
"format:write": "prettier --ignore-path .config/.prettierignore --write --config .config/.prettierrc.json --plugin prettier-plugin-svelte .",
|
2023-06-22 18:25:27 +08:00
|
|
|
"lint": "ESLINT_USE_FLAT_CONFIG=true eslint -c .config/eslint.config.js js client/js",
|
2023-07-14 00:41:47 +08:00
|
|
|
"ts:check": "svelte-check --tsconfig tsconfig.json --threshold error",
|
2023-04-03 21:33:01 +08:00
|
|
|
"test": "pnpm --filter @gradio/client build && vitest dev --config .config/vitest.config.ts",
|
2023-07-06 17:55:45 +08:00
|
|
|
"test:run": "pnpm --filter @gradio/client build && vitest run --config .config/vitest.config.ts --reporter=verbose",
|
2023-05-12 23:22:25 +08:00
|
|
|
"test:node": "TEST_MODE=node pnpm vitest run --config .config/vitest.config.ts",
|
2023-06-20 04:02:03 +08:00
|
|
|
"test:browser": "pnpm --filter @gradio/app test:browser",
|
2022-03-23 23:19:12 +08:00
|
|
|
"test:browser:full": "run-s build test:browser",
|
2023-07-13 09:08:36 +08:00
|
|
|
"test:browser:verbose": "pnpm test:browser",
|
2023-06-29 05:11:46 +08:00
|
|
|
"test:browser:dev": "pnpm --filter @gradio/app test:browser:dev",
|
2023-07-03 22:21:00 +08:00
|
|
|
"storybook": "storybook dev -p 6006 --config-dir js/storybook",
|
|
|
|
"build-storybook": "storybook build --config-dir js/storybook",
|
2023-07-22 02:13:21 +08:00
|
|
|
"ci:version": "changeset version && pnpm i --lockfile-only && node ./.changeset/fix_changelogs.cjs",
|
|
|
|
"ci:publish": "pnpm publish --no-git-checks --access public -r --filter=@gradio/*",
|
2023-07-19 16:32:32 +08:00
|
|
|
"chromatic": "chromatic",
|
2023-08-11 22:54:56 +08:00
|
|
|
"test:ct": "playwright test -c ./.config/playwright-ct.config.ts",
|
|
|
|
"website": "pnpm --filter @gradio/website build"
|
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",
|
2023-07-22 02:13:21 +08:00
|
|
|
"@changesets/get-github-info": "^0.5.2",
|
2023-07-04 19:59:53 +08:00
|
|
|
"@csstools/postcss-global-data": "^2.0.0",
|
2023-10-31 12:46:02 +08:00
|
|
|
"@ffmpeg/ffmpeg": "^0.12.7",
|
|
|
|
"@ffmpeg/util": "^0.12.1",
|
2023-08-04 06:01:18 +08:00
|
|
|
"@gradio/tootils": "workspace:^",
|
2023-07-22 02:13:21 +08:00
|
|
|
"@manypkg/get-packages": "^2.2.0",
|
2023-10-31 12:46:02 +08:00
|
|
|
"@playwright/experimental-ct-svelte": "^1.39.0",
|
|
|
|
"@playwright/test": "^1.39.0",
|
|
|
|
"@sveltejs/vite-plugin-svelte": "^2.4.6",
|
2022-04-06 01:11:29 +08:00
|
|
|
"@tailwindcss/forms": "^0.5.0",
|
2023-06-22 15:00:15 +08:00
|
|
|
"@testing-library/dom": "^9.0.0",
|
2023-08-14 21:36:37 +08:00
|
|
|
"@testing-library/jest-dom": "^6.0.0",
|
2023-06-22 17:26:43 +08:00
|
|
|
"@testing-library/user-event": "^14.0.0",
|
2023-06-22 20:49:28 +08:00
|
|
|
"@types/node": "^20.3.1",
|
2023-06-29 05:40:53 +08:00
|
|
|
"@types/testing-library__jest-dom": "^5.14.6",
|
2023-10-31 12:46:02 +08:00
|
|
|
"@types/wavesurfer.js": "^6.0.10",
|
2023-08-04 06:01:18 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^6.2.1",
|
|
|
|
"@typescript-eslint/parser": "^6.2.1",
|
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",
|
2023-08-04 06:01:18 +08:00
|
|
|
"eslint": "^8.46.0",
|
|
|
|
"eslint-plugin-svelte": "^2.32.4",
|
2023-06-22 18:25:27 +08:00
|
|
|
"globals": "^13.20.0",
|
2023-06-23 20:22:12 +08:00
|
|
|
"jsdom": "^22.1.0",
|
2023-06-23 19:45:20 +08:00
|
|
|
"kleur": "^4.1.5",
|
2023-11-03 18:33:10 +08:00
|
|
|
"msw": "^2.0.0",
|
2023-06-22 17:56:12 +08:00
|
|
|
"node-html-parser": "^6.0.0",
|
2022-03-23 23:19:12 +08:00
|
|
|
"npm-run-all": "^4.1.5",
|
2023-10-31 12:46:02 +08:00
|
|
|
"playwright": "^1.39.0",
|
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",
|
2023-08-04 06:01:18 +08:00
|
|
|
"postcss": "^8.4.27",
|
2023-07-04 20:26:36 +08:00
|
|
|
"postcss-custom-media": "10",
|
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",
|
2023-07-06 16:22:09 +08:00
|
|
|
"prettier": "^3.0.0",
|
2023-07-30 12:47:20 +08:00
|
|
|
"prettier-plugin-css-order": "^2.0.0",
|
2023-07-29 05:00:15 +08:00
|
|
|
"prettier-plugin-svelte": "^3.0.0",
|
2022-03-23 23:19:12 +08:00
|
|
|
"sirv": "^2.0.2",
|
|
|
|
"sirv-cli": "^2.0.2",
|
2023-10-31 12:46:02 +08:00
|
|
|
"svelte": "^4.2.2",
|
2023-06-29 05:40:53 +08:00
|
|
|
"svelte-check": "^3.4.4",
|
2023-10-17 05:35:14 +08:00
|
|
|
"svelte-i18n": "^4.0.0",
|
2023-06-29 05:40:53 +08:00
|
|
|
"svelte-preprocess": "^5.0.4",
|
2022-07-22 02:12:46 +08:00
|
|
|
"tailwindcss": "^3.1.6",
|
2023-06-22 19:01:23 +08:00
|
|
|
"tinyspy": "^2.0.0",
|
2023-06-22 20:49:28 +08:00
|
|
|
"typescript": "^5.0.0",
|
2023-11-03 04:22:30 +08:00
|
|
|
"typescript-svelte-plugin": "^0.3.34",
|
2023-06-20 04:02:03 +08:00
|
|
|
"vite": "^4.3.9",
|
2023-11-13 01:18:11 +08:00
|
|
|
"vitest": "^0.34.0"
|
2022-03-04 10:23:34 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-10-31 12:46:02 +08:00
|
|
|
"@storybook/addon-a11y": "^7.5.1",
|
|
|
|
"@storybook/addon-essentials": "^7.5.1",
|
|
|
|
"@storybook/addon-interactions": "^7.5.1",
|
|
|
|
"@storybook/addon-links": "^7.5.1",
|
|
|
|
"@storybook/addon-styling": "^1.3.7",
|
|
|
|
"@storybook/addon-svelte-csf": "^4.0.9",
|
|
|
|
"@storybook/blocks": "^7.5.1",
|
|
|
|
"@storybook/manager-api": "^7.5.1",
|
|
|
|
"@storybook/svelte": "^7.5.1",
|
|
|
|
"@storybook/svelte-vite": "^7.5.1",
|
|
|
|
"@storybook/testing-library": "^0.2.2",
|
|
|
|
"@storybook/theming": "^7.5.1",
|
2023-09-05 23:20:47 +08:00
|
|
|
"chromatic": "^7.0.0",
|
2023-11-03 04:22:30 +08:00
|
|
|
"mrmime": "^1.0.1",
|
2023-07-03 22:21:00 +08:00
|
|
|
"react": "^18.2.0",
|
|
|
|
"react-dom": "^18.2.0",
|
2023-10-31 12:46:02 +08:00
|
|
|
"storybook": "^7.5.1",
|
2023-09-13 00:39:15 +08:00
|
|
|
"wikidata-lang": "^4.1.2"
|
2022-02-01 23:46:50 +08:00
|
|
|
}
|
2023-07-05 21:18:21 +08:00
|
|
|
}
|