mirror of
https://gitee.com/antv/g6.git
synced 2024-12-05 05:09:07 +08:00
127 lines
3.6 KiB
JSON
127 lines
3.6 KiB
JSON
{
|
|
"name": "@antv/g6-pc",
|
|
"version": "0.3.2",
|
|
"description": "A Graph Visualization Framework in JavaScript",
|
|
"keywords": [
|
|
"antv",
|
|
"g6",
|
|
"graph",
|
|
"graph analysis",
|
|
"graph editor",
|
|
"graph visualization",
|
|
"relational data"
|
|
],
|
|
"homepage": "https://g6.antv.vision",
|
|
"bugs": {
|
|
"url": "https://github.com/antvis/g6/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/antvis/g6"
|
|
},
|
|
"license": "MIT",
|
|
"author": "https://github.com/orgs/antvis/people",
|
|
"files": [
|
|
"package.json",
|
|
"es",
|
|
"lib",
|
|
"dist",
|
|
"LICENSE",
|
|
"README.md"
|
|
],
|
|
"main": "lib/index.js",
|
|
"module": "es/index.js",
|
|
"unpkg": "dist/g6.min.js",
|
|
"types": "lib/index.d.ts",
|
|
"scripts": {
|
|
"start": "father build --watch",
|
|
"build": "npm run clean && father build && npm run build:umd",
|
|
"build:umd": "webpack --config webpack.config.js --mode production",
|
|
"build:umd:profile": "webpack --config webpack.config.js --mode production --profile --json > stats.json",
|
|
"ci": "npm run build && npm run coverage",
|
|
"clean": "rimraf es esm lib dist",
|
|
"coverage": "jest --coverage",
|
|
"demos": "start-storybook -p 8080 -c .storybook",
|
|
"doc": "rimraf apis && typedoc",
|
|
"lint": "eslint --ext .js,.jsx,.ts,.tsx --format=pretty \"./\"",
|
|
"lint:src": "eslint --ext .ts --format=pretty \"./src\"",
|
|
"prettier": "prettier -c --write \"**/*\"",
|
|
"test": "jest",
|
|
"test-live": "DEBUG_MODE=1 jest --watch ./tests/unit/layout/combo-force-spec.ts",
|
|
"lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx",
|
|
"watch": "father build -w",
|
|
"cdn": "antv-bin upload -n @antv/g6"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"**/*.{js,jsx,ts,tsx}": [
|
|
"npm run lint-staged:js",
|
|
"prettier --write"
|
|
],
|
|
"**/*.{less,md,json}": [
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@ant-design/colors": "^4.0.5",
|
|
"@antv/dom-util": "^2.0.1",
|
|
"@antv/event-emitter": "~0.1.0",
|
|
"@antv/g-base": "^0.5.1",
|
|
"@antv/g-canvas": "^0.5.2",
|
|
"@antv/g-math": "^0.1.1",
|
|
"@antv/g-svg": "^0.5.1",
|
|
"@antv/g6-core": "0.3.2",
|
|
"@antv/g6-plugin": "0.3.2",
|
|
"@antv/g6-element": "0.3.2",
|
|
"@antv/algorithm": "^0.1.8",
|
|
"@antv/hierarchy": "^0.6.7",
|
|
"@antv/layout": "^0.1.14",
|
|
"@antv/matrix-util": "^3.0.4",
|
|
"@antv/path-util": "^2.0.3",
|
|
"@antv/util": "~2.0.5",
|
|
"color": "^3.1.3",
|
|
"d3-force": "^2.0.1",
|
|
"dagre": "^0.8.5",
|
|
"insert-css": "^2.0.0",
|
|
"ml-matrix": "^6.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.7.7",
|
|
"@babel/plugin-proposal-class-properties": "^7.1.0",
|
|
"@babel/preset-react": "^7.7.4",
|
|
"@storybook/addon-actions": "^5.2.8",
|
|
"@storybook/addon-info": "^5.2.8",
|
|
"@storybook/addon-knobs": "^5.2.8",
|
|
"@storybook/react": "^5.2.8",
|
|
"@turf/turf": "^5.1.6",
|
|
"@types/jest": "^25.2.1",
|
|
"@types/node": "13.11.1",
|
|
"@typescript-eslint/eslint-plugin": "^4.11.1",
|
|
"@umijs/fabric": "^2.0.0",
|
|
"awesome-typescript-loader": "^5.2.1",
|
|
"babel-loader": "^8.0.6",
|
|
"eslint": "^7.7.0",
|
|
"event-simulate": "~1.0.0",
|
|
"jquery": "~3.5.1",
|
|
"father": "^2.29.1",
|
|
"husky": "^4.2.5",
|
|
"jest": "^26.0.1",
|
|
"jest-electron": "^0.1.7",
|
|
"jest-extended": "^0.11.2",
|
|
"lint-staged": "^10.2.11",
|
|
"pre-commit": "^1.2.2",
|
|
"prettier": "^2.0.5",
|
|
"rimraf": "^3.0.0",
|
|
"ts-jest": "^24.1.0",
|
|
"ts-loader": "^7.0.3",
|
|
"typescript": "^3.9.5",
|
|
"webpack": "^4.41.4",
|
|
"webpack-cli": "^3.3.10",
|
|
"worker-loader": "^3.0.0",
|
|
"stats-js": "1.0.1"
|
|
}
|
|
} |