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:
@@ -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",
|
||||||
|
|||||||
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user