1.0.2 • Published 6 years ago
contrib-npm-enforce-git-policy v1.0.2
NPM module to enforce git policies
To use the module and enforce the corresponding git policies follow the next steps:
Install dev dependency
npm install --save-dev contrib-npm-enforce-git-policy@^1.0.0
Introduce pre-built script
"scripts": {
"prebuild": "./node_modules/contrib-npm-enforce-git-policy/install.sh ./.git",
where ./.git
is the relative path to the git folder
Done
We are all set up. Now if we run npm run build
the git policies are configured