-
-
Notifications
You must be signed in to change notification settings - Fork 846
/
package.json
152 lines (152 loc) · 3.95 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
152
{
"name": "@rnmapbox/maps",
"description": "A Mapbox react native module for creating custom maps",
"version": "10.1.33",
"publishConfig": {
"access": "public"
},
"author": "React Native Mapbox Team",
"keywords": [
"gl",
"ios",
"android",
"mapbox",
"react-native"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/rnmapbox/maps"
},
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/src/index.d.ts",
"browser": "./src/index.web.js",
"react-native": "src/index",
"source": "src/index",
"files": [
"src",
"lib",
"plugin",
"assets",
"app.plugin.js",
"index.d.ts",
"rnmapbox-maps.podspec",
"ios",
"android",
"setup-jest.js",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__"
],
"scripts": {
"fetch:style:spec": ". ./scripts/download-style-spec.sh",
"generate": "node ./scripts/autogenerate.mjs",
"test": "yarn lint && yarn unittest",
"unittest": "yarn jest",
"unittest:single": "yarn jest --testNamePattern",
"lint": "yarn eslint .",
"lint:fix": "yarn eslint . --fix",
"type:check": "yarn tsc --noEmit",
"test:plugin": "yarn expo-module test plugin",
"build:plugin": "yarn tsc --build plugin",
"build:examples.json": "cd example; jest __tests__/dumpExamplesJson.ts",
"lint:plugin": "yarn eslint plugin/src/*",
"build": "yarn bob build",
"prepare": "yarn bob build"
},
"peerDependencies": {
"expo": ">=47.0.0",
"mapbox-gl": "^2.9.0",
"react": ">=16.6.1",
"react-native": ">=0.59.9",
"react-dom": ">= 17.0.0"
},
"peerDependenciesMeta": {
"expo": {
"optional": true
},
"mapbox-gl": {
"optional": true
},
"react-dom": {
"optional": true
}
},
"dependencies": {
"@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"
},
"devDependencies": {
"@babel/core": "7.19.1",
"@babel/eslint-parser": "^7.19.1",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/helper-split-export-declaration": "7.24.7",
"@babel/helper-hoist-variables": "7.24.7",
"@babel/helper-function-name": "7.24.7",
"@babel/runtime": "7.19.0",
"@react-native/eslint-config": "^0.72.2",
"@sinonjs/fake-timers": "^8.0.1",
"@testing-library/react-native": "^12.4.0",
"@types/debounce": "^1.2.1",
"@types/mapbox-gl": "^2.7.5",
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"babel-jest": "^29.6.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.3",
"eslint-plugin-import": "2.25.3",
"eslint-plugin-jest": "^27.0.1",
"expo": "^47.0.0",
"expo-module-scripts": "^3.0.4",
"husky": "^8.0.1",
"jest": "29.7.0",
"jest-cli": "29.7.0",
"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": "18.2.0",
"react-docgen": "rnmapbox/react-docgen#rnmapbox-dist-react-docgen-v6",
"react-native": "0.73.0-rc.4",
"react-native-builder-bob": "^0.23.1",
"react-test-renderer": "18.2.0",
"ts-node": "10.9.1",
"typescript": "5.1.3",
"@mdx-js/mdx": "^3.0.0"
},
"codegenConfig": {
"name": "rnmapbox_maps_specs",
"type": "all",
"jsSrcsDir": "src/specs",
"android": {
"javaPackageName": "com.rnmapbox.rnmbx"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "eslint --fix"
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
"typescript"
]
},
"eslintIgnore": [
"node_modules/",
"lib/"
]
}