1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-13 14:35:55 +00:00

added nodemon'd test npm task

This commit is contained in:
Scott Tolksdorf
2017-01-05 20:58:19 -05:00
parent 3dc4c13178
commit 5820564894
2 changed files with 3 additions and 1 deletions

View File

@@ -10,7 +10,8 @@
"prod": "set NODE_ENV=production&& npm run build",
"postinstall": "npm run build",
"start": "node server.js",
"test": "mocha test"
"test": "mocha test",
"test:dev": "nodemon -x mocha test || exit 0"
},
"author": "stolksdorf",
"license": "MIT",

View File

@@ -1,5 +1,6 @@
require('app-module-path').addPath('./server');
// initialize config
const config = require('nconf')
.argv()