9fea9dbe6d
- Removed the manual `fetch` polyfill as that is handled automatically by Next.js now. - Updated dependencies, including [`graphql-react`](https://github.com/jaydenseric/graphql-react) and [`next-graphql-react`](https://github.com/jaydenseric/next-graphql-react). - Removed `next.config.js` as it’s no longer required for [`next-graphql-react`](https://github.com/jaydenseric/next-graphql-react). - Renamed the index page component from `Home` to `IndexPage`. - Tweaked the [`graphql-react`](https://github.com/jaydenseric/graphql-react) bundle size mentioned in the readme.
17 lines
342 B
JSON
17 lines
342 B
JSON
{
|
|
"name": "next-graphql-react-example",
|
|
"private": true,
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"graphql-react": "^11.0.1",
|
|
"next": "latest",
|
|
"next-graphql-react": "^8.0.0",
|
|
"react": "^16.13.1",
|
|
"react-dom": "^16.13.1"
|
|
},
|
|
"scripts": {
|
|
"dev": "next",
|
|
"build": "next build",
|
|
"start": "next start"
|
|
}
|
|
}
|