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 run build:test
: Do this once to build the test harness for the testsnpm test
: Run the unit testsnpm run test:watch
: Run the unit tests and watch for changesnpm run install:examples
: Install the examples- Setup the examples https://github.com/auth0/nextjs-auth0/tree/main/examples
npm run start:basic
: Run the basic examplenpm run start:kitchen-sink
: Run the kitchen sink examplenpm run test:kitchen-sink
: Run the E2E tests (you will need to populate theCYPRESS_USER_EMAIL
andCYPRESS_USER_PASSWORD
env vars)npm run test:kitchen-sink:watch
: Run the E2E tests and watch for changes