npm scripts accepts parameters
Given:
package.json
:
{
"scripts": {
"test": "bundle rspec"
}
}
You can:
npm test spec/model/Post.rb
Given:
package.json
:
{
"scripts": {
"test": "bundle rspec"
}
}
You can:
npm test spec/model/Post.rb