Added tasks for npm in order to run unit test in watch mode

This commit is contained in:
Daniel García Aubert 2016-05-06 18:15:22 +02:00
parent c2a4036fe4
commit d859311da2

View File

@ -45,7 +45,9 @@
"sqlite3": "~3.0.8"
},
"scripts": {
"test": "make test-all"
"test": "make test-all" ,
"test:unit": "mocha test/unit/**/*.js",
"test:unit:watch": "npm run test:unit -- -w"
},
"engines": {
"node": ">=0.8 <0.11",