- Fork (https://github.com/yourname/yourproject/fork)
- Create feature branch (
git checkout -b feature/foo-bar
) - For code styling, follow this guide.
- Commit your changes (
git commit -am 'Add some foo bar'
) - Push to the branch (
git push origin feature/foo-bar
) - Create a new Pull Request
- Use node-minifier: https://www.npmjs.com/package/minifier
- Install minifier:
npm install -g minifier
And minify, npm run minify
or minify --output dist/validator.js src/validator.js
- Get yourself added as a collaborator.
- Increment the build version/project version in package.json
Run, npm publish