[dev] Add npm run watch command for development

This commit is contained in:
Fabien Quatravaux 2020-04-12 11:10:50 +02:00
parent 8f97d6326c
commit 5b1dca21c2

View file

@ -4,6 +4,7 @@
"description": "An HTML5 Mumble client.", "description": "An HTML5 Mumble client.",
"scripts": { "scripts": {
"build": "webpack && [ -f dist/config.local.js ] || cp app/config.local.js dist/", "build": "webpack && [ -f dist/config.local.js ] || cp app/config.local.js dist/",
"watch": "webpack --watch",
"prepare": "rm -rf dist && npm run build", "prepare": "rm -rf dist && npm run build",
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"postinstall": "patch-package" "postinstall": "patch-package"