55560e0c58
Converted auth0 example over to TypeScript to match the Contribution guidelines, and got rid of the `tslib` dependency. Note: You must copy `.env.local.example` to `.env.local`, or you will encounter "TypeError: "secret" is required" at build time. ## Documentation / Examples - [X] Make sure the linting passes by running `pnpm lint` - [X] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples) Co-authored-by: Balázs Orbán <18369201+balazsorban44@users.noreply.github.com>
20 lines
401 B
JSON
20 lines
401 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next",
|
|
"build": "next build",
|
|
"start": "next start"
|
|
},
|
|
"dependencies": {
|
|
"@auth0/nextjs-auth0": "^1.9.1",
|
|
"next": "latest",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^18.0.0",
|
|
"@types/react": "^18.0.14",
|
|
"@types/react-dom": "^18.0.5",
|
|
"typescript": "^4.7.4"
|
|
}
|
|
}
|