f52955ec94
Clean up package.json files in the `examples` directory: - Add `private: true` - Remove `version` (because they are irrelevant for packages that are not meant to be published) - Remove `name` (because they are optional for packages that are not meant to be published, and when someone clones an example, they often rename it and the property becomes stale) - Remove `author` - Remove `description` - Remove `license` Also remove `with-dynamic-app-layout` example completely, since it does the same as `layout-component` (https://github.com/vercel/next.js/pull/27121#discussion_r668178408). ## Documentation / Examples - [x] Make sure the linting passes
19 lines
445 B
JSON
19 lines
445 B
JSON
{
|
|
"private": true,
|
|
"dependencies": {
|
|
"express": "^4.15.3",
|
|
"next": "latest",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"swr": "0.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"cross-env": "^5.0.1",
|
|
"http-proxy-middleware": "^1.0.4"
|
|
},
|
|
"scripts": {
|
|
"dev": "cross-env NODE_ENV=development PORT=3000 node server.js",
|
|
"build": "next build",
|
|
"prod": "cross-env NODE_ENV=production PORT=3000 node server.js"
|
|
}
|
|
}
|