require-scripts
Enabling this rule will result in an error being generated if scripts
is missing from the package.json file.
Example .npmpackagejsonlintrc configuration
{
"rules": {
"require-scripts": "error"
}
}
Rule Details
Incorrect example(s)
{
}
Correct example(s)
{
"scripts": {
"install": "bower install"
}
}
History
- Introduced in version 1.0.0