5dd4999b64
Strategized with @balazsorban44 to open one larger PR, with changes to individual examples as separate commits. For each example, I researched how multiple realworld codebases use the featured technology with TypeScript, to thoughtfully convert them by hand - nothing automated whatsoever. ## 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/examples/adding-examples.md)
22 lines
519 B
JSON
22 lines
519 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"export": "cross-env NEXT_EXPORT=true next build && cross-env NEXT_EXPORT=true next export"
|
|
},
|
|
"dependencies": {
|
|
"next": "latest",
|
|
"next-offline": "^5.0.5",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^18.11.5",
|
|
"@types/react": "^18.0.23",
|
|
"@types/react-dom": "^18.0.7",
|
|
"cross-env": "^7.0.3",
|
|
"typescript": "^4.8.4"
|
|
}
|
|
}
|