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:
@@ -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",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
require('app-module-path').addPath('./server');
|
||||
|
||||
|
||||
// initialize config
|
||||
const config = require('nconf')
|
||||
.argv()
|
||||
|
||||
Reference in New Issue
Block a user