forked from maplibre/maplibre-react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
120 lines (120 loc) · 3.38 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
{
"name": "@maplibre/maplibre-react-native",
"description": "A MapLibre GL Native plugin for creating maps in React Native",
"version": "9.0.0",
"publishConfig": {
"access": "public"
},
"author": "MapLibre",
"main": "./javascript/index.js",
"keywords": [
"maps",
"ios",
"android",
"maplibre",
"react-native",
"mapbox"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/maplibre/maplibre-react-native"
},
"scripts": {
"fetch:style:spec": "./scripts/download-style-spec.sh",
"generate": "yarn node ./scripts/autogenerate",
"test": "npm run lint && npm run unittest",
"unittest": "jest",
"unittest:single": "jest --testNamePattern",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prepack": "yarn build:plugin",
"test:plugin": "jest plugin",
"build:plugin": "tsc --build plugin",
"lint:plugin": "eslint plugin/src/*"
},
"peerDependencies": {
"prop-types": "^15.8.1",
"react": ">=16.6.1",
"react-native": ">=0.59.9"
},
"dependencies": {
"@expo/config-plugins": "^4.0.3",
"@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",
"@types/node": "^18.11.18",
"debounce": "^1.2.0",
"deprecated-react-native-prop-types": "^2.3.0"
},
"devDependencies": {
"@babel/core": "^7.20.5",
"@babel/eslint-parser": "^7.19.1",
"@babel/plugin-proposal-class-properties": "7.16.7",
"@babel/runtime": "7.17.2",
"@react-native-community/eslint-config": "^3.0.1",
"@react-native-community/eslint-plugin": "^1.3.0",
"@sinonjs/fake-timers": "^8.0.1",
"@testing-library/react-native": "^8.0.0",
"@typescript-eslint/eslint-plugin": "^5.2.0",
"@typescript-eslint/parser": "^5.8.0",
"babel-jest": "^27.5.1",
"documentation": "^14.0.0",
"ejs": "^3.1.3",
"ejs-lint": "^1.1.0",
"eslint": "^8.29.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-fp": "^2.3.0",
"eslint-plugin-ft-flow": "^2.0.3",
"eslint-plugin-import": "2.25.3",
"eslint-plugin-jest": "^27.1.7",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-native": "^4.0.0",
"expo-module-scripts": "^3.0.4",
"husky": "4.3.8",
"jest": "^27.5.1",
"jest-cli": "^27.5.1",
"lint-staged": "^12.1.2",
"metro-react-native-babel-preset": "^0.70.3",
"node-dir": "0.1.17",
"prettier": "^2.0.4",
"prop-types": "^15.8.1",
"react": "^18.0.0",
"react-docgen": "rnmapbox/react-docgen#rnmapbox-dist",
"react-native": "0.68.0",
"react-test-renderer": "^18.0.0",
"standard": "*",
"typescript": "^4.4.3"
},
"jest": {
"preset": "react-native",
"collectCoverageFrom": [
"javascript/**/*.js"
],
"setupFiles": [
"./setup-jest.js",
"./__tests__/__mocks__/react-native.mock.js"
],
"modulePathIgnorePatterns": [
"example",
"__tests__/__mocks__",
"fixtures"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run generate"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "yarn lint"
},
"packageManager": "[email protected]"
}