-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
45 lines (45 loc) · 1.08 KB
/
package.json
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
{
"name": "@berryv/g2-react",
"version": "0.1.0",
"description": "The lightweight React Component for @antv/g2.",
"author": {
"name": "pearmini",
"url": "https://github.com/pearmini"
},
"license": "ISC",
"type": "module",
"main": "lib/index.js",
"module": "es/index.js",
"types": "es/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/berry-vis/g2-react"
},
"files": [
"lib",
"es"
],
"scripts": {
"dev": "vite dev",
"build": "npm run build:lib && npm run build:es",
"build:lib": "rm -rf lib && tsc --module commonjs --outDir lib",
"build:es": "rm -rf es && tsc --module esnext --outDir es",
"prepublishOnly": "npm run build"
},
"sideEffects": false,
"peerDependencies": {
"@antv/g2": "^5.1.6",
"react": "^18.2.0"
},
"devDependencies": {
"@antv/g-svg": "^1.10.14",
"@antv/g2": "^5.1.6",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"jsdom": "^22.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.2.2",
"vite": "^4.4.9"
}
}