0f4333a5a3
Converted Blog example over to TypeScript to match the Contribution guidelines. I also simplified the example by removing `_document.js` and prettier from `package.json`. ## 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)
23 lines
516 B
JSON
23 lines
516 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next",
|
|
"build": "node ./scripts/gen-rss.js && next build",
|
|
"start": "next start"
|
|
},
|
|
"dependencies": {
|
|
"gray-matter": "^4.0.3",
|
|
"next": "latest",
|
|
"nextra": "^2.0.0-beta.5",
|
|
"nextra-theme-blog": "^2.0.0-beta.5",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"rss": "^1.2.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^18.0.0",
|
|
"@types/react": "^18.0.14",
|
|
"@types/react-dom": "^18.0.5",
|
|
"typescript": "^4.7.4"
|
|
}
|
|
}
|