gradio/js/wasm/package.json
Yuichiro Tachibana (Tsuchiya) cb96d657b4
Lite: refactoring the dev script (#4753)
* Rename the 'start' npm command to 'dev' for in-project consistency

* Fix the 'dev:lite' npm command to launch the dev command of @gradio/wasm as well

---------

Co-authored-by: pngwn <hello@pngwn.io>
2023-07-04 15:35:58 +01:00

31 lines
729 B
JSON

{
"name": "@gradio/wasm",
"version": "0.0.1",
"description": "Gradio Wasm package",
"type": "module",
"main": "./dist/index.js",
"exports": {
".": "./dist/index.js",
"./package.json": "./package.json"
},
"private": true,
"keywords": [],
"author": "",
"license": "ISC",
"scripts": {
"dev:client": "tsc -w --incremental",
"dev:worker": "vite build --config vite.worker.config.js --watch --emptyOutDir=false",
"dev": "run-p dev:*",
"build:client": "tsc",
"build:worker": "vite build --config vite.worker.config.js",
"build": "run-s build:worker build:client"
},
"devDependencies": {
"pyodide": "^0.23.2"
},
"dependencies": {
"@types/path-browserify": "^1.0.0",
"path-browserify": "^1.0.1"
}
}