This components follows the same contribution model used by Mojito, you can review the Contributing-Code-to-Mojito file for more details.
Please be sure to sign our CLA before you submit pull requests or otherwise contribute to express-view
. This protects express-view
developers, who rely on express-view's BSD license.
- The main source files are located under
lib/
. - Unit tests are located under
tests/units/*
. - Examples are located under
examples/
.
To install the dependencies:
npm install
To run the unit tests (with coverage by default):
npm test
To lint the app lib folder:
npm run lint
- verify that HISTORY.md is updated
- verify that README.md is updated
- bump the version in package.json
- commit to master
- push to npm using
npm publish
- create a new release entry including the tag for the new version, being sure to document any deprecations
If is also important to verify that whatever we pushed to npm is working as expected, to do that, do this:
rm -rf build node_modules
npm install
cd examples
node app.js
then navigate to http://localhost:3000/baz or the other routes to do some sanity checks on the release.