feat(dev): change default npm dev script to device mode and add wrapper script to set environment variable and proxy signal api (#157)

This commit is contained in:
Adam Shiervani
2025-02-17 16:29:42 +01:00
committed by GitHub
parent f3b4dbce49
commit 1973a65635
2 changed files with 23 additions and 2 deletions

View File

@@ -7,10 +7,10 @@
"node": "21.1.0"
},
"scripts": {
"dev": "vite dev --mode=development",
"dev": "./dev_device.sh",
"dev:cloud": "vite dev --mode=development",
"build": "npm run build:prod",
"build:device": "tsc && vite build --mode=device --emptyOutDir",
"dev:device": "vite dev --mode=device",
"build:prod": "tsc && vite build --mode=production",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0"
},