-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
111 lines (111 loc) · 3.09 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
{
"name": "@mapbox/react-native-mapbox-gl",
"description": "A Mapbox GL react native module for creating custom maps",
"version": "6.1.4",
"author": "Bobby Sudekum",
"main": "./javascript/index.js",
"keywords": [
"gl",
"ios",
"android",
"mapbox",
"react-component",
"react-native"
],
"licenses": [
{
"type": "BSD",
"url": "https://github.com/mapbox/react-native-mapbox-gl/blob/master/LICENSE.md"
}
],
"repository": {
"type": "git",
"url": "https://github.com/mapbox/react-native-mapbox-gl"
},
"scripts": {
"fetch:ios:sdk": "node ./scripts/download-mapbox-gl-native-ios-if-on-mac.js 3.7.8",
"fetch:style:spec": ". ./scripts/download-style-spec.sh",
"generate": "node ./scripts/autogenerate",
"preinstall": "npm run fetch:ios:sdk",
"test": "npm run lint && npm run unittest",
"unittest": "jest --coverage --verbose",
"unittest:single": "jest --testNamePattern",
"format": "npm run lint -- --fix",
"lint": "./node_modules/eslint/bin/eslint.js ./javascript/** ./example/src/** ./__tests__/**",
"precommit": "lint-staged"
},
"peerDependencies": {
"prop-types": ">=15.5.8",
"react": "^16.6.1",
"react-native": ">=0.57.6"
},
"dependencies": {
"@turf/helpers": "4.6.0",
"underscore": "^1.8.3"
},
"devDependencies": {
"eslint-config-airbnb-base": "^13.1.0",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-flowtype": "^3.4.2",
"eslint-plugin-fp": "^2.3.0",
"eslint-plugin-react-native": "^3.6.0",
"@babel/core": "7.0.0",
"@babel/plugin-proposal-class-properties": "7.0.0",
"@babel/plugin-transform-exponentiation-operator": "7.0.0",
"@babel/plugin-transform-flow-strip-types": "7.0.0",
"@babel/plugin-transform-runtime": "7.0.0",
"@babel/runtime": "7.0.0",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^8.0.1",
"babel-jest": "23.4.2",
"ejs": "^2.5.7",
"ejs-lint": "^0.3.0",
"eslint": "^5.3.0",
"eslint-config-strict-react": "8.0.1",
"eslint-plugin-import": "2.14.0",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-react": "5.2.2",
"husky": "^0.14.3",
"jest": "21.0.2",
"jest-cli": "^21.2.1",
"lint-staged": "^7.0.0",
"metro-react-native-babel-preset": "0.49.1",
"node-dir": "0.1.17",
"prettier": "^1.11.1",
"react": "16.8.3",
"react-docgen": "2.18.0",
"react-native": "0.59.0",
"react-test-renderer": "16.8.3",
"flow-bin": "^0.95.1"
},
"jest": {
"preset": "react-native",
"collectCoverageFrom": [
"javascript/**/*.js"
],
"setupFiles": [
"./__tests__/__mocks__/react-native-mapbox-gl.mock.js",
"./__tests__/__mocks__/react-native.mock.js"
],
"modulePathIgnorePatterns": [
"example",
"__tests__/__mocks__"
]
},
"lint-staged": {
"linters": {
"*.js": [
"eslint ./javascript/**/*.js ./example/src/**/*.js ./__tests__/**/*.js --fix",
"git add"
]
},
"ignore": [
"**/scripts/**/*.js"
]
},
"rnpm": {
"android": {
"sourceDir": "./android/rctmgl"
}
}
}