bash <(curl https://raw.githubusercontent.com/blueberryapps/js-package-template/master/create-new-package) NEW_PACKAGE_NAME
yarn install
yarn eslint
yarn eslint:fix
yarn test
On Circle CI you need to add NPM_TOKEN
which has rights to publish package to npmjs.org.
Also when you provide SLACK_TOKENS
XXX/YYY/ZZZZ
(take them as one string from url https://hooks.slack.com/services/XXX/YYY/ZZZ
)
it will let you know about new version.
When code gets to master branch, it will try to publish, so if version in package.json is different, it will push it automatically.