UNPKG

3.86 kBJSONView Raw
1{
2 "name": "@antv/g6",
3 "version": "3.8.0",
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 "browser": "dist/g6.min.js",
35 "types": "lib/index.d.ts",
36 "scripts": {
37 "build": "npm run clean && father build && npm run build:umd",
38 "build:umd": "webpack --config webpack.config.js --mode production",
39 "ci": "npm run build && npm run coverage",
40 "clean": "rimraf es esm lib dist",
41 "coverage": "jest --coverage",
42 "demos": "start-storybook -p 8080 -c .storybook",
43 "doc": "rimraf apis && typedoc",
44 "lint": "eslint --ext .js,.jsx,.ts,.tsx --format=pretty \"./\"",
45 "lint:src": "eslint --ext .ts --format=pretty \"./src\"",
46 "prettier": "prettier -c --write \"**/*\"",
47 "site:build": "npm run site:clean && GATSBY=true gatsby build --prefix-paths",
48 "site:clean": "gatsby clean",
49 "site:develop": "GATSBY=true gatsby develop --open",
50 "site:deploy": "npm run site:build && gh-pages -d public",
51 "start": "npm run site:develop",
52 "test": "jest",
53 "test-live": "DEBUG_MODE=1 jest --watch ./tests/unit/plugins/timebar-spec.ts",
54 "lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx",
55 "watch": "father build -w",
56 "cdn": "antv-bin upload -n @antv/g6"
57 },
58 "husky": {
59 "hooks": {
60 "pre-commit": "lint-staged"
61 }
62 },
63 "lint-staged": {
64 "**/*.{js,jsx,ts,tsx}": [
65 "npm run lint-staged:js",
66 "prettier --write"
67 ],
68 "**/*.{less,md,json}": [
69 "prettier --write"
70 ]
71 },
72 "dependencies": {
73 "@antv/color-util": "^2.0.5",
74 "@antv/dom-util": "^2.0.1",
75 "@antv/event-emitter": "~0.1.0",
76 "@antv/g-base": "^0.5.1",
77 "@antv/g-canvas": "^0.5.1",
78 "@antv/g-math": "^0.1.1",
79 "@antv/g-svg": "^0.5.1",
80 "@antv/hierarchy": "^0.6.2",
81 "@antv/matrix-util": "^2.0.4",
82 "@antv/path-util": "^2.0.3",
83 "@antv/scale": "^0.3.1",
84 "@antv/util": "~2.0.5",
85 "d3-force": "^2.0.1",
86 "dagre": "^0.8.5",
87 "insert-css": "^2.0.0",
88 "ml-matrix": "^6.5.0"
89 },
90 "devDependencies": {
91 "@antv/chart-node-g6": "^0.0.3",
92 "@antv/gatsby-theme-antv": "^0.11.1",
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": "^3.9.0",
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 "father": "^2.29.1",
110 "gatsby": "^2.24.40",
111 "gh-pages": "^2.1.1",
112 "husky": "^4.2.5",
113 "jest": "^26.0.1",
114 "jest-electron": "^0.1.7",
115 "jest-extended": "^0.11.2",
116 "lint-staged": "^10.2.11",
117 "pre-commit": "^1.2.2",
118 "prettier": "^2.0.5",
119 "react": "^16.13.1",
120 "react-dom": "^16.13.1",
121 "react-i18next": "^11.1.0",
122 "rimraf": "^3.0.0",
123 "ts-jest": "^24.1.0",
124 "ts-loader": "^7.0.3",
125 "typedoc": "^0.17.6",
126 "typedoc-plugin-markdown": "^2.2.11",
127 "typescript": "^3.5.3",
128 "webpack": "^4.41.4",
129 "webpack-cli": "^3.3.10",
130 "worker-loader": "^3.0.0"
131 }
132}