Add watch npm script for development

master
Dragory 2019-06-09 15:56:19 +03:00
parent 18f3da1247
commit 5d5d3dfdf3
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@
"main": "src/index.js", "main": "src/index.js",
"scripts": { "scripts": {
"start": "node src/index.js", "start": "node src/index.js",
"watch": "nodemon -w src src/index.js",
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"lint": "./node_modules/.bin/eslint ./src" "lint": "./node_modules/.bin/eslint ./src"
}, },