0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-13 00:03:15 +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", "prod": "set NODE_ENV=production&& npm run build",
"postinstall": "npm run build", "postinstall": "npm run build",
"start": "node server.js", "start": "node server.js",
"test": "mocha test" "test": "mocha test",
"test:dev": "nodemon -x mocha test || exit 0"
}, },
"author": "stolksdorf", "author": "stolksdorf",
"license": "MIT", "license": "MIT",

View File

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