mirror of
https://github.com/luckfox-eng29/kvm.git
synced 2026-01-18 03:28:19 +01:00
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:
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user