forked from react-native-netinfo/react-native-netinfo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 2.84 KB
/
package.json
File metadata and controls
104 lines (104 loc) · 2.84 KB
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
{
"name": "@react-native-community/netinfo",
"version": "4.1.3",
"description": "React Native Network Info API for iOS & Android",
"react-native": "src/index.ts",
"types": "lib/typescript/src/index.d.ts",
"main": "lib/commonjs/index.js",
"module": "lib/module/index.js",
"files": [
"/android",
"!/android/build",
"/ios",
"/windows",
"/src",
"/lib",
"/*.podspec"
],
"author": "Matt Oakes <hello@mattoakes.net>",
"contributors": [
"Mike Diarmid (Salakar) <mike@invertase.io>"
],
"homepage": "https://github.com/react-native-community/react-native-netinfo#readme",
"license": "MIT",
"scripts": {
"start": "react-native start",
"test": "yarn validate:eslint && yarn validate:android && yarn validate:typescript && yarn test:jest",
"validate:android": "cd android && ./gradlew spotlessCheck",
"validate:android:fix": "cd android && ./gradlew spotlessApply",
"validate:eslint": "eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"",
"validate:typescript": "tsc --project ./ --noEmit",
"test:jest": "jest \"/src/\"",
"ci:publish": "yarn semantic-release",
"semantic-release": "semantic-release",
"prepare": "bob build"
},
"keywords": [
"react-native",
"react native",
"netinfo",
"networking",
"network info"
],
"peerDependencies": {
"react-native": ">=0.59"
},
"dependencies": {},
"devDependencies": {
"@babel/core": "^7.4.3",
"@babel/runtime": "^7.4.3",
"@react-native-community/bob": "^0.4.1",
"@react-native-community/eslint-config": "^0.0.5",
"@semantic-release/changelog": "^3.0.2",
"@semantic-release/git": "7.0.8",
"@types/jest": "^24.0.12",
"@types/react-native": "^0.57.51",
"@typescript-eslint/eslint-plugin": "^1.7.0",
"@typescript-eslint/parser": "^1.7.0",
"babel-jest": "^24.7.1",
"eslint": "5.16.0",
"eslint-config-prettier": "^4.2.0",
"eslint-plugin-prettier": "3.0.1",
"husky": "^2.3.0",
"jest": "^24.8.0",
"lint-staged": "^8.1.7",
"metro-react-native-babel-preset": "^0.53.1",
"prettier": "^1.17.0",
"react": "16.8.3",
"react-native": "0.59.5",
"react-test-renderer": "16.8.3",
"rimraf": "^2.6.3",
"semantic-release": "15.13.3",
"ts-jest": "^24.0.2",
"typescript": "^3.4.1"
},
"repository": {
"type": "git",
"url": "https://github.com/react-native-community/react-native-netinfo.git"
},
"@react-native-community/bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
"typescript"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn test"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"yarn eslint --fix",
"git add"
],
"*.java": [
"cd android && ./graldew spotlessApply",
"git add"
]
}
}