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
531 B
JSON
24 lines
531 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"extract": "lingui extract",
|
|
"compile": "lingui compile"
|
|
},
|
|
"dependencies": {
|
|
"@lingui/react": "^3.10.2",
|
|
"next": "latest",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.14.5",
|
|
"@lingui/cli": "^3.10.2",
|
|
"@lingui/core": "3.10.2",
|
|
"@lingui/loader": "3.10.2",
|
|
"@lingui/macro": "^3.10.2",
|
|
"babel-plugin-macros": "^3.1.0"
|
|
}
|
|
}
|