forked from antvis/G6VP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 1.92 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
{
"engines": {
"node": ">=14.0.0"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"postinstall": "npm run build:all:es",
"build:all:es": "turbo run build:es",
"build:all:umd": "turbo run build:umd",
"start": "cd packages/gi-site && npm run start",
"clean": "pnpm run -r clean",
"publish": "pnpm publish -r --registry=https://registry.npmjs.org",
"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"
},
"pnpm": {
"peerDependencyRules": {
"allowedVersions": {
"react": "17"
}
},
"overrides": {
"antd": "4.x"
}
},
"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.8",
"@antv/graphin": "^2.7.15",
"@antv/layout": "^0.3.22",
"@antv/s2": "^1.29.0",
"@antv/s2-react": "^1.26.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": {
"@changesets/cli": "^2.26.1",
"@types/react": "17.x",
"@types/react-dom": "17.x",
"babel-loader": "^8.2.5",
"css-loader": "^6.7.1",
"father": "^2.30.6",
"fs-extra": "^10.1.0",
"less-loader": "^11.0.0",
"mini-css-extract-plugin": "^2.3.0",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2",
"source-map-loader": "^4.0.0",
"style-loader": "^3.3.1",
"ts-loader": "^9.3.1",
"turbo": "^1.8.3",
"webpack": "^5.53.0",
"webpack-cli": "^4.8.0"
}
}