forked from antvis/G6VP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
82 lines (82 loc) · 2.85 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": ">=14.0.0"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"postinstall": "npm run build:all:es",
"build:all:es": "pnpm run -r build:es",
"start": "cd packages/gi-site && npm run start",
"gi-common-component": "cd packages/gi-common-components && npm run build:es",
"gi-sdk": "cd packages/gi-sdk && npm run build:es",
"gi-assets-basic": "cd packages/gi-assets-basic && npm run build:es",
"gi-assets-advance": "cd packages/gi-assets-advance && npm run build:es",
"gi-assets-algorithm": "cd packages/gi-assets-algorithm && npm run build:es",
"gi-assets-scene": "cd packages/gi-assets-scene && npm run build:es",
"gi-assets-graphscope": "cd packages/gi-assets-graphscope && npm run build:es",
"gi-assets-neo4j": "cd packages/gi-assets-neo4j && npm run build:es",
"gi-assets-tugraph": "cd packages/gi-assets-tugraph && npm run build:es",
"gi-theme-antd": "cd packages/gi-theme-antd && npm run build:es",
"build": "npm run build:site && npm run move:dist",
"build:assets": "cd packages/gi-assets-basic && NODE_OPTIONS=--max_old_space_size=2048 npm run build",
"build:basicAssets": "cd packages/gi-assets-basic && NODE_OPTIONS=--max_old_space_size=2048 npm run build",
"build:core": "cd packages/gi && NODE_OPTIONS=--max_old_space_size=2048 npm run build",
"build:site": "cd packages/gi-site && tnpm install && NODE_OPTIONS=--max_old_space_size=2048 npm run build",
"build:testing": "cd packages/gi-assets-testing && NODE_OPTIONS=--max_old_space_size=2048 npm run build",
"clean:all": "pnpm run -r clean",
"core": "cd packages/gi && npm run start",
"move:dist": "node ./deploy.js",
"site": "cd packages/gi-site && NODE_OPTIONS=--max_old_space_size=2048 npm run start"
},
"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.24",
"@antv/g6": "^4.7.8",
"@antv/graphin": "~2.7.9",
"@antv/layout": "^0.2.5",
"@antv/s2": "^1.29.0",
"@antv/s2-react": "^1.26.0",
"@antv/util": "^3.2.5",
"antd": "4.x",
"react": "17",
"react-dom": "17.x",
"umi": "3.x"
},
"devDependencies": {
"@types/react": "17.x",
"@types/react-dom": "17.x",
"babel-loader": "^8.2.5",
"css-loader": "^6.7.1",
"father": "^2.30.6",
"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",
"webpack": "^5.53.0",
"webpack-cli": "^4.8.0"
}
}