UNPKG

3.65 kBJSONView Raw
1{
2 "name": "@antv/g6-pc",
3 "version": "0.5.1",
4 "description": "A Graph Visualization Framework in JavaScript",
5 "keywords": [
6 "antv",
7 "g6",
8 "graph",
9 "graph analysis",
10 "graph editor",
11 "graph visualization",
12 "relational data"
13 ],
14 "homepage": "https://g6.antv.vision",
15 "bugs": {
16 "url": "https://github.com/antvis/g6/issues"
17 },
18 "repository": {
19 "type": "git",
20 "url": "https://github.com/antvis/g6"
21 },
22 "license": "MIT",
23 "author": "https://github.com/orgs/antvis/people",
24 "files": [
25 "package.json",
26 "es",
27 "lib",
28 "dist",
29 "LICENSE",
30 "README.md"
31 ],
32 "main": "lib/index.js",
33 "module": "es/index.js",
34 "unpkg": "dist/g6.min.js",
35 "types": "lib/index.d.ts",
36 "scripts": {
37 "start": "father build --watch",
38 "build": "npm run clean && father build && npm run build:umd",
39 "build:umd": "webpack --config webpack.config.js --mode production",
40 "build:umd:profile": "webpack --config webpack.config.js --mode production --profile --json > stats.json",
41 "ci": "npm run build && npm run coverage",
42 "clean": "rimraf es esm lib dist",
43 "coverage": "jest --coverage",
44 "demos": "start-storybook -p 8080 -c .storybook",
45 "doc": "rimraf apis && typedoc",
46 "lint": "eslint --ext .js,.jsx,.ts,.tsx --format=pretty \"./\"",
47 "lint:src": "eslint --ext .ts --format=pretty \"./src\"",
48 "prettier": "prettier -c --write \"**/*\"",
49 "test": "jest",
50 "test-live": "DEBUG_MODE=1 jest --watch ./tests/unit/layout/pipes-spec.ts",
51 "lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx",
52 "watch": "father build -w",
53 "cdn": "antv-bin upload -n @antv/g6"
54 },
55 "husky": {
56 "hooks": {
57 "pre-commit": "lint-staged"
58 }
59 },
60 "lint-staged": {
61 "**/*.{js,jsx,ts,tsx}": [
62 "npm run lint-staged:js",
63 "prettier --write"
64 ],
65 "**/*.{less,md,json}": [
66 "prettier --write"
67 ]
68 },
69 "dependencies": {
70 "@ant-design/colors": "^4.0.5",
71 "@antv/dom-util": "^2.0.1",
72 "@antv/event-emitter": "~0.1.0",
73 "@antv/g-base": "^0.5.1",
74 "@antv/g-canvas": "^0.5.2",
75 "@antv/g-math": "^0.1.1",
76 "@antv/g-svg": "^0.5.1",
77 "@antv/g6-core": "0.5.1",
78 "@antv/g6-plugin": "0.5.1",
79 "@antv/g6-element": "0.5.1",
80 "@antv/algorithm": "^0.1.8",
81 "@antv/hierarchy": "^0.6.7",
82 "@antv/layout": "^0.1.22",
83 "@antv/matrix-util": "^3.1.0-beta.3",
84 "@antv/path-util": "^2.0.3",
85 "@antv/util": "~2.0.5",
86 "color": "^3.1.3",
87 "d3-force": "^2.0.1",
88 "dagre": "^0.8.5",
89 "insert-css": "^2.0.0",
90 "ml-matrix": "^6.5.0"
91 },
92 "devDependencies": {
93 "@babel/core": "^7.7.7",
94 "@babel/plugin-proposal-class-properties": "^7.1.0",
95 "@babel/preset-react": "^7.7.4",
96 "@storybook/addon-actions": "^5.2.8",
97 "@storybook/addon-info": "^5.2.8",
98 "@storybook/addon-knobs": "^5.2.8",
99 "@storybook/react": "^5.2.8",
100 "@turf/turf": "^5.1.6",
101 "@types/jest": "^25.2.1",
102 "@types/node": "13.11.1",
103 "@typescript-eslint/eslint-plugin": "^4.11.1",
104 "@umijs/fabric": "^2.0.0",
105 "awesome-typescript-loader": "^5.2.1",
106 "babel-loader": "^8.0.6",
107 "eslint": "^7.7.0",
108 "event-simulate": "~1.0.0",
109 "jquery": "~3.5.1",
110 "father": "^2.29.1",
111 "husky": "^4.2.5",
112 "jest": "^26.0.1",
113 "jest-electron": "^0.1.7",
114 "jest-extended": "^0.11.2",
115 "lint-staged": "^10.2.11",
116 "pre-commit": "^1.2.2",
117 "prettier": "^2.0.5",
118 "rimraf": "^3.0.0",
119 "ts-jest": "^24.1.0",
120 "ts-loader": "^7.0.3",
121 "typescript": "^3.9.5",
122 "webpack": "^4.41.4",
123 "webpack-cli": "^3.3.10",
124 "worker-loader": "^3.0.0",
125 "stats-js": "1.0.1"
126 }
127}
\No newline at end of file