Added nodemon to watch for changed and reload with tests for "npm run dev"

This commit is contained in:
Joe-Dowd
2020-04-03 22:25:11 +01:00
parent cc0bfef0ad
commit 2f9f4c2bc0
2 changed files with 643 additions and 1 deletions

View File

@@ -5,6 +5,7 @@
"main": "index.js",
"scripts": {
"test": "node test.js",
"dev" : "nodemon -x 'npm test ; npm start'",
"start": "node index.js"
},
"author": "Ajay Ramachandran",
@@ -17,6 +18,7 @@
"youtube-api": "^2.0.10"
},
"devDependencies": {
"mocha": "^7.1.1"
"mocha": "^7.1.1",
"nodemon": "^2.0.2"
}
}