forked from antvis/G6VP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
82 lines (82 loc) · 2.28 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
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
{
"engines": {
"node": "^16",
"pnpm": "^8"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"postinstall": "npm run build:all:es",
"build": "npm run build:all:es && npm run build:all:umd",
"build:all:es": "turbo run build:es",
"build:all:umd": "turbo run build:umd --no-cache",
"start": "cd packages/gi-site && npm run start",
"clean": "pnpm run -r clean",
"sync": "turbo run sync",
"beforepublish": "npm run build",
"publish": "npm run beforepublish && pnpm publish -r --registry=https://registry.npmjs.org && npm run afterpublish",
"afterpublish": "turbo run sync",
"cdn": "node ./scripts/publish_yuyan.mjs",
"tar:gi-httpservice": "node scripts/tar_httpservice.mjs && cd packages/gi-httpservice-xxx && npm install && npm run build:docker && npm run tar && cd ../../ && node scripts/rm_httpservice.mjs",
"scriptname": "cmd"
},
"pnpm": {
"peerDependencyRules": {
"allowedVersions": {
"react": "17"
}
},
"overrides": {
"antd": "^4.24.10"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"git add"
]
},
"dependencies": {
"@ant-design/icons": "^4.7.0",
"@antv/algorithm": "^0.1.26-beta.0",
"@antv/g6": "^4.8.19",
"@antv/graphin": "^2.7.27",
"@antv/layout": "^0.3.22",
"@antv/s2": "^1.48.0",
"@antv/s2-react": "^1.41.0",
"@antv/util": "^3.2.5",
"antd": "4.x",
"buffer": "^6.0.3",
"buffer-browserify": "^0.2.5",
"node-fetch": "^3.3.0",
"react": "17",
"react-dom": "17.x",
"stream-browserify": "^3.0.0",
"umi": "3.x"
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@changesets/cli": "^2.26.1",
"@types/react": "17.x",
"@types/react-dom": "17.x",
"babel-loader": "^8.2.5",
"css-loader": "^6.8.1",
"father": "^2.30.23",
"fs-extra": "^10.1.0",
"husky": "^8.0.3",
"less-loader": "^11.0.0",
"mini-css-extract-plugin": "^2.7.6",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2",
"source-map-loader": "^4.0.0",
"style-loader": "^3.3.1",
"ts-loader": "^9.4.2",
"turbo": "^1.8.3",
"webpack": "^5.88.0",
"webpack-cli": "^5.0.0"
}
}