gradio/package.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

109 lines
4.4 KiB
JSON
Raw Normal View History

{
"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 --config .config/.prettierrc.json --plugin prettier-plugin-svelte .",
"format:write": "prettier --ignore-path .config/.prettierignore --write --config .config/.prettierrc.json --plugin prettier-plugin-svelte .",
"lint": "ESLINT_USE_FLAT_CONFIG=true eslint -c .config/eslint.config.js js client/js",
"ts:check": "svelte-check --tsconfig tsconfig.json --threshold error",
"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 --reporter=verbose",
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",
"test:browser:full": "run-s build test:browser",
"test:browser:verbose": "pnpm test:browser",
Chatbot Tests (#4662) * playwright tests for chatbot * more tests * changelog * Update CHANGELOG.md * fix upload file delay (#4661) * fix * changes * changes --------- Co-authored-by: Abubakar Abid <abubakar@huggingface.co> * Forward `tqdm` constructor arguments to `Progress` component (#4475) * Forward tqdm constructor arguments to Progress component Signed-off-by: Ilya Trushkin <ilya.trushkin@intel.com> * lint * reorder args * added tests --------- Signed-off-by: Ilya Trushkin <ilya.trushkin@intel.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co> * Remove cleared_value (#4685) * Remove cleared_value * CHANGELOG * Add requirements.txt to dialogpt demo (#4686) * Add requirements.txt * Update demo notebook * Add torch * remove streaming demo + more tests * Fix blocks_kitchen_sink and streaming_stt demos (#4699) * Add code * Add json file * Remove streaming_stt demo * Undo generate_notebooks * Add blocks_kitchen_sink * fix tests * Update js/app/test/chatbot_multimodal.spec.ts Co-authored-by: pngwn <hello@pngwn.io> * Update js/app/test/chatbot_multimodal.spec.ts Co-authored-by: pngwn <hello@pngwn.io> * Update js/app/test/chatbot_multimodal.spec.ts Co-authored-by: pngwn <hello@pngwn.io> * Update js/app/test/chatbot_multimodal.spec.ts Co-authored-by: pngwn <hello@pngwn.io> * Update js/app/test/chatbot_multimodal.spec.ts Co-authored-by: pngwn <hello@pngwn.io> * Update js/app/test/chatbot_multimodal.spec.ts Co-authored-by: pngwn <hello@pngwn.io> * Update js/app/test/chatbot_multimodal.spec.ts Co-authored-by: pngwn <hello@pngwn.io> * Update js/app/test/chatbot_multimodal.spec.ts Co-authored-by: pngwn <hello@pngwn.io> * Update js/app/test/chatbot_multimodal.spec.ts Co-authored-by: pngwn <hello@pngwn.io> * update notebook * remove debug * remove debug --------- Signed-off-by: Ilya Trushkin <ilya.trushkin@intel.com> Co-authored-by: aliabid94 <aabid94@gmail.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co> Co-authored-by: Ilya Trushkin <ilya.trushkin@intel.com> Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com> Co-authored-by: pngwn <hello@pngwn.io>
2023-06-29 05:11:46 +08:00
"test:browser:dev": "pnpm --filter @gradio/app test:browser:dev",
"storybook": "storybook dev -p 6006 --config-dir js/storybook",
"build-storybook": "storybook build --config-dir js/storybook",
"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/*",
"chromatic": "chromatic",
"test:ct": "playwright test -c ./.config/playwright-ct.config.ts",
"website": "pnpm --filter @gradio/website build"
},
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",
"@changesets/get-github-info": "^0.5.2",
"@csstools/postcss-global-data": "^2.0.0",
"@gradio/tootils": "workspace:^",
"@manypkg/get-packages": "^2.2.0",
"@playwright/experimental-ct-svelte": "^1.37.1",
"@playwright/test": "^1.37.1",
"@sveltejs/vite-plugin-svelte": "^2.4.2",
"@tailwindcss/forms": "^0.5.0",
"@testing-library/dom": "^9.0.0",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/user-event": "^14.0.0",
"@types/node": "^20.3.1",
"@types/testing-library__jest-dom": "^5.14.6",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"autoprefixer": "^10.4.4",
"babylonjs": "^5.17.1",
"babylonjs-loaders": "^5.17.1",
"eslint": "^8.46.0",
"eslint-plugin-svelte": "^2.32.4",
"globals": "^13.20.0",
2023-06-23 20:22:12 +08:00
"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.27",
"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",
"prettier": "^3.0.0",
"prettier-plugin-css-order": "^2.0.0",
"prettier-plugin-svelte": "^3.0.0",
"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.34.0"
2022-03-04 10:23:34 +08:00
},
"devDependencies": {
"@storybook/addon-a11y": "^7.0.24",
"@storybook/addon-essentials": "^7.0.23",
"@storybook/addon-interactions": "^7.0.23",
"@storybook/addon-links": "^7.0.23",
"@storybook/addon-styling": "^1.3.1",
"@storybook/addon-svelte-csf": "^4.0.0",
"@storybook/blocks": "^7.0.23",
"@storybook/manager-api": "^7.0.23",
"@storybook/svelte": "^7.0.23",
"@storybook/svelte-vite": "^7.0.23",
"@storybook/testing-library": "^0.2.0",
"@storybook/theming": "^7.0.23",
"chromatic": "^7.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"storybook": "^7.0.23",
"wikidata-lang": "^4.1.2"
}
}