-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
145 lines (145 loc) · 4.42 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
{
"name": "@vietmap/vietmap-gl-react-native",
"description": "A Vietmap GL Native plugin for creating maps in React Native",
"version": "0.0.7",
"publishConfig": {
"access": "public"
},
"author": "VietMap",
"main": "./javascript/index.ts",
"keywords": [
"maps",
"ios",
"android",
"react-native",
"vietmap",
"react-native map",
"vietmap apis"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/vietmap-company/vietmap-gl-react-native.git"
},
"scripts": {
"clean:android": "cd example && cd android && ./gradlew clean && cd ../",
"clean:ios": "cd ios && xcodebuild clean && cd ../",
"clean": "cd ios && xcodebuild clean && cd .. && cd example && cd android && ./gradlew clean && cd .. && cd ios && xcodebuild clean",
"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": "pinst --disable && yarn build:plugin",
"test:plugin": "jest plugin",
"build:plugin": "tsc --build plugin",
"lint:plugin": "eslint plugin/src/*",
"postinstall": "husky install",
"postpack": "pinst --enable",
"ios": " cd example && yarn ios",
"ip": "cd example && react-native run-ios --device \"Dang Trong Thanh’s iPhone\"",
"pod": " cd example && cd ios && pod install",
"android": "cd example && yarn android"
},
"peerDependenciesMeta": {
"@expo/config-plugins": {
"optional": true
}
},
"peerDependencies": {
"@expo/config-plugins": ">=7",
"react": ">=16.6.1",
"react-native": ">=0.59.9"
},
"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.10",
"@types/react-native": "0.67.8",
"debounce": "^1.2.0"
},
"devDependencies": {
"@babel/core": "^7.20.5",
"@babel/eslint-parser": "^7.22.9",
"@babel/plugin-proposal-class-properties": "7.16.7",
"@babel/runtime": "7.17.2",
"@expo/config-plugins": "^7.2.5",
"@react-native-community/eslint-config": "^3.0.1",
"@react-native-community/eslint-plugin": "^1.3.0",
"@react-native/metro-config": "^0.72.7",
"@sinonjs/fake-timers": "^11.1.0",
"@testing-library/react-native": "^8.0.0",
"@tsconfig/node14": "14.1.0",
"@types/debounce": "^1.2.1",
"@types/jest": "^27.4.1",
"@types/mapbox__geo-viewport": "^0.4.1",
"@types/node": "^20.11.24",
"@types/react": "^18.2.15",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^6.7.4",
"babel-jest": "^29.6.0",
"documentation": "^14.0.0",
"ejs": "^3.1.3",
"ejs-lint": "^2.0.0",
"eslint": "^8.45.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.28.1",
"eslint-plugin-jest": "^27.1.7",
"eslint-plugin-prettier": "^5.0.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.1.0",
"husky": "^8.0.3",
"jest": "^29.6.0",
"jest-cli": "^29.6.0",
"lint-staged": "^14.0.1",
"metro-react-native-babel-preset": "^0.76.7",
"node-dir": "0.1.17",
"pinst": "^3.0.0",
"prettier": "^3.0.3",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-docgen": "rnmapbox/react-docgen#rnmapbox-dist",
"react-native": "0.72.1",
"react-test-renderer": "^18.2.0",
"standard": "*",
"typescript": "^5.3.3"
},
"jest": {
"preset": "react-native",
"collectCoverageFrom": [
"javascript/**/*.js"
],
"setupFiles": [
"./setup-jest.js",
"./__tests__/__mocks__/react-native.mock.js"
],
"modulePathIgnorePatterns": [
"example",
"__tests__/__mocks__",
"fixtures"
]
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "yarn lint"
},
"packageManager": "yarn@3.6.1",
"bugs": {
"url": "https://github.com/vietmap-company/vietmap-gl-react-native/issues"
},
"homepage": "https://maps.vietmap.vn",
"directories": {
"doc": "docs",
"example": "example"
}
}