-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 2.04 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
78
{
"name": "graphql-ts",
"version": "0.1.0",
"private": true,
"dependencies": {
"@apollo/client": "^3.1.2",
"@testing-library/jest-dom": "^5.11.2",
"@testing-library/react": "^10.4.7",
"@testing-library/user-event": "^12.1.0",
"@types/jest": "^26.0.8",
"@types/node": "^14.0.27",
"@types/react": "^16.9.44",
"@types/react-dom": "^16.9.8",
"graphql": "^15.3.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "3.4.1",
"typescript": "~3.9.7"
},
"scripts": {
"dev": "run-p start generate:schema:watch",
"start": "react-scripts start",
"generate:schema": "graphql-codegen --config codegen.yml",
"generate:schema:watch": "graphql-codegen --config codegen.yml --watch",
"prebuild": "npm run generate:schema",
"build": "react-scripts build",
"test": "react-scripts test",
"cy:test": "dotenv -- cypress open",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.75%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@graphql-codegen/cli": "1.17.7",
"@graphql-codegen/typed-document-node": "^1.17.7",
"@graphql-codegen/typescript": "1.17.7",
"@graphql-codegen/typescript-operations": "1.17.7",
"@graphql-typed-document-node/apollo-client-3": "^1.0.0",
"@types/prettier": "^2.0.1",
"@types/testing-library__jest-dom": "^5.9.2",
"@types/testing-library__react": "^10.2.0",
"cypress": "^4.12.0",
"dotenv-cli": "^3.2.0",
"husky": ">=4.2.5",
"lint-staged": ">=10.2.11",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"typesync": "^0.7.0"
},
"prettier": {
"semi": false,
"singleQuote": true
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx,css,json,md}": [
"prettier --write",
"git add"
]
}
}