Skip to content

Latest commit

 

History

History
58 lines (43 loc) · 1.17 KB

Development.md

File metadata and controls

58 lines (43 loc) · 1.17 KB

Docs ▸ Introduction | Development | Demo   ////   API Reference ▸ Force | Node | Renderer

One-time setup

  1. Install these command line tools:
  1. Load development tool and javascript dependencies:
npm install
bower install

Normal workflow

  • 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

Releasing

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