Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 1.46 KB
/
Copy pathpackage.json
File metadata and controls
56 lines (56 loc) · 1.46 KB
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
{
"name": "@mapconductor/react-for-mapbox",
"version": "0.3.1",
"description": "Mapbox provider for MapConductor React SDK",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./style.css": "./dist/style.css",
"./state": {
"types": "./dist/state.d.ts",
"import": "./dist/state.mjs",
"require": "./dist/state.js"
}
},
"files": [
"dist",
"README.ja.md",
"README.es-419.md"
],
"scripts": {
"build": "tsup src/index.ts src/state.ts --format cjs,esm --dts && npm run postbuild",
"postbuild": "node -e \"require('fs').copyFileSync(require.resolve('mapbox-gl/dist/mapbox-gl.css'), './dist/style.css')\"",
"dev": "tsup src/index.ts src/state.ts --format cjs,esm --watch",
"clean": "rm -rf dist",
"test": "node --test \"test/**/*.test.mjs\""
},
"keywords": [
"maps",
"mapbox",
"mapbox-gl",
"react",
"typescript"
],
"author": "MapConductor",
"license": "Apache-2.0",
"peerDependencies": {
"@mapconductor/js-sdk-core": "^0.3.1",
"react": "^18.0.0 || ^19.0.0"
},
"dependencies": {
"@mapconductor/js-sdk-core": "^0.3.1",
"@mapconductor/js-sdk-react": "^0.3.0",
"mapbox-gl": "^3.33.0"
},
"devDependencies": {
"react": "^19.3.1",
"tsup": "^9.0.0",
"typescript": "^5.9.3"
}
}