package-json-validator-cli
v0.1.11
Published
CLI to validate package.json files. π
Readme
Usage
Run this package as a terminal command to validate a package.json file:
npx package-json-validator-cliSee package-json-validator-cli --help for usage:
Options:
--help Show help [boolean]
--version Show version number [boolean]
-f, --filename package.json file to validate [default: "package.json"]
-w, --warnings display warnings [boolean] [default: false]
-r, --recommendations display recommendations [boolean] [default: false]
-q, --quiet less output [boolean] [default: false]package-json-validator-cli is a thin wrapper around package-json-validator.
- To keep your
package.jsonvalidated over time, seeeslint-plugin-package-json. - To programmatically validate your
package.json, seepackage-json-validator.
Example
You might want to use this as a standalone script in your package.json:
// package.json
{
"scripts": {
"lint:package": "package-json-validator-cli",
},
}Development
See .github/CONTRIBUTING.md, then .github/DEVELOPMENT.md.
Thanks! π
Contributors
π This package was templated with
create-typescript-appusing the Bingo framework.
