Reputation: 28463
With a package.json file like:
{
"scripts": {
"hello": "touch hello && echo hello"
}
}
Running npm run hello
creates no file and outputs nothing to stdout. I was expecting both to happen.
npm -v # 4.4.0
Upvotes: 5
Views: 10689
Reputation: 28463
ignore-scripts=true
was set in .npmrc
https://github.com/npm/npm/issues/10675
Upvotes: 18