forked from alexbrazier/react-native-network-logger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
139 lines (139 loc) · 3.18 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
130
131
132
133
134
135
136
137
138
139
{
"name": "react-native-network-logger",
"version": "1.12.0",
"description": "An HTTP traffic monitor for React Native with zero dependencies",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"react-native": "src/index",
"types": "lib/typescript/src/index.d.ts",
"source": "src/index.tsx",
"repository": {
"type": "git",
"url": "https://github.com/alexbrazier/react-native-network-logger.git"
},
"keywords": [
"react",
"native",
"react-native",
"network",
"interceptor",
"http",
"monitor",
"logging",
"ios",
"android"
],
"author": "alexbrazier",
"license": "MIT",
"files": [
"lib",
"src",
"!lib/typescript/example",
"!**/__tests__",
"!**/*.spec.ts",
"!**/*.spec.tsx",
"!**/__fixtures__",
"!**/__mocks__"
],
"scripts": {
"test": "jest",
"typescript": "tsc --noEmit",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"prettier": "prettier --check '{,example/}src/**/*.{js,json,ts,tsx}' '{*,example/*}.{js,ts,tsx}'",
"prepare": "bob build",
"release": "release-it",
"example": "yarn --cwd example",
"bootstrap": "yarn example && yarn"
},
"dependencies": {},
"devDependencies": {
"@react-native-community/bob": "^0.17.1",
"@react-native-community/eslint-config": "^3.0.1",
"@release-it/conventional-changelog": "^3.3.0",
"@testing-library/react-native": "^8.0.0",
"@types/jest": "^27.0.2",
"@types/react": "^17.0.33",
"@types/react-native": "^0.63.52",
"eslint": "^7.29.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.2",
"jest": "^27.3.1",
"react": "17.0.2",
"react-native": "0.64.2",
"react-test-renderer": "^17.0.2",
"release-it": "^14.11.6",
"rimraf": "^3.0.2",
"typescript": "^4.4.4"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"<rootDir>/example/node_modules",
"<rootDir>/lib/"
]
},
"husky": {
"hooks": {
"pre-commit": "yarn lint && yarn typescript"
}
},
"release-it": {
"git": {
"commitMessage": "chore: release ${version}",
"tagName": "v${version}"
},
"npm": {
"publish": true
},
"github": {
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular",
"infile": "CHANGELOG.md"
}
}
},
"eslintConfig": {
"extends": [
"@react-native-community",
"prettier"
],
"rules": {
"prettier/prettier": [
"error",
{
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
}
]
}
},
"eslintIgnore": [
"node_modules/",
"lib/",
"coverage"
],
"homepage": "https://github.com/alexbrazier/react-native-network-logger.git",
"@react-native-community/bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
"typescript"
]
}
}