-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
77 lines (77 loc) · 2.42 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "nextjs-graphql-ts-codegen-boilerplate",
"author": "@renyuanz",
"license": "MIT",
"version": "1.0.0",
"scripts": {
"codegen": "graphql-codegen --config codegen.yml",
"dev": "concurrently \"next\" \"yarn codegen --watch\"",
"build": "yarn codegen && next build",
"start": "next start",
"type-check": "tsc --pretty --noEmit",
"format": "prettier --write \"**/*.{js,ts,tsx}\"",
"lint": "eslint . --ext ts --ext tsx --ext js",
"test": "jest",
"test-all": "yarn lint && yarn type-check && yarn test"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn run type-check"
}
},
"lint-staged": {
"*.@(ts|tsx)": [
"yarn lint",
"yarn format"
]
},
"dependencies": {
"@apollo/client": "^3.3.11",
"@apollo/react-common": "3.1.4",
"@apollo/react-components": "^4.0.0",
"@apollo/react-hoc": "^4.0.0",
"@apollo/react-hooks": "4.0.0",
"apollo-server-micro": "^2.21.0",
"graphql": "^15.5.0",
"graphql-tag": "^2.11.0",
"graphql-tools": "^7.0.3",
"next": "latest",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"styled-components": "^5.2.1"
},
"devDependencies": {
"@graphql-codegen/cli": "^1.20.1",
"@graphql-codegen/fragment-matcher": "2.0.1",
"@graphql-codegen/introspection": "1.18.1",
"@graphql-codegen/typescript": "1.21.0",
"@graphql-codegen/typescript-document-nodes": "1.17.9",
"@graphql-codegen/typescript-graphql-files-modules": "1.18.1",
"@graphql-codegen/typescript-operations": "1.17.14",
"@graphql-codegen/typescript-react-apollo": "2.2.1",
"@graphql-codegen/typescript-resolvers": "1.18.2",
"@next/bundle-analyzer": "^10.0.7",
"@testing-library/react": "^11.2.5",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.28",
"@types/react": "^17.0.2",
"@types/react-dom": "^17.0.1",
"@types/styled-components": "^5.1.7",
"@types/testing-library__react": "^10.0.1",
"@typescript-eslint/eslint-plugin": "^4.15.1",
"@typescript-eslint/parser": "^4.15.1",
"babel-jest": "^26.6.3",
"babel-plugin-styled-components": "^1.12.0",
"concurrently": "^5.3.0",
"eslint": "^7.20.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-react": "^7.22.0",
"husky": "^5.0.9",
"jest": "^26.6.3",
"jest-watch-typeahead": "^0.6.1",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"typescript": "^4.1.5"
}
}