Skip to content

blueberryapps/js-package-template

Repository files navigation

XXX Dependency Status

Create new package

bash <(curl https://raw.githubusercontent.com/blueberryapps/js-package-template/master/create-new-package) NEW_PACKAGE_NAME

Development

yarn install
yarn eslint
yarn eslint:fix
yarn test

CI and autopublish

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.

Made with love by