UNPKG

2.55 kBJSONView Raw
1{
2 "name": "@antv/g6",
3 "version": "4.8.24",
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.antgroup.com",
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 "husky": {
37 "hooks": {
38 "pre-commit": "lint-staged"
39 }
40 },
41 "lint-staged": {
42 "**/*.{js,jsx,ts,tsx}": [
43 "npm run lint-staged:js",
44 "prettier --write"
45 ],
46 "**/*.{less,md,json}": [
47 "prettier --write"
48 ]
49 },
50 "dependencies": {
51 "@antv/g6-pc": "0.8.24"
52 },
53 "devDependencies": {
54 "@babel/core": "^7.7.7",
55 "@babel/plugin-proposal-class-properties": "^7.1.0",
56 "@babel/preset-env": "^7.23.3",
57 "@babel/preset-react": "^7.7.4",
58 "@turf/turf": "^5.1.6",
59 "@types/jest": "^25.2.1",
60 "@types/node": "20.10.0",
61 "@typescript-eslint/eslint-plugin": "^4.11.1",
62 "@umijs/fabric": "^2.0.0",
63 "babel-loader": "^8.0.6",
64 "eslint": "^7.7.0",
65 "event-simulate": "~1.0.0",
66 "father": "^2.29.1",
67 "husky": "^4.2.5",
68 "lint-staged": "^10.2.11",
69 "pre-commit": "^1.2.2",
70 "prettier": "^2.0.5",
71 "rimraf": "^3.0.0",
72 "ts-loader": "^7.0.3",
73 "typescript": "^5.3.2",
74 "webpack": "^4.41.4",
75 "webpack-cli": "^3.3.10"
76 },
77 "scripts": {
78 "start": "father build --watch",
79 "build": "npm run clean && father build && npm run build:umd",
80 "build:umd": "webpack --config webpack.config.js --mode production",
81 "ci": "npm run build && npm run coverage",
82 "clean": "rimraf es esm lib dist",
83 "coverage": "jest --coverage",
84 "doc": "rimraf apis && typedoc",
85 "lint": "eslint --ext .js,.jsx,.ts,.tsx --format=pretty \"./\"",
86 "lint:src": "eslint --ext .ts --format=pretty \"./src\"",
87 "prettier": "prettier -c --write \"**/*\"",
88 "test": "jest --passWithNoTests",
89 "test-live": "DEBUG_MODE=1 jest --watch ./tests/unit/graph/graph-watermarker-spec.ts",
90 "lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx",
91 "watch": "father build -w",
92 "cdn": "antv-bin upload -n @antv/g6"
93 }
94}
\No newline at end of file