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
31 lines
815 B
JSON
31 lines
815 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"type-check": "tsc",
|
|
"storybook": "start-storybook -p 6006 --no-dll",
|
|
"build-storybook": "build-storybook --no-dll"
|
|
},
|
|
"dependencies": {
|
|
"next": "^10.0.0",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.12.3",
|
|
"@storybook/addon-actions": "^6.1.11",
|
|
"@storybook/addon-essentials": "^6.1.11",
|
|
"@storybook/addon-links": "^6.1.11",
|
|
"@storybook/react": "^6.1.11",
|
|
"@types/node": "^14.14.2",
|
|
"@types/react": "^16.9.53",
|
|
"@types/react-dom": "^16.9.8",
|
|
"babel-loader": "^8.1.0",
|
|
"react-is": "^17.0.1",
|
|
"typescript": "^4.0.3",
|
|
"sass": "^1.32.4",
|
|
"@styled-jsx/plugin-sass": "^3.0.0"
|
|
}
|
|
}
|