-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
55 lines (55 loc) · 1.62 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"name": "nextjs-prismic-graphql",
"version": "1.0.0",
"main": "index.js",
"repository": "https://github.com/jvelo/nextjs-prismic-graphql",
"author": "Jérôme Velociter",
"license": "MIT",
"private": false,
"scripts": {
"get-schema": "node scripts/get-schema.js",
"codegen": "graphql-codegen",
"update": "yarn get-schema && yarn codegen",
"dev": "yarn codegen && next",
"build": "yarn update && next build",
"start": "next start",
"validate-typescript": "tsc --noEmit"
},
"dependencies": {
"@apollo/react-common": "^3.1.3",
"@apollo/react-components": "^3.1.3",
"@apollo/react-hooks": "^3.1.3",
"@apollo/react-ssr": "^3.1.3",
"@tanem/react-nprogress": "^3.0.12",
"apollo-cache-inmemory": "^1.6.5",
"apollo-client": "^2.6.8",
"apollo-link-http": "^1.5.16",
"isomorphic-unfetch": "^3.0.0",
"next": "^9.2.0",
"prismic-javascript": "^2.1.5",
"prismic-reactjs": "^1.2.0",
"react": "^16.12.0",
"react-dom": "^16.12.0"
},
"devDependencies": {
"@babel/core": "^7.8.3",
"@graphql-codegen/cli": "^1.11.2",
"@graphql-codegen/fragment-matcher": "^1.11.2",
"@graphql-codegen/typescript": "^1.11.2",
"@graphql-codegen/typescript-operations": "^1.11.2",
"@types/node": "^13.1.8",
"@types/react": "^16.9.17",
"babel-loader": "^8.0.6",
"babel-plugin-import-graphql": "^2.7.0",
"dotenv": "^8.2.0",
"husky": "^4.0.10",
"prettier": "^1.19.1",
"pretty-quick": "^2.0.1",
"typescript": "^3.7.5"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged && yarn run validate-typescript"
}
}
}