-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
67 lines (67 loc) · 2.23 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
{
"name": "RNGraphql",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
"test": "jest",
"lint": "yarn tsc & eslint --ext .ts,.tsx,.js src/",
"schema:codegen": "gqlg --schemaFilePath ./schema/schema.graphql --destDirPath ./__generated__ --depthLimit 5 && prettier --write --loglevel silent __generated__/**/*.gql",
"codegen": "graphql-codegen --config codegen/codegen.js && yarn schema:codegen",
"typegen": "graphql-codegen --config codegen/typegen.yml"
},
"dependencies": {
"@apollo/client": "3.5.8",
"@apollo/react-hooks": "4.0.0",
"graphql": "16.3.0",
"react": "17.0.2",
"react-native": "0.67.2",
"typescript": "4.5.5"
},
"devDependencies": {
"@babel/core": "7.17.2",
"@babel/runtime": "7.17.2",
"@graphql-codegen/cli": "2.5.0",
"@graphql-codegen/fragment-matcher": "3.2.1",
"@graphql-codegen/introspection": "2.1.1",
"@graphql-codegen/near-operation-file-preset": "2.2.4",
"@graphql-codegen/schema-ast": "2.4.1",
"@graphql-codegen/typescript": "2.4.3",
"@graphql-codegen/typescript-operations": "2.2.4",
"@graphql-codegen/typescript-react-apollo": "3.2.5",
"@react-native-community/eslint-config": "3.0.1",
"@types/react-native": "0.66.15",
"@typescript-eslint/eslint-plugin": "5.11.0",
"@typescript-eslint/parser": "5.11.0",
"babel-jest": "27.5.1",
"eslint": "8.8.0",
"gql-generator": "1.0.13",
"jest": "27.5.1",
"metro-react-native-babel-preset": "0.67.0",
"react-test-renderer": "17.0.2"
},
"jest": {
"preset": "react-native",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"husky": {
"hooks": {
"pre-commit": "tsc --noEmit & lint-staged"
}
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"eslint --ext .ts,.tsx --fix",
"prettier --config .prettierrc.json"
]
}
}