build script permissions workaround

This commit is contained in:
advplyr 2021-09-24 17:38:35 -05:00
parent be6da8dad9
commit 4de3ffac63

View File

@ -9,8 +9,8 @@
"client": "cd client && npm install && npm run generate-client",
"generate-client": "cd client && npm run generate",
"prod": "npm run client && npm install && node prod.js",
"build-client": "cd client && rm -rf node_modules && npm i && npm run generate",
"build-server": "rm -rf node_modules && npm i && npm i ffmpeg-static",
"build-client": "cd client && rm -rf node_modules && npm i --unsafe-perm=true --allow-root && npm run generate",
"build-server": "rm -rf node_modules && npm i --unsafe-perm=true --allow-root && npm i ffmpeg-static --unsafe-perm=true --allow-root",
"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 .",