Please read this guide before contributing to this project.
It is assumed that you are on a Mac/Linux machine and have Node.js.
Clone this repo to your local machine:
git clone git@github.com:stormpath/stormpath-sdk-react.git
Then install the required dependencies:
npm install
You can build this library by running (builds everything except dist):
npm run build
Build /dist
files (do this before creating a release):
npm run build-dist
Only build CommonJS-files. Do this during development:
npm run build-cjs
When releasing, remember to do the following:
- Grab the latest from remote (
$ git pull
) and resolve any merge conflicts. - Bump version in
package.json
andbrower.json
. - Rebuild dist files
$ npm run build-dist
. - Create a commit and push it to your remote.
- Create a tag for the release detailing the changes.
- Publish it to npm (
$ npm publish
).