mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
c486682b44
* Fix with-relay-modern example Starting with react-relay 1.5.0 the schema canno't be in the same dir as the src. This can be fixed by excluding the schema dir. Globs should also be inside quotation marks, to avoid non-deterministic behavior of different shells. * Add missing key on BlogPosts
31 lines
916 B
JSON
31 lines
916 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",
|
|
"isomorphic-unfetch": "^2.0.0",
|
|
"next": "latest",
|
|
"react": "^16.2.0",
|
|
"react-dom": "^16.2.0",
|
|
"react-relay": "^1.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"babel-plugin-relay": "^1.4.1",
|
|
"graphcool": "^1.2.1",
|
|
"graphql-cli": "^1.0.0-beta.4",
|
|
"relay-compiler": "^1.5.0"
|
|
}
|
|
}
|