-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.23 KB
/
package.json
File metadata and controls
80 lines (80 loc) · 2.23 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
78
79
80
{
"name": "graph-demo",
"version": "0.1.0",
"description": "图渲染",
"scripts": {
"start": "node server.js",
"dev": "npm start",
"build:dev": "webpack --config ./tools/webpack.config.dev.js",
"build": "webpack --config ./tools/webpack.config.prod.js",
"postinstall": "husky install && husky add .husky/pre-commit \"npx lint-staged\""
},
"author": {
"name": "Bruce",
"email": "bruce.lu@vesoft.com"
},
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.0",
"@babel/preset-env": "^7.16.0",
"@babel/preset-react": "^7.16.0",
"@babel/preset-typescript": "^7.16.0",
"@types/react": "^17.0.33",
"@types/react-dom": "^17.0.10",
"@types/react-redux": "^7.1.20",
"@types/react-router-dom": "^5.3.2",
"@typescript-eslint/eslint-plugin": "^5.3.0",
"@typescript-eslint/parser": "^5.3.0",
"babel-loader": "^8.2.3",
"babel-plugin-import": "^1.13.3",
"clean-webpack-plugin": "^4.0.0",
"core-js": "^3.19.0",
"css-loader": "^6.5.0",
"cssnano": "^5.0.8",
"eslint": "^8.1.0",
"eslint-config-prettier": "^8.3.0",
"html-webpack-plugin": "^5.5.0",
"husky": "^7.0.4",
"less": "^4.1.2",
"less-loader": "^10.2.0",
"lint-staged": "^11.2.6",
"mini-css-extract-plugin": "^2.4.3",
"postcss-import": "^14.0.2",
"postcss-loader": "^6.2.0",
"postcss-preset-env": "^6.7.0",
"prettier": "^2.4.1",
"react-dev-utils": "^11.0.4",
"react-hot-loader": "^4.13.0",
"style-loader": "^3.3.1",
"typescript": "^4.4.4",
"webpack": "^5.61.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.4.0"
},
"dependencies": {
"@antv/g6": "^4.3.11",
"antd": "^4.16.13",
"axios": "^0.24.0",
"cytoscape": "^3.20.0",
"cytoscape-fcose": "^2.1.0",
"force-graph": "^1.42.4",
"history": "^5.0.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router-dom": "^5.3.0",
"vis-data": "^7.1.2",
"vis-network": "^9.1.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"./src/**/*.{js,jsx,ts,tsx}": [
"npx prettier --write",
"eslint './src/**/*.{js,jsx,ts,tsx}' --fix"
]
}
}