1 | {
|
2 | "name": "@antv/g6",
|
3 | "version": "3.8.5",
|
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/graph/graph-watermarker-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 | "@ant-design/colors": "^4.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.2",
|
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 | "color": "^3.1.3",
|
86 | "d3-force": "^2.0.1",
|
87 | "dagre": "^0.8.5",
|
88 | "insert-css": "^2.0.0",
|
89 | "ml-matrix": "^6.5.0"
|
90 | },
|
91 | "devDependencies": {
|
92 | "@antv/chart-node-g6": "^0.0.3",
|
93 | "@antv/gatsby-theme-antv": "^1.0.0-beta.11",
|
94 | "@babel/core": "^7.7.7",
|
95 | "@babel/plugin-proposal-class-properties": "^7.1.0",
|
96 | "@babel/preset-react": "^7.7.4",
|
97 | "@storybook/addon-actions": "^5.2.8",
|
98 | "@storybook/addon-info": "^5.2.8",
|
99 | "@storybook/addon-knobs": "^5.2.8",
|
100 | "@storybook/react": "^5.2.8",
|
101 | "@turf/turf": "^5.1.6",
|
102 | "@types/jest": "^25.2.1",
|
103 | "@types/node": "13.11.1",
|
104 | "@typescript-eslint/eslint-plugin": "^3.9.0",
|
105 | "@umijs/fabric": "^2.0.0",
|
106 | "awesome-typescript-loader": "^5.2.1",
|
107 | "babel-loader": "^8.0.6",
|
108 | "eslint": "^7.7.0",
|
109 | "event-simulate": "~1.0.0",
|
110 | "jquery": "^3.5.1",
|
111 | "father": "^2.29.1",
|
112 | "gatsby": "^2.24.40",
|
113 | "gh-pages": "^2.1.1",
|
114 | "husky": "^4.2.5",
|
115 | "jest": "^26.0.1",
|
116 | "jest-electron": "^0.1.7",
|
117 | "jest-extended": "^0.11.2",
|
118 | "lint-staged": "^10.2.11",
|
119 | "pre-commit": "^1.2.2",
|
120 | "prettier": "^2.0.5",
|
121 | "react": "^16.13.1",
|
122 | "react-dom": "^16.13.1",
|
123 | "react-i18next": "^11.1.0",
|
124 | "rimraf": "^3.0.0",
|
125 | "ts-jest": "^24.1.0",
|
126 | "ts-loader": "^7.0.3",
|
127 | "typedoc": "^0.17.6",
|
128 | "typedoc-plugin-markdown": "^2.2.11",
|
129 | "typescript": "^3.5.3",
|
130 | "webpack": "^4.41.4",
|
131 | "webpack-cli": "^3.3.10",
|
132 | "worker-loader": "^3.0.0"
|
133 | }
|
134 | } |
\ | No newline at end of file |