audiobookshelf/package.json
2022-08-06 17:05:23 -05:00

40 lines
1.4 KiB
JSON

{
"name": "audiobookshelf",
"version": "2.1.2",
"description": "Self-hosted audiobook and podcast server",
"main": "index.js",
"scripts": {
"dev": "node index.js",
"start": "node index.js",
"client": "cd client && npm ci && npm run generate",
"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",
"docker": "docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 --push . -t advplyr/audiobookshelf",
"docker-amd64-local": "docker buildx build --platform linux/amd64 --load . -t advplyr/audiobookshelf-amd64-local",
"docker-arm64-local": "docker buildx build --platform linux/arm64 --load . -t advplyr/audiobookshelf-arm64-local",
"docker-armv7-local": "docker buildx build --platform linux/arm/v7 --load . -t advplyr/audiobookshelf-armv7-local",
"deploy": "node dist/autodeploy"
},
"bin": "prod.js",
"pkg": {
"assets": [
"client/dist/**/*",
"server/Db.js"
],
"scripts": [
"prod.js",
"server/**/*.js"
]
},
"author": "advplyr",
"license": "GPL-3.0",
"dependencies": {
"axios": "^0.26.1",
"express": "^4.17.1",
"graceful-fs": "^4.2.10",
"htmlparser2": "^8.0.1",
"socket.io": "^4.4.1",
"xml2js": "^0.4.23"
}
}