-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·97 lines (97 loc) · 2.6 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
{
"name": "react-native-device-info",
"version": "5.4.0",
"description": "Get device information using react-native",
"react-native": "src/index.ts",
"types": "lib/typescript/index.d.ts",
"main": "lib/commonjs/index.js",
"module": "lib/module/index.js",
"files": [
"android/",
"ios/",
"lib/",
"src/",
"web/",
"windows/",
"RNDeviceInfo.podspec"
],
"repository": {
"type": "git",
"url": "https://github.com/react-native-community/react-native-device-info"
},
"scripts": {
"analyze": "yarn ts-check && yarn flow-check",
"flow-check": "npx flow-bin check-contents < src/index.js.flow",
"ts-check": "npx tsc --noEmit",
"clean": "cd example && npx react-native-clean-project --keep-node-modules --remove-iOS-build --remove-iOS-pods --remove-android-build --keep-brew --keep-pods && \\rm -fr ios/Pods",
"dev-sync": "yarn build && cp -r *podspec lib windows android ios src example/node_modules/react-native-device-info/",
"lint": "npx eslint ./ --ignore-pattern example --ignore-pattern node_modules --fix --quiet",
"shipit": "yarn clean && np",
"test": "echo no tests defined",
"precommit": "lint-staged && yarn analyze",
"build": "bob build",
"prepare": "yarn build"
},
"lint-staged": {
"*.ts": [
"yarn lint",
"git add"
]
},
"keywords": [
"react-component",
"react-native",
"ios",
"android",
"windows",
"device",
"events",
"cocoapod"
],
"author": "Rebecca Hughes <[email protected]> (https://github.com/rebeccahughes)",
"contributors": [
{
"name": "Gant Laborde",
"email": "[email protected]",
"url": "https://github.com/gantman"
},
{
"name": "Mehdi Achour",
"email": "[email protected]",
"url": "https://github.com/machour"
},
{
"name": "Mike Hardy",
"email": "[email protected]",
"url": "https://github.com/mikehardy"
}
],
"license": "MIT",
"devDependencies": {
"@react-native-community/bob": "^0.7.0",
"@react-native-community/eslint-config": "0.0.5",
"@types/react": "^16.9.11",
"@types/react-native": "^0.60.22",
"eslint": "^6.6.0",
"eslint-plugin-prettier": "^3.1.1",
"husky": "^3.1.0",
"lint-staged": "^9.4.3",
"np": "^5.1.3",
"prettier": "^1.19.1",
"react": "^16.12.0",
"react-native": "^0.61.4",
"typescript": "^3.7.2"
},
"eslintConfig": {
"extends": "@react-native-community"
},
"@react-native-community/bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
"typescript"
]
}
}