mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-20 19:06:06 +01:00
Build scripts
This commit is contained in:
parent
b35997e8be
commit
5e15695f64
@ -9,9 +9,12 @@
|
|||||||
"client": "cd client && npm install && npm run generate",
|
"client": "cd client && npm install && npm run generate",
|
||||||
"prod": "npm run client && npm install && node prod.js",
|
"prod": "npm run client && npm install && node prod.js",
|
||||||
"generate": "cd client && npm run generate",
|
"generate": "cd client && npm run generate",
|
||||||
"build-win": "pkg -t node12-win-x64 -o ./dist/win/audiobookshelf .",
|
"build-client": "cd client && rm -rf node_modules && npm i && npm run generate",
|
||||||
"build-linuxarm": "pkg -t node12-linux-arm64 -o ./dist/linuxarm/audiobookshelf .",
|
"build-server": "rm -rf node_modules && npm i && npm i ffmpeg-static",
|
||||||
"build-linuxamd": "pkg -t node12-linux-amd64 -o ./dist/linuxamd/audiobookshelf ."
|
"build-prep": "npm run build-client && npm run build-server",
|
||||||
|
"build-win": "npm run build-prep && pkg -t node12-win-x64 -o ./dist/win/audiobookshelf .",
|
||||||
|
"build-linuxarm": "npm run build-prep && pkg -t node12-linux-arm64 -o ./dist/linuxarm/audiobookshelf .",
|
||||||
|
"build-linux": "npm run build-prep && pkg -t node12-linux-x64 -o ./dist/linux/audiobookshelf ."
|
||||||
},
|
},
|
||||||
"bin": "prod.js",
|
"bin": "prod.js",
|
||||||
"pkg": {
|
"pkg": {
|
||||||
|
Loading…
Reference in New Issue
Block a user