2af441cfb7
Converted `with-react-hook-form` example to TypeScript as it is pointed out in the contributing docs that examples should be converted to TS. - updated dependencies - fixed/added types where necessary ## 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
402 B
JSON
20 lines
402 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start"
|
|
},
|
|
"dependencies": {
|
|
"next": "latest",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-hook-form": "^7.33.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^18.0.6",
|
|
"@types/react": "^18.0.15",
|
|
"@types/react-dom": "^18.0.6",
|
|
"typescript": "^4.7.4"
|
|
}
|
|
}
|