Docs ▸ Introduction | Development | Demo //// API Reference ▸ Force | Node | Renderer
- Install these command line tools:
- bower -- http://bower.io/
- node.js -- http://nodejs.org/
- Load development tool and javascript dependencies:
npm install
bower install
- Run gulp to automatically build the distribution when one of the source files has changed. It also starts a server for the examples.
gulp
- Unit test
npm test # Run once
npm run tdd # Run, watch for file changes and re-run the tests automatically.
- Build library once (will create files in the dist folder)
gulp build
Use one of these commands to build, bump version and publish to both npm and bower. Don't for get to gulp build
first
# Choose from one of these
npm version patch # will add version by 0.0.1
npm version minor # will add version by 0.1
npm version major # will add version by 1
# Check package version and size.
# If everything looks good, then publish
npm publish