Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 2.65 KB
/
Copy pathpackage.json
File metadata and controls
95 lines (95 loc) · 2.65 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
{
"name": "react-simple-maps",
"version": "5.0.5",
"description": "React components to build maps with d3-geo, with optional zoom/pan support",
"main": "dist/index.cjs.js",
"module": "dist/index.es.js",
"browser": "dist/index.umd.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.es.js",
"require": "./dist/index.cjs.js"
},
"./core": {
"types": "./dist/core/index.d.ts",
"import": "./dist/core/index.es.js",
"require": "./dist/core/index.cjs.js"
},
"./zoom": {
"types": "./dist/zoom/index.d.ts",
"import": "./dist/zoom/index.es.js",
"require": "./dist/zoom/index.cjs.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "rollup -c && npm run build:types",
"build:types": "tsc -p tsconfig.build.json",
"watch": "rollup -cw",
"test": "vitest",
"test:types": "bash scripts/smoke-types.sh",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zcreativelabs/react-simple-maps.git"
},
"keywords": [
"react",
"maps",
"charts",
"worldmap",
"usa",
"d3-geo"
],
"author": "Richard Zimerman <richard@zcreativelabs.com> (https://github.com/zimrick)",
"license": "MIT",
"bugs": {
"url": "https://github.com/zcreativelabs/react-simple-maps/issues"
},
"homepage": "https://www.react-simple-maps.io/",
"peerDependencies": {
"react": "^16.8.0 || 17.x || 18.x || 19.x",
"react-dom": "^16.8.0 || 17.x || 18.x || 19.x"
},
"dependencies": {
"@types/d3-geo": "^3.1.1",
"@types/d3-zoom": "^3.0.8",
"@types/geojson": "^7946.0.13",
"@types/topojson-specification": "^1.0.5",
"d3-color": "^3.1.0",
"d3-geo": "^3.1.0",
"d3-interpolate": "^3.0.1",
"d3-selection": "^3.0.0",
"d3-zoom": "^3.0.0",
"topojson-client": "^3.1.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-node-resolve": "^15.0.0",
"@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "^12.0.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.2",
"@types/d3-color": "^3.1.3",
"@types/d3-interpolate": "^3.0.4",
"@types/d3-selection": "^3.0.11",
"@types/node": "^20.0.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@types/topojson-client": "^3.1.5",
"@vitejs/plugin-react": "^4.0.0",
"@vitest/coverage-v8": "^2.1.9",
"jsdom": "^29.1.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rollup": "^4.0.0",
"tslib": "^2.0.0",
"typescript": "^5.0.0",
"vitest": "^2.0.0"
}
}