Please read Auth0's contribution guidelines.
- Make sure you have node and npm installed
- Run
npm install
to install dependencies - Follow the local development steps below to get started
npm install
: install dependenciesnpm start
: starts development http server at http://localhost:3000 with live reload enablednpm run test
: run unit testsnpm run test:watch
: run unit tests continuouslynpm run test:integration
: run integration testsnpm run test:watch:integration
: run integration tests continuouslynpm run build
: build distribution filesnpm run test:es-check
: check if distribution files are compatible with browsersnpm run print-bundle-size
: print the final bundle size of distribution files
- Unit tests go inside __tests__
- Integration tests go inside cypress/integration
Run unit and integration tests before opening a PR:
npm run test
npm run test:integration
Also include any information about essential manual tests.