-
Notifications
You must be signed in to change notification settings - Fork 97
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.09 KB
/
Copy pathpackage.json
File metadata and controls
77 lines (77 loc) · 2.09 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
{
"name": "react-bmap",
"version": "2.0.3",
"description": "React components for Baidu Map JSAPI",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
}
},
"files": [
"dist"
],
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"scripts": {
"start": "npm run examples",
"build": "vite build",
"dev": "vite build --watch",
"examples": "vite --config vite.examples.config.ts --host",
"examples:build": "vite build --config vite.examples.config.ts --base=./ --outDir ../docs --emptyOutDir",
"test": "vitest run",
"test:watch": "vitest",
"test:cov": "vitest run --coverage",
"test:manual": "vite --config test/vite.config.ts --host",
"typecheck": "tsc --noEmit",
"test:presence": "node scripts/check-test-presence.mjs",
"preflight": "npm run typecheck && npm run test && npm run test:presence && npm run build",
"prepublishOnly": "npm run build"
},
"peerDependencies": {
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"dependencies": {
"@baidumap/jsapi-loader": "^1.0.0"
},
"devDependencies": {
"@baidumap/jsapi-v4-types": "^4.0.3",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.10.0",
"@testing-library/react": "^16.3.2",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@vitejs/plugin-react": "^4.2.0",
"@vitest/coverage-v8": "^2.1.9",
"jsdom": "^25.0.1",
"prism-react-renderer": "^2.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^7.13.1",
"typescript": "~5.3.0",
"vite": "^5.0.0",
"vite-plugin-dts": "^3.0.0",
"vitest": "^2.1.9"
},
"repository": {
"type": "git",
"url": "git+https://github.com/huiyan-fe/react-bmap.git"
},
"license": "MIT",
"keywords": [
"react",
"baidu",
"map",
"bmap",
"bmapgl"
]
}