-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
118 lines (118 loc) · 2.86 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "rntemplate",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
"test": "jest",
"build": "cd android/ && ./gradlew assembleRelease"
},
"dependencies": {
"axios": "0.19.2",
"buffer": "5.6.0",
"posthog-react-native": "1.0.1",
"react": "16.13.1",
"react-native": "0.63.2"
},
"devDependencies": {
"@babel/core": "7.9.6",
"@babel/runtime": "7.9.6",
"@testing-library/react-hooks": "3.4.1",
"@types/jest": "25.2.1",
"@types/react-native": "0.62.7",
"@types/react-test-renderer": "16.9.2",
"@typescript-eslint/eslint-plugin": "2.31.0",
"@typescript-eslint/parser": "2.31.0",
"axios-mock-adapter": "1.18.2",
"babel-jest": "26.0.1",
"eslint": "6.8.0",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-react": "7.19.0",
"eslint-plugin-react-hooks": "4.0.0",
"husky": "4.2.5",
"jest": "26.0.1",
"lint-staged": "10.2.2",
"metro-react-native-babel-preset": "0.59.0",
"prettier": "2.0.5",
"react-native-testing-library": "6.0.0",
"react-test-renderer": "16.13.1",
"typescript": "3.8.3"
},
"jest": {
"preset": "react-native",
"collectCoverage": true,
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
}
},
"babel": {
"presets": [
"module:metro-react-native-babel-preset"
]
},
"prettier": {
"parser": "typescript",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": true,
"jsxBracketSameLine": true,
"arrowParens": "always"
},
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"ignorePatterns": [
"coverage/",
"node_modules/",
"package.json"
],
"parserOptions": {
"project": [
"./tsconfig.json"
],
"ecmaFeatures": {
"jsx": true
}
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"prettier/@typescript-eslint",
"plugin:react/recommended"
],
"plugins": [
"@typescript-eslint",
"react",
"react-hooks"
],
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"react/prop-types": 0,
"@typescript-eslint/unbound-method": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/require-await": 0,
"@typescript-eslint/no-misused-promises": 0
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write"
]
}
}