1.2.1 • Published 8 years ago

mozu-validate-npm-package v1.2.1

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

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-package

And then call directly from the command line in a package directory:

~/package-in-development/ $ mozu-validate-npm-package

But 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-package

And 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"