-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
29 lines (29 loc) · 1.17 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"name": "stefano-perfili",
"version": "0.0.1",
"private": true,
"scripts": {
"dev": "next dev -p 3500",
"build": "next build",
"start": "next start",
"gen:schema": "npx apollo schema:download src/generated/graphql-schema.json",
"gen:types": "npx apollo codegen:generate src/generated/graphql-types.ts --localSchemaFile=src/generated/graphql-schema.json --outputFlat --target=typescript --includes=\"src/**/*.{js,jsx,ts,tsx}\" --excludes=\"src/generated/*\" --tagName=gql",
"gen:types-watch": "npx apollo codegen:generate src/generated/graphql-types.ts --localSchemaFile=src/generated/graphql-schema.json --outputFlat --target=typescript --includes=\"src/**/*.{js,jsx,ts,tsx}\" --excludes=\"src/generated/*\" --tagName=gql --watch",
"gen": "yarn gen:schema && yarn gen:types",
"gen:watch": "yarn gen:schema && yarn gen:types-watch"
},
"dependencies": {
"@apollo/client": "^3.3.20",
"dotenv": "^10.0.0",
"graphql": "^15.5.0",
"next": "10.2.3",
"react": "17.0.2",
"react-dom": "17.0.2"
},
"devDependencies": {
"@types/graphql": "^14.5.0",
"@types/react": "^17.0.9",
"apollo": "^2.33.4",
"typescript": "^4.3.2"
}
}