mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-21 01:01:05 +08:00
4d520a8a7b
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
40 lines
1.3 KiB
JSON
40 lines
1.3 KiB
JSON
{
|
|
"name": "@self/spa",
|
|
"version": "0.3.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --port 9876",
|
|
"build": "vite build --mode production --emptyOutDir",
|
|
"preview": "vite preview",
|
|
"test:snapshot": "pnpm exec playwright test snapshots/ --config=../../.config/playwright.config.js",
|
|
"test:browser": "pnpm exec playwright test test/ --grep-invert 'reload.spec.ts' --config=../../.config/playwright.config.js",
|
|
"test:browser:dev": "pnpm exec playwright test test/ --ui --config=../../.config/playwright.config.js",
|
|
"test:browser:reload": "CI=1 pnpm exec playwright test test/ --grep 'reload.spec.ts' --config=../../.config/playwright.config.js",
|
|
"build:css": "pollen -c pollen.config.cjs -o src/pollen-dev.css"
|
|
},
|
|
"devDependencies": {
|
|
"@self/build": "workspace:^",
|
|
"@gradio/client": "workspace:^",
|
|
"@gradio/core": "workspace:^",
|
|
"@gradio/theme": "workspace:^",
|
|
"@gradio/wasm": "workspace:^",
|
|
"@huggingface/space-header": "^1.0.3",
|
|
"@types/eventsource": "^1.1.15",
|
|
"cross-env": "^7.0.3"
|
|
},
|
|
"msw": {
|
|
"workerDirectory": "public"
|
|
},
|
|
"peerDependencies": {
|
|
"svelte": "^4.0.0"
|
|
},
|
|
"main_changeset": true,
|
|
"main": "./src/Index.svelte",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/gradio-app/gradio.git",
|
|
"directory": "js/spa"
|
|
}
|
|
}
|