UNPKG

1.73 kBJSONView Raw
1{
2 "name": "react-leaflet",
3 "version": "4.2.1",
4 "description": "React components for Leaflet maps",
5 "repository": {
6 "type": "git",
7 "url": "https://github.com/PaulLeCam/react-leaflet.git"
8 },
9 "keywords": [
10 "react-component",
11 "react",
12 "leaflet",
13 "map"
14 ],
15 "author": "Paul Le Cam <paul@ulem.net>",
16 "license": "Hippocratic-2.1",
17 "bugs": {
18 "url": "https://github.com/PaulLeCam/react-leaflet/issues"
19 },
20 "homepage": "https://react-leaflet.js.org",
21 "type": "module",
22 "main": "lib/index.js",
23 "types": "lib/index.d.ts",
24 "exports": {
25 ".": "./lib/index.js",
26 "./*": "./lib/*.js"
27 },
28 "files": [
29 "lib/*"
30 ],
31 "sideEffects": false,
32 "dependencies": {
33 "@react-leaflet/core": "^2.1.0"
34 },
35 "peerDependencies": {
36 "leaflet": "^1.9.0",
37 "react": "^18.0.0",
38 "react-dom": "^18.0.0"
39 },
40 "devDependencies": {
41 "@types/geojson": "^7946.0.10",
42 "@types/leaflet": "^1.9.1",
43 "@types/react": "^18.0.28",
44 "@types/react-dom": "^18.0.11"
45 },
46 "jest": {
47 "extensionsToTreatAsEsm": [
48 ".ts",
49 ".tsx"
50 ],
51 "resolver": "ts-jest-resolver",
52 "testEnvironment": "jsdom",
53 "transform": {
54 "^.+\\.(t|j)sx?$": [
55 "@swc/jest",
56 {
57 "root": "../.."
58 }
59 ]
60 }
61 },
62 "scripts": {
63 "build:clean": "del lib",
64 "build:js": "swc src -d ./lib --config-file ../../.swcrc",
65 "build:types": "tsc --emitDeclarationOnly",
66 "build": "pnpm run build:clean && pnpm run build:types && pnpm run build:js",
67 "test:types": "tsc --noEmit",
68 "test:unit": "cross-env NODE_ENV=test jest",
69 "test": "pnpm run test:types && pnpm run test:unit",
70 "start": "pnpm run test && pnpm run build"
71 }
72}
\No newline at end of file