Support CI and automation scripts
Now you can call npm-consider install
and get stats for a local package in the current directory.
Additionally you can provide limits in your package.json
"config": {
"maxPackagesNumber": 100,
"maxSizeBites": 840400,
"allowedLicenseTypes": [
"permissive",
"publicDomain",
"uncategorized"
]
}
and call npm-consider install --test
in your automation scripts. If all limits are satisfied command will exit with code=0
; otherwise code=1
.