mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-01-02 17:19:36 +00:00
Debian package builder
This commit is contained in:
parent
4de3ffac63
commit
0d33ed98d9
7 changed files with 143 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "audiobookshelf",
|
||||
"version": "1.2.1",
|
||||
"description": "Self-hosted audiobook server for managing and playing audiobooks.",
|
||||
"description": "Self-hosted audiobook server for managing and playing audiobooks",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"dev": "node index.js",
|
||||
|
|
@ -9,12 +9,12 @@
|
|||
"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 --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-client": "cd client && rm -rf node_modules && npm ci --unsafe-perm=true --allow-root && npm run generate",
|
||||
"build-server": "rm -rf node_modules && npm ci --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 .",
|
||||
"build-linux": "npm run build-prep && pkg -t node12-linux-x64 -o ./dist/linux/audiobookshelf ."
|
||||
"build-linux": "npm run build-prep && pkg -t node12-linux-x64 -o dist/linux/audiobookshelf . && cp dist/linux/audiobookshelf build/debian/usr/share/"
|
||||
},
|
||||
"bin": "prod.js",
|
||||
"pkg": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue