refactor: more comprehensive dev and prod env isolation and build process
This commit is contained in:
1 parent
5a14f4161f
commit
0815c2f07f
18 files changed
+62
-3995
No files matched your search
+4
-4
@@ -4,9 +4,9 @@
|
||||
"type": "module",
|
||||
"version": "4.0.3",
|
||||
"scripts": {
|
||||
"build:framework": "vite build --mode framework",
|
||||
"build:shell": "vite build --mode shell",
|
||||
"build:webui": "cd ./src/webui && vite build",
|
||||
"build:framework": "npm run build:webui && vite build --mode framework",
|
||||
"build:shell": "npm run build:webui && vite build --mode shell",
|
||||
"build:webui": "cd napcat.webui && vite build",
|
||||
"lint": "eslint --fix src/**/*.{js,ts}",
|
||||
"depend": "cd dist && npm install --omit=dev"
|
||||
},
|
||||
@@ -53,4 +53,4 @@
|
||||
"qrcode-terminal": "^0.12.0",
|
||||
"fluent-ffmpeg": "^2.1.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user