mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-01-20 09:59:39 +00:00
Merge prod.js into index.js
This commit is contained in:
parent
0eed38b771
commit
d410b13c9b
5 changed files with 36 additions and 44 deletions
|
|
@ -5,10 +5,10 @@
|
|||
"description": "Self-hosted audiobook and podcast server",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"dev": "nodemon --watch server index.js",
|
||||
"dev": "nodemon --watch server index.js -- --dev",
|
||||
"start": "node index.js",
|
||||
"client": "cd client && npm ci && npm run generate",
|
||||
"prod": "npm run client && npm ci && node prod.js",
|
||||
"prod": "npm run client && npm ci && node index.js",
|
||||
"build-win": "npm run client && pkg -t node20-win-x64 -o ./dist/win/audiobookshelf -C GZip .",
|
||||
"build-linux": "build/linuxpackager",
|
||||
"docker": "docker buildx build --platform linux/amd64,linux/arm64 --push . -t advplyr/audiobookshelf",
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
"test": "mocha",
|
||||
"coverage": "nyc mocha"
|
||||
},
|
||||
"bin": "prod.js",
|
||||
"bin": "index.js",
|
||||
"pkg": {
|
||||
"assets": [
|
||||
"client/dist/**/*",
|
||||
|
|
@ -26,7 +26,7 @@
|
|||
"server/migrations/*.js"
|
||||
],
|
||||
"scripts": [
|
||||
"prod.js",
|
||||
"index.js",
|
||||
"server/**/*.js"
|
||||
]
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue