Merge pull request #611 from cassieesposito/npm-watch

Added support for npm run watch
This commit is contained in:
advplyr 2022-05-20 09:31:37 -05:00 committed by GitHub
commit 3954aa1963
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,11 @@
"version": "2.0.15", "version": "2.0.15",
"description": "Self-hosted audiobook and podcast server", "description": "Self-hosted audiobook and podcast server",
"main": "index.js", "main": "index.js",
"watch": {
"dev": "server/{*,*/*}/*.js"
},
"scripts": { "scripts": {
"watch": "npm-watch",
"dev": "node index.js", "dev": "node index.js",
"start": "node index.js", "start": "node index.js",
"client": "cd client && npm install && npm run generate", "client": "cd client && npm install && npm run generate",
@ -53,5 +57,7 @@
"watcher": "^1.2.0", "watcher": "^1.2.0",
"xml2js": "^0.4.23" "xml2js": "^0.4.23"
}, },
"devDependencies": {} "devDependencies": {
} "npm-watch": "^0.11.0"
}
}