18dc1f66c6
Since 9.4 release, fetch is pollyfilled by default from #12353, so the import is not needed anymore.
32 lines
1 KiB
JSON
32 lines
1 KiB
JSON
{
|
|
"name": "with-react-relay-network-modern",
|
|
"version": "3.0.3",
|
|
"description": "Example of Next.js with Relay Modern and react-relay-network-modern",
|
|
"scripts": {
|
|
"graphcool-init": "graphcool init --schema schema/init-schema.graphql",
|
|
"dev": "next",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"relay": "relay-compiler --src ./ --exclude '**/.next/**' '**/node_modules/**' '**/test/**' '**/__generated__/**' --exclude '**/schema/**' --schema ./schema/schema.graphql --artifactDirectory __generated__",
|
|
"schema": "graphql get-schema -e dev"
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"dotenv": "^8.0.0",
|
|
"dotenv-webpack": "^1.5.4",
|
|
"graphql": "^14.6.0",
|
|
"next": "latest",
|
|
"react": "^16.13.0",
|
|
"react-dom": "^16.13.0",
|
|
"react-relay": "^9.0.0",
|
|
"react-relay-network-modern": "^4.5.0",
|
|
"react-relay-network-modern-ssr": "^1.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"babel-plugin-relay": "^9.0.0",
|
|
"graphcool": "^1.2.1",
|
|
"graphql-cli": "^3.0.11",
|
|
"relay-compiler": "^9.0.0"
|
|
}
|
|
}
|