mozu-validate-npm-package
v1.2.1
Published
node utility to validate that an npm package conforms to mozu style
Readme
Mozu NPM Package Validator
Meant for internal use, to validate and confirm that an NPM package conforms to Mozu spec.
This includes:
(tbd)
Usage:
Install globally for convenience:
npm install -g mozu-validate-npm-packageAnd then call directly from the command line in a package directory:
~/package-in-development/ $ mozu-validate-npm-packageBut the package itself requires that it be used as part of an npm script, so instead of running it directly, add it like this to your package:
~/package-in-development/ $ npm install --save-dev mozu-validate-npm-packageAnd then make sure that you run it in your prepublish step, or after a stable build, by adding this to the scripts in package.json:
"postci-build-stable": "mozu-validate-npm-package",
"prepublish": "npm run ci-build-stable"