Add static dir to pkg

This commit is contained in:
advplyr 2023-05-02 17:28:47 -05:00
parent 6d7c33e9ac
commit 98c117f0b8

View file

@ -6,7 +6,7 @@
"scripts": { "scripts": {
"dev": "nodemon --watch server index.js", "dev": "nodemon --watch server index.js",
"start": "node index.js", "start": "node index.js",
"client": "cd client && npm ci && npm run generate", "client": "cd client && npm ci && npm run build",
"prod": "npm run client && npm ci && node prod.js", "prod": "npm run client && npm ci && node prod.js",
"build-win": "npm run client && pkg -t node16-win-x64 -o ./dist/win/audiobookshelf -C GZip .", "build-win": "npm run client && pkg -t node16-win-x64 -o ./dist/win/audiobookshelf -C GZip .",
"build-linux": "build/linuxpackager", "build-linux": "build/linuxpackager",
@ -24,6 +24,7 @@
"client/nuxt.config.js", "client/nuxt.config.js",
"client/package.json", "client/package.json",
"client/modules/**/*", "client/modules/**/*",
"client/static/**/*",
"server/Db.js" "server/Db.js"
], ],
"scripts": [ "scripts": [