forked from nitaliano/react-native-mapbox-gl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 2.55 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": "@mapbox/react-native-mapbox-gl",
"description": "A Mapbox GL react native module for creating custom maps",
"version": "6.1.3",
"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",
"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.0.0-alpha || ^16.0.0-beta || ^16.0.0",
"react-native": ">=0.47.1"
},
"dependencies": {
"@turf/helpers": "4.6.0",
"underscore": "^1.8.3"
},
"devDependencies": {
"babel-eslint": "6.1.2",
"babel-jest": "21.0.2",
"babel-preset-react-native": "3.0.2",
"ejs": "^2.5.7",
"ejs-lint": "^0.3.0",
"eslint": "^3.19.0",
"eslint-config-strict-react": "8.0.1",
"eslint-plugin-import": "2.7.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",
"node-dir": "0.1.17",
"prettier": "^1.11.1",
"react": "16.0.0-alpha.12",
"react-docgen": "2.18.0",
"react-native": "0.48.4",
"react-test-renderer": "16.0.0-alpha.12"
},
"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"
}
}
}