064917682f
* fix(with-react-relay-network-modern): fix README.md typo error * fix(with-react-relay-network-modern): should not use store cache for create environment * fix(with-react-relay-network-modern): should not request api again * feat(with-react-relay-network-modern): add relay-hooks package * feat(with-react-relay-network-modern): use new RelayEnvironmentProvider * feat(with-react-relay-network-modern): add useQuery hook * fix(with-react-relay-network-modern): fix cache error * fix(with-react-relay-network-modern): fix server loading Co-authored-by: Luis Alvarez <luis@vercel.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
29 lines
942 B
JSON
29 lines
942 B
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": {
|
|
"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": "MIT",
|
|
"dependencies": {
|
|
"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",
|
|
"relay-hooks": "3.5.2"
|
|
},
|
|
"devDependencies": {
|
|
"babel-plugin-relay": "^9.0.0",
|
|
"graphql-cli": "^3.0.11",
|
|
"relay-compiler": "^9.0.0"
|
|
}
|
|
}
|