-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
143 lines (143 loc) · 4.43 KB
/
Copy pathpackage.json
File metadata and controls
143 lines (143 loc) · 4.43 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
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
{
"name": "@wendylabsinc/react-three-map",
"version": "1.0.11",
"description": "React Three Fiber integration for MapLibre GL JS and Mapbox GL JS",
"main": "dist/cjs/main.js",
"module": "dist/es/main.mjs",
"types": "dist/types/mapbox.index.d.ts",
"exports": {
".": {
"types": "./dist/types/mapbox.index.d.ts",
"import": "./dist/es/main.mjs",
"require": "./dist/cjs/main.js",
"default": "./dist/es/main.mjs"
},
"./mapbox": {
"types": "./dist/types/mapbox.index.d.ts",
"import": "./dist/es/main.mjs",
"require": "./dist/cjs/main.js",
"default": "./dist/es/main.mjs"
},
"./maplibre": {
"types": "./dist/maplibre/types/maplibre.index.d.ts",
"import": "./dist/maplibre/es/main.mjs",
"require": "./dist/maplibre/cjs/main.js",
"default": "./dist/maplibre/es/main.mjs"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"maplibre",
"mapbox"
],
"sideEffects": false,
"repository": {
"type": "git",
"url": "git+https://github.com/wendylabsinc/react-three-map.git"
},
"homepage": "https://github.com/wendylabsinc/react-three-map",
"bugs": {
"url": "https://github.com/wendylabsinc/react-three-map/issues"
},
"license": "MIT",
"author": "EdgeEngineer",
"engines": {
"node": ">=20.0.0"
},
"scripts": {
"prebuild": "tsc --project tsconfig.mapbox.json && tsc --project tsconfig.maplibre.json",
"build": "npm run build:maplibre && npm run build:mapbox",
"build:maplibre": "cross-env LIB_MODE=1 MAP_MODE=0 vite build",
"postbuild:maplibre": "cross-env LIB_MODE=2 MAP_MODE=0 vite build",
"build:mapbox": "cross-env LIB_MODE=1 MAP_MODE=1 vite build",
"postbuild:mapbox": "cross-env LIB_MODE=2 MAP_MODE=1 vite build",
"release": "npm run build && npm run changeset:publish",
"changeset:publish": "changeset publish",
"lint": "eslint src example-maplibre/src example-mapbox/src stories --ext ts,tsx --fix",
"preview": "vite preview",
"ts": "tsc -w",
"ts:check": "tsc",
"dev": "npm run storybook",
"storybook": "storybook dev -p 6006",
"build:storybook": "storybook build",
"preview:storybook": "npx serve storybook-static",
"typedoc": "typedoc",
"typedoc:watch": "typedoc --watch",
"preview:typedoc": "npx serve docs",
"test": "npm run vitest",
"vitest": "vitest",
"verify:pack": "node scripts/verify-pack.mjs"
},
"devDependencies": {
"@changesets/cli": "^2.26.1",
"@chromatic-com/storybook": "^1.9.0",
"@react-three/drei": "^9.122.0",
"@react-three/fiber": "^8.18.0",
"@react-three/postprocessing": "^2.19.1",
"@storybook/addon-actions": "^8.6.14",
"@storybook/addon-controls": "^8.6.14",
"@storybook/addon-essentials": "^8.6.14",
"@storybook/addon-links": "^8.6.14",
"@storybook/blocks": "^8.6.14",
"@storybook/react": "^8.6.14",
"@storybook/react-vite": "^8.6.14",
"@storybook/test": "^8.6.14",
"@thatopen/components": "^3.1.1",
"@thatopen/components-front": "^3.1.3",
"@types/luxon": "^3.3.1",
"@types/node": "^20.19.23",
"@types/react": "^18.0.37",
"@types/react-dom": "^18.0.11",
"@types/suncalc": "^1.9.0",
"@types/three": "^0.175.0",
"@types/tz-lookup": "^6.1.0",
"@typescript-eslint/eslint-plugin": "^5.59.11",
"@typescript-eslint/parser": "^5.59.11",
"@vitejs/plugin-react": "^5.1.0",
"cross-env": "^7.0.3",
"eslint": "^8.38.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.3.4",
"glob": "^11.0.3",
"happy-dom": "^10.5.2",
"leva": "^0.9.35",
"luxon": "^3.3.0",
"mapbox-gl": "^3.9.4",
"maplibre-gl": "^5.6.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-map-gl": "^8.0.1",
"storybook": "^8.6.14",
"suncalc": "^1.9.0",
"suspend-react": "^0.1.3",
"three": "^0.175.0",
"three-stdlib": "^2.28.7",
"typedoc": "^0.28.15",
"typescript": "~5.0.2",
"tz-lookup": "^6.1.25",
"vite": "^6.4.0",
"vitest": "^0.33.0",
"web-ifc": "^0.0.72"
},
"peerDependencies": {
"@react-three/drei": ">=9.0.0",
"@react-three/fiber": ">=8.13",
"mapbox-gl": ">=3.5.0",
"maplibre-gl": ">=4.0.0",
"react": ">=18.0",
"react-map-gl": ">=8.0.0",
"three": ">=0.133"
},
"peerDependenciesMeta": {
"mapbox-gl": {
"optional": true
},
"maplibre-gl": {
"optional": true
}
},
"publishConfig": {
"access": "public"
}
}