mirror of
https://gitee.com/antv/g6.git
synced 2024-11-29 18:28:19 +08:00
129 lines
3.7 KiB
JSON
129 lines
3.7 KiB
JSON
{
|
|
"name": "@antv/g6",
|
|
"version": "3.5.10",
|
|
"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",
|
|
"browser": "dist/g6.min.js",
|
|
"types": "lib/index.d.ts",
|
|
"scripts": {
|
|
"build": "npm run clean && father build && npm run build:umd",
|
|
"build:umd": "webpack --config webpack.config.js --mode production",
|
|
"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 --cache --ext .js,.jsx,.ts,.tsx --format=pretty \"./\"",
|
|
"lint:src": "eslint --cache --ext .ts --format=pretty \"./src\"",
|
|
"prettier": "prettier -c --write \"**/*\"",
|
|
"site:build": "npm run site:clean && GATSBY=true gatsby build --prefix-paths",
|
|
"site:clean": "gatsby clean",
|
|
"site:develop": "GATSBY=true gatsby develop --open",
|
|
"site:deploy": "npm run site:build && gh-pages -d public",
|
|
"start": "npm run site:develop",
|
|
"test": "jest",
|
|
"test-live": "DEBUG_MODE=1 jest --watch ./tests/unit/graph/tree-graph-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": "npm run lint"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"**/*.{js,jsx,tsx,ts,less,md,json}": [
|
|
"prettier --write",
|
|
"git add"
|
|
],
|
|
"**/*.{js,jsx}": "npm run lint-staged:js",
|
|
"**/*.{js,ts,tsx}": "npm run lint-staged:js"
|
|
},
|
|
"dependencies": {
|
|
"@antv/dom-util": "^2.0.1",
|
|
"@antv/event-emitter": "~0.1.0",
|
|
"@antv/g-base": "^0.4.1",
|
|
"@antv/g-canvas": "^0.5.0-beta.1",
|
|
"@antv/g-math": "^0.1.1",
|
|
"@antv/g-svg": "^0.5.0-beta.1",
|
|
"@antv/hierarchy": "^0.6.2",
|
|
"@antv/matrix-util": "^2.0.4",
|
|
"@antv/path-util": "^2.0.3",
|
|
"@antv/scale": "^0.3.1",
|
|
"@antv/util": "~2.0.5",
|
|
"d3-force": "^2.0.1",
|
|
"dagre": "^0.8.5",
|
|
"insert-css": "^2.0.0",
|
|
"ml-matrix": "^6.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@antv/gatsby-theme-antv": "^0.10.66",
|
|
"@babel/core": "^7.7.7",
|
|
"@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",
|
|
"@umijs/fabric": "^2.0.0",
|
|
"awesome-typescript-loader": "^5.2.1",
|
|
"babel-loader": "^8.0.6",
|
|
"event-simulate": "~1.0.0",
|
|
"father": "^2.29.1",
|
|
"gatsby": "^2.23.9",
|
|
"gh-pages": "^2.1.1",
|
|
"husky": "^4.2.5",
|
|
"jest": "^26.0.1",
|
|
"jest-electron": "^0.1.7",
|
|
"jest-extended": "^0.11.2",
|
|
"lint-staged": "^9.2.3",
|
|
"pre-commit": "^1.2.2",
|
|
"prettier": "^2.0.5",
|
|
"react": "^16.13.1",
|
|
"react-dom": "^16.13.1",
|
|
"react-i18next": "^11.1.0",
|
|
"rimraf": "^3.0.0",
|
|
"rollup-plugin-web-worker-loader": "^0.8.1",
|
|
"ts-jest": "^24.1.0",
|
|
"ts-loader": "^7.0.3",
|
|
"ttypescript": "^1.5.8",
|
|
"typedoc": "^0.17.6",
|
|
"typedoc-plugin-markdown": "^2.2.11",
|
|
"typescript": "^3.5.3",
|
|
"webpack": "^4.41.4",
|
|
"webpack-cli": "^3.3.10",
|
|
"worker-loader": "^2.0.0"
|
|
}
|
|
}
|