mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-06 04:45:23 +02:00
Merge prod.js into index.js
This commit is contained in:
+4
-4
@@ -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"
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user