2024-08-14 22:17:36 +08:00
|
|
|
{
|
2024-08-23 00:38:45 +08:00
|
|
|
"name": "@self/spa",
|
2024-11-16 08:16:39 +08:00
|
|
|
"version": "0.3.0",
|
2024-08-14 22:17:36 +08:00
|
|
|
"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": {
|
2024-08-23 00:38:45 +08:00
|
|
|
"@self/build": "workspace:^",
|
2024-08-14 22:17:36 +08:00
|
|
|
"@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"
|
|
|
|
},
|
2024-08-23 00:38:45 +08:00
|
|
|
"peerDependencies": {
|
|
|
|
"svelte": "^4.0.0"
|
|
|
|
},
|
2024-08-14 22:17:36 +08:00
|
|
|
"main_changeset": true,
|
2024-08-15 19:56:17 +08:00
|
|
|
"main": "./src/Index.svelte",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/gradio-app/gradio.git",
|
|
|
|
"directory": "js/spa"
|
|
|
|
}
|
2024-08-14 22:17:36 +08:00
|
|
|
}
|