- before submitting a PR, make sure you successfully run:
npm run build
-
npm install -g gulp-cli
-
npm install -g karma-cli
-
npm install -g bower
-
npm install
-
bower install
-
npm run test_src
runsgulp jshint
andgulp test
onsrc/*.js
files -
npm run build
runs jshint, testssrc/
, buildsdist/
and builds & tests dist and minimised dist -
apt-get install chromium-browser
is recommended for the browser requirements
-
gulp jshint
runs jshint over the/src
javascript files -
gulp build
builds package in/dist
folder -
gulp watch
continuously runsgulp build
on any change of the/src
files -
gulp serve
runsgulp test
,gulp watch
andgulp build
-
gulp test
run tests on/src
files (must have {Chromium or Chrome} and Firefox installed locally) -
gulp test-dist
run tests on/dist/angular-actioncable.js
files (must have {Chromium or Chrome} and Firefox installed locally) -
gulp test-min
run tests on/dist/angular-actioncable.min.js
files (must have {Chromium or Chrome} and Firefox installed locally)
- update the changelog with the new version
npm run build
- if tests pass then commit changes & push to master
- change the version in
bower.json
andpackage.json
andREADME.md
(5 occurrences) and push a commit namedbump version
tomaster
branch - tag a new release with the new version in github (bower will use this)
- fetch upstream
- publish to npm: fetch & pull master,
npm login
,npm publish