mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
7e12997af6
I wrote a [script](https://github.com/j0lv3r4/dependency-version-updater) to update dependencies recursively in `package.json` files, e.g.: ``` $ node index.js --path="./examples" --dependencies="react=^16.7.0,react-dom=^16.7.0" ``` This PR contains the result against the examples folder.
21 lines
569 B
JSON
21 lines
569 B
JSON
{
|
|
"name": "gh-pages",
|
|
"version": "1.0.0",
|
|
"scripts": {
|
|
"dev": "next",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"export": "next export",
|
|
"deploy": "rm -rf node_modules/.cache && next build && next export && touch out/.nojekyll && git add out/ && git commit -m \"Deploy Next.js to gh-pages\" && git subtree push --prefix out origin gh-pages"
|
|
},
|
|
"dependencies": {
|
|
"next": "latest",
|
|
"react": "^16.7.0",
|
|
"react-dom": "^16.7.0"
|
|
},
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"babel-plugin-transform-define": "^1.3.0"
|
|
}
|
|
}
|