- 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_srcrunsgulp jshintandgulp testonsrc/*.jsfiles -
npm run buildruns jshint, testssrc/, buildsdist/and builds & tests dist and minimised dist -
apt-get install chromium-browseris recommended for the browser requirements
-
gulp jshintruns jshint over the/srcjavascript files -
gulp buildbuilds package in/distfolder -
gulp watchcontinuously runsgulp buildon any change of the/srcfiles -
gulp serverunsgulp test,gulp watchandgulp build -
gulp testrun tests on/srcfiles (must have {Chromium or Chrome} and Firefox installed locally) -
gulp test-distrun tests on/dist/angular-actioncable.jsfiles (must have {Chromium or Chrome} and Firefox installed locally) -
gulp test-minrun tests on/dist/angular-actioncable.min.jsfiles (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.jsonandpackage.jsonandREADME.md(5 occurrences) and push a commit namedbump versiontomasterbranch - 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