forked from rnmapbox/maps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
151 lines (151 loc) · 3.86 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{
"name": "@rnmapbox/maps",
"description": "A Mapbox react native module for creating custom maps",
"version": "10.0.0-beta.55",
"publishConfig": {
"access": "public"
},
"author": "React Native Mapbox Team",
"main": "lib/commonjs/index.js",
"browser": "./javascript/index.web.js",
"react-native": "javascript/index.js",
"keywords": [
"gl",
"ios",
"android",
"mapbox",
"react-native"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/rnmapbox/maps"
},
"scripts": {
"fetch:style:spec": ". ./scripts/download-style-spec.sh",
"generate": "node ./scripts/autogenerate",
"test": "npm run lint && npm run unittest",
"unittest": "jest",
"unittest:single": "jest --testNamePattern",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"type:check": "npx tsc --noEmit",
"test:plugin": "expo-module test plugin",
"build:plugin": "npx tsc --build plugin",
"build": "bob build",
"lint:plugin": "eslint plugin/src/*",
"prepare": "bob build && husky install"
},
"peerDependencies": {
"expo": "*",
"mapbox-gl": "^ 2.9.0",
"prop-types": ">=15.5.8",
"react": ">=16.6.1",
"react-native": ">=0.59.9"
},
"peerDependenciesMeta": {
"expo": {
"optional": true
},
"mapbox-gl": {
"optional": true
}
},
"dependencies": {
"@mapbox/geo-viewport": ">= 0.4.0",
"@turf/along": "6.5.0",
"@turf/distance": "6.5.0",
"@turf/helpers": "6.5.0",
"@turf/length": "6.5.0",
"@turf/nearest-point-on-line": "6.5.0",
"@types/geojson": "^7946.0.7",
"debounce": "^1.2.0",
"deprecated-react-native-prop-types": "^2.3.0"
},
"devDependencies": {
"@babel/core": "7.19.1",
"@babel/eslint-parser": "^7.19.1",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/runtime": "7.19.0",
"@react-native-community/eslint-config": "^3.0.1",
"@sinonjs/fake-timers": "^8.0.1",
"@testing-library/react-native": "^11.0.0",
"@types/mapbox-gl": "^2.7.5",
"@types/react-native": ">=0.59.9",
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"babel-jest": "^29.0.3",
"documentation": "14.0.0",
"ejs": "^3.1.3",
"ejs-lint": "^1.1.0",
"eslint": "^8.23.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-ft-flow": "^2.0.1",
"eslint-plugin-import": "2.25.3",
"eslint-plugin-jest": "^27.0.1",
"expo-module-scripts": "^2.0.0",
"husky": "^8.0.1",
"jest": "27.5.1",
"jest-cli": "27.5.1",
"lint-staged": "^12.1.2",
"mapbox-gl": "^2.9.0",
"metro-react-native-babel-preset": "0.71.1",
"node-dir": "0.1.17",
"prettier": "2.7.1",
"react": "17.0.2",
"react-docgen": "rnmapbox/react-docgen#rnmapbox-dist",
"react-native": "0.67.0",
"react-native-builder-bob": "^0.20.0",
"react-test-renderer": "17.0.2",
"typescript": "4.8.4"
},
"jest": {
"preset": "react-native",
"collectCoverageFrom": [
"javascript/**/*.js"
],
"setupFiles": [
"./setup-jest.js",
"./__tests__/__mocks__/react-native.mock.js"
],
"modulePathIgnorePatterns": [
"example",
"__tests__/__mocks__",
"fixtures",
"<rootDir>/lib/"
]
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "eslint --fix"
},
"module": "lib/module/index.js",
"types": "lib/typescript/javascript/index.d.ts",
"files": [
"javascript",
"lib",
"plugin",
"assets",
"app.plugin.js",
"index.d.ts",
"rnmapbox-maps.podspec",
"ios",
"android",
"react-native.config.js",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__"
],
"react-native-builder-bob": {
"source": "javascript",
"output": "lib",
"targets": [
"commonjs",
"module",
"typescript"
]
},
"eslintIgnore": [
"node_modules/",
"lib/"
]
}