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
24 lines
577 B
JSON
24 lines
577 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"setup": "node ./contentful/setup.js $CONTENTFUL_SPACE_ID $CONTENTFUL_MANAGEMENT_TOKEN"
|
|
},
|
|
"dependencies": {
|
|
"@contentful/rich-text-react-renderer": "14.1.1",
|
|
"classnames": "2.3.1",
|
|
"date-fns": "2.22.1",
|
|
"next": "latest",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"autoprefixer": "10.2.6",
|
|
"contentful-import": "^7.8.7",
|
|
"postcss": "8.3.5",
|
|
"tailwindcss": "^2.2.4"
|
|
},
|
|
"license": "MIT"
|
|
}
|