forked from rnmapbox/maps
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
109 lines (109 loc) · 3.01 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
{
"name": "@react-native-mapbox-gl/maps",
"description": "A Mapbox GL react native module for creating custom maps",
"version": "7.0.0-rc3",
"publishConfig": {
"access": "public"
},
"author": "React Native Mapbox Team",
"main": "./javascript/index.js",
"keywords": [
"gl",
"ios",
"android",
"mapbox",
"react-native"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/react-native-mapbox-gl/maps"
},
"scripts": {
"fetch:style:spec": ". ./scripts/download-style-spec.sh",
"generate": "node ./scripts/autogenerate",
"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 <7.0.0",
"@turf/distance": ">= 4.0.0 <7.0.0",
"@turf/along": ">= 4.0.0 <7.0.0",
"@mapbox/geo-viewport": ">= 0.4.0",
"underscore": "^1.8.3"
},
"devDependencies": {
"@babel/core": "7.0.0",
"@babel/plugin-proposal-class-properties": "7.4.4",
"@babel/plugin-transform-exponentiation-operator": "7.2.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": "^10.0.1",
"babel-jest": "24.8.0",
"ejs": "^2.5.7",
"ejs-lint": "^0.3.0",
"eslint": "^6.0.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-config-prettier": "^6.0.0",
"eslint-config-strict-react": "9.0.2",
"eslint-plugin-flowtype": "^3.4.2",
"eslint-plugin-fp": "^2.3.0",
"eslint-plugin-import": "2.17.3",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "7.13.0",
"eslint-plugin-react-native": "^3.6.0",
"flow-bin": "^0.95.1",
"husky": "^0.14.3",
"jest": "24.8.0",
"jest-cli": "^24.8.0",
"lint-staged": "^8.2.0",
"metro-react-native-babel-preset": "0.49.1",
"node-dir": "0.1.17",
"prettier": "^1.11.1",
"react": "16.8.6",
"react-docgen": "^5.0.0-beta.1",
"react-native": "0.59.0",
"react-test-renderer": "16.8.3"
},
"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"
}
}
}