mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-01-05 02:29:37 +00:00
Pkg scripts win/linux
This commit is contained in:
parent
b23f9362ef
commit
31e109d0f0
12 changed files with 235 additions and 34 deletions
12
package.json
12
package.json
|
|
@ -7,7 +7,17 @@
|
|||
"dev": "node index.js",
|
||||
"start": "node index.js",
|
||||
"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",
|
||||
"build-win": "cd client && npm run generate && cd .. && pkg -t node12-win-x64 -o ./dist/app .",
|
||||
"build-linux": "pkg -t node12-linux-arm64 -o ./dist/app ."
|
||||
},
|
||||
"bin": "prod.js",
|
||||
"pkg": {
|
||||
"assets": "client/dist/**/*",
|
||||
"scripts": [
|
||||
"prod.js",
|
||||
"server/**/*.js"
|
||||
]
|
||||
},
|
||||
"author": "advplyr",
|
||||
"license": "ISC",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue