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": {
"dev": "nodemon --watch server 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",
"build-win": "npm run client && pkg -t node16-win-x64 -o ./dist/win/audiobookshelf -C GZip .",
"build-linux": "build/linuxpackager",
@ -24,6 +24,7 @@
"client/nuxt.config.js",
"client/package.json",
"client/modules/**/*",
"client/static/**/*",
"server/Db.js"
],
"scripts": [
@ -45,4 +46,4 @@
"devDependencies": {
"nodemon": "^2.0.20"
}
}
}