# 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:
```sh
npm install -g mozu-validate-npm-package
```

And then call directly from the command line in a package directory:
```sh
~/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:

```sh
~/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"
```


