diff --git a/packages/neutrino/.gitignore b/packages/neutrino/.gitignore index 1c54072..dafdc4d 100644 --- a/packages/neutrino/.gitignore +++ b/packages/neutrino/.gitignore @@ -38,4 +38,7 @@ jspm_packages .eslintcache # Optional REPL history -.node_repl_history \ No newline at end of file +.node_repl_history + +# Webstorm project metadata +.idea diff --git a/packages/neutrino/package.json b/packages/neutrino/package.json index 88fc7d5..f76919d 100644 --- a/packages/neutrino/package.json +++ b/packages/neutrino/package.json @@ -1,6 +1,6 @@ { "name": "neutrino", - "version": "3.0.0", + "version": "3.0.1", "description": "Create and build JS applications with managed configurations", "main": "bin/neutrino", "bin": { diff --git a/packages/neutrino/src/mocha.js b/packages/neutrino/src/mocha.js index dd0d484..795cf37 100644 --- a/packages/neutrino/src/mocha.js +++ b/packages/neutrino/src/mocha.js @@ -27,7 +27,7 @@ module.exports = (config, args, done) => { argv.concat(`--${toParam(key)}`, mocha[key]); }, ['--require', require.resolve('./register')]); - proc = spawn('node_modules/.bin/mocha', args.files ? argv.concat(args.files) : argv, { + proc = spawn(require.resolve('mocha/bin/mocha'), args.files ? argv.concat(args.files) : argv, { cwd: process.cwd(), env: process.env, stdio: 'inherit' @@ -36,4 +36,4 @@ module.exports = (config, args, done) => { if (done) { proc.on('close', done); } -}; \ No newline at end of file +};