-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
129 lines (129 loc) · 3.68 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
123
124
125
126
127
128
129
{
"name": "react-native-netwatch",
"version": "1.3.16",
"description": "Network traffic logger for React Native",
"homepage": "https://github.com/odemolliens/react-native-netwatch",
"main": "src/index.tsx",
"types": "lib/index.d.ts",
"author": "Imran Mentese <[email protected]>",
"license": "MIT",
"keywords": [
"react-native",
"mobile",
"ios",
"android",
"logging",
"network",
"traffic"
],
"scripts": {
"compile": "rm -rf lib && tsc -p .",
"prettier:check": "prettier --config ./.prettierrc --check \"src/*.tsx\" ",
"prettier:fix": "prettier --config ./.prettierrc --write --check \"src/**/*.tsx\" ",
"lint": "tslint -p tsconfig.json 'src/**/*.tsx' 'src/**/*.ts'",
"lint:fix": "tslint -p tsconfig.json --fix 'src/**/*.tsx' 'src/**/*.ts'",
"prepare": "yarn compile",
"test": "TZ=UTC jest",
"testu": "TZ=UTC node_modules/.bin/jest --updateSnapshot"
},
"dependencies": {
"@react-native-clipboard/clipboard": "^1.11.0",
"react-native-json-tree": "^1.3.0",
"url": "^0.11.0",
"xlsx": "^0.18.4"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/preset-typescript": "^7.12.7",
"@babel/runtime": "^7.11.2",
"@react-native-community/eslint-config": "^2.0.0",
"@react-native-community/netinfo": "4.7.0",
"@testing-library/react-native": "^7.2.0",
"@types/enzyme": "^3.10.8",
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/jest": "^26.0.14",
"@types/react-native": "0.63.46",
"@types/react-native-share": "^3.3.1",
"@types/react-native-vector-icons": "^6.4.6",
"@types/react-test-renderer": "^16.9.3",
"babel-jest": "^26.6.3",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"enzyme-to-json": "^3.6.1",
"eslint": "^7.9.0",
"eslint-plugin-simple-import-sort": "^5.0.3",
"jest": "^26.6.3",
"metro-react-native-babel-preset": "0.64.0",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-native": "0.64.1",
"react-native-device-info": "^8.0.2",
"react-native-fs": "^2.20.0",
"react-native-launch-arguments": "4.0.1",
"react-native-paper": "^4.7.1",
"react-native-share": "^5.1.4",
"react-native-vector-icons": "^8.0.0",
"react-test-renderer": "^16.13.1",
"redux": "^4.0.5",
"redux-mock-store": "^1.5.4",
"ts-jest": "^26.4.4",
"tslint": "^6.1.3",
"tslint-config-airbnb-base": "^0.3.0",
"tslint-config-prettier": "^1.18.0",
"tslint-react": "^5.0.0",
"typescript": "^4.0.3"
},
"peerDependencies": {
"@react-native-clipboard/clipboard": "*",
"@react-native-community/netinfo": "*",
"react": "*",
"react-native": "*",
"react-native-device-info": "*",
"react-native-fs": "*",
"react-native-launch-arguments": "*",
"react-native-paper": "*",
"react-native-share": "*",
"react-native-vector-icons": "*"
},
"jest": {
"verbose": true,
"collectCoverage": true,
"preset": "react-native",
"setupFiles": [
"./config/jest.setup.js"
],
"transformIgnorePatterns": [
"/node_modules/(?!native-base)/"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
],
"modulePaths": [
"<rootDir>"
],
"transform": {
"\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/babel-jest"
},
"testMatch": [
"**/__tests__/**/*.test.(js|ts|tsx)"
],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/example/"
],
"coverageThreshold": {
"global": {
"statements": 80,
"branches": 80,
"functions": 80,
"lines": 80
}
},
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
}
}