2023-06-29 20:25:29 +08:00
|
|
|
{
|
|
|
|
"name": "@gradio/lite",
|
2024-12-05 07:04:48 +08:00
|
|
|
"version": "5.8.0",
|
2023-06-29 20:25:29 +08:00
|
|
|
"description": "Serverless Gradio",
|
|
|
|
"type": "module",
|
2023-10-20 17:37:46 +08:00
|
|
|
"main": "dist/lite.js",
|
2023-06-29 20:25:29 +08:00
|
|
|
"author": "Gradio Team",
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"files": [
|
|
|
|
"dist"
|
|
|
|
],
|
|
|
|
"scripts": {
|
2024-08-14 22:17:36 +08:00
|
|
|
"cssbuild": "python ../../scripts/generate_theme.py --outfile ./src/theme.css",
|
|
|
|
"pybuild:gradio": "cd ../../ && hatch build -t lite",
|
|
|
|
"pybuild:gradio-client": "cd ../../client/python && python -m build",
|
|
|
|
"pybuild": "run-p pybuild:*",
|
|
|
|
"build": "pnpm pybuild && pnpm cssbuild && pnpm --filter @gradio/client build && pnpm --filter @gradio/wasm build && vite build --mode production",
|
|
|
|
"build:frontend": "vite build --mode production",
|
|
|
|
"dev": "run-p dev:*",
|
|
|
|
"dev:self": "vite --port 9876 --mode development",
|
|
|
|
"dev:worker": "pnpm --filter @gradio/wasm dev",
|
2024-08-23 00:38:45 +08:00
|
|
|
"test:browser": "GRADIO_E2E_TEST_LITE=1 pnpm --filter @self/spa test:browser",
|
|
|
|
"test:browser:dev": "GRADIO_E2E_TEST_LITE=1 pnpm --filter @self/spa test:browser:dev"
|
2024-03-09 06:56:34 +08:00
|
|
|
},
|
2023-08-15 17:36:33 +08:00
|
|
|
"devDependencies": {
|
2024-08-14 22:17:36 +08:00
|
|
|
"gradio": "workspace:^",
|
|
|
|
"@gradio/atoms": "workspace:^",
|
2024-08-23 00:38:45 +08:00
|
|
|
"@self/build": "workspace:^",
|
2024-08-14 22:17:36 +08:00
|
|
|
"@gradio/core": "workspace:^",
|
2024-08-23 00:38:45 +08:00
|
|
|
"@self/spa": "workspace:^",
|
2024-08-14 22:17:36 +08:00
|
|
|
"@gradio/theme": "workspace:^",
|
|
|
|
"@gradio/wasm": "workspace:^"
|
2023-06-29 20:25:29 +08:00
|
|
|
}
|
|
|
|
}
|