{
...
"build": "webpack",
...
"test": "npm run build && mocha "test/unit/**/*.js" --compilers js:babel-core/register"
}
Flamebird transpile command "npm run build" to "node_modules\.bin\webpack.cmd build" and it is not valid
One of cases to solve it - it is to disable transpiling scripts feature
Command "npm run build ..."
In some project I have scripts in package.json