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 run build
: Build the binarynpm test
: Run the unit testsnpm run test:watch
: Run the unit tests and watch for changesnpm run install:example
: Install the examples- Setup the examples https://github.com/auth0/nextjs-auth0/tree/main/example-app
npm run start:example
: Run the examplenpm run test:example
: Run the E2E tests (you will need to populate theCYPRESS_USER_EMAIL
andCYPRESS_USER_PASSWORD
env vars)npm run test:example:watch
: Run the E2E tests and watch for changes
start:example-local
: Run the example app with a mock openid providertest:example-local
: Run the E2E tests with a mock openid providertest:example-local:watch
: Run the E2E tests with a mock openid provider and watch for changes