mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
968475fb95
Update examples with-relay-modern and with-relay-modern-server-express to react-relay 2.0.0 - react-relay has started to use new Context API instead of Legacy Context API - add `parseInt` because graphql 14.0.0 introduced stricter scalar value coercion Closes #6157
32 lines
943 B
JSON
32 lines
943 B
JSON
{
|
|
"name": "with-relay-modern",
|
|
"version": "3.0.3",
|
|
"description": "Example of Next.js with Relay Modern SSR",
|
|
"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",
|
|
"schema": "graphql get-schema dev"
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"dotenv": "^4.0.0",
|
|
"dotenv-webpack": "^1.5.4",
|
|
"graphql": "^14.1.1",
|
|
"isomorphic-unfetch": "^3.0.0",
|
|
"next": "latest",
|
|
"react": "^16.7.0",
|
|
"react-dom": "^16.7.0",
|
|
"react-relay": "^2.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"babel-plugin-relay": "^2.0.0",
|
|
"graphcool": "^1.2.1",
|
|
"graphql-cli": "^1.0.0-beta.4",
|
|
"relay-compiler": "^2.0.0"
|
|
}
|
|
}
|