-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
122 lines (122 loc) · 3.9 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
119
120
121
122
{
"name": "testingproject",
"version": "0.0.1",
"private": true,
"engines": {
"node": ">=16.4.1"
},
"engineStrict": true,
"scripts": {
"android:staging": "react-native run-android --variant=stagingdebug",
"android:staging-release": "react-native run-android --variant=stagingrelease",
"android:dev": "react-native run-android --variant=developmentdebug",
"android:dev-release": "react-native run-android --variant=developmentrelease",
"android:prod": "react-native run-android --variant=productiondebug",
"android:prod-release": "react-native run-android --variant=productionrelease",
"android": "react-native run-android --variant=developmentdebug",
"ios:dev": "react-native run-ios --scheme 'Development'",
"ios:prod": "react-native run-ios --scheme 'Production'",
"ios:staging": "react-native run-ios --scheme 'Staging'",
"ios": "react-native run-ios --scheme 'TestingProject'",
"start": "react-native start",
"test": "jest",
"test:updateSnapshot": "jest --updateSnapshot",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"postinstall": "npx jetify && cd ios && pod install && cd .. && npx react-native-fix-image && patch-package"
},
"husky": {
"hooks": {
"pre-commit": "eslint . --ext .js,.jsx,.ts,.tsx"
}
},
"dependencies": {
"@react-native-async-storage/async-storage": "^1.15.5",
"@react-native-community/masked-view": "^0.1.11",
"@react-navigation/native": "^5.9.4",
"@react-navigation/stack": "^5.14.5",
"@reduxjs/toolkit": "^1.6.0",
"axios": "^0.21.1",
"formik": "^2.2.9",
"i18next": "^20.3.2",
"react": "17.0.1",
"react-i18next": "^11.11.1",
"react-native": "0.64.1",
"react-native-config": "^1.4.2",
"react-native-fast-image": "^8.3.5",
"react-native-gesture-handler": "^1.10.3",
"react-native-localize": "^2.1.1",
"react-native-reanimated": "^2.2.0",
"react-native-responsive-fontsize": "^0.5.0",
"react-native-safe-area-context": "^3.2.0",
"react-native-screens": "^3.4.0",
"react-native-svg": "^12.1.1",
"react-redux": "^7.2.4",
"redux-persist": "^6.0.0",
"redux-saga": "^1.1.3"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/runtime": "^7.12.5",
"@react-native-community/eslint-config": "^2.0.0",
"@testing-library/jest-native": "^4.0.1",
"@testing-library/react-native": "^7.2.0",
"@types/faker": "^5.5.7",
"@types/jest": "^26.0.23",
"@types/react-native": "^0.64.5",
"@types/react-test-renderer": "^16.9.2",
"@typescript-eslint/eslint-plugin": "^4.28.2",
"@typescript-eslint/parser": "^4.28.2",
"babel-jest": "^26.6.3",
"babel-plugin-module-resolver": "^4.1.0",
"eslint": "^7.30.0",
"faker": "^5.5.3",
"husky": "^7.0.1",
"jest": "^26.6.3",
"metro-react-native-babel-preset": "^0.66.1",
"patch-package": "^6.4.7",
"postinstall-postinstall": "^2.1.0",
"react-native-svg-transformer": "^0.14.3",
"react-test-renderer": "17.0.1",
"typescript": "^4.3.5"
},
"resolutions": {
"@types/react": "^17"
},
"jest": {
"preset": "react-native",
"setupFilesAfterEnv": [
"@testing-library/jest-native/extend-expect"
],
"transformIgnorePatterns": [
"node_modules/(?!(jest-)?@react-native|react-native|react-navigation|@react-navigation/.*)"
],
"setupFiles": [
"./node_modules/react-native-gesture-handler/jestSetup.js"
],
"moduleNameMapper": {
"\\.svg": "<rootDir>/__mocks__/svgMock.js"
},
"testRegex": "/*.spec.tsx$|/*.spec.ts$",
"collectCoverage": true,
"coverageReporters": [
"lcov"
],
"coverageDirectory": "__coverage__",
"coverageThreshold": {
"global": {
"branches": 0,
"functions": 0,
"lines": 0,
"statements": 0
}
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}