UNPKG

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