mirror of
https://gitee.com/antv/g6.git
synced 2024-12-02 11:48:29 +08:00
107 lines
2.8 KiB
JSON
107 lines
2.8 KiB
JSON
{
|
|
"name": "@antv/g6",
|
|
"version": "3.3.0",
|
|
"description": "A Graph Visualization Framework in JavaScript",
|
|
"main": "lib/index.js",
|
|
"module": "esm/index.js",
|
|
"types": "types/index.d.ts",
|
|
"browser": "dist/g6.min.js",
|
|
"files": [
|
|
"package.json",
|
|
"esm",
|
|
"lib",
|
|
"dist",
|
|
"LICENSE",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"start": "npm run site:develop",
|
|
"site:develop": "gatsby develop --open -H 0.0.0.0",
|
|
"site:build": "npm run site:clean && gatsby build --prefix-paths",
|
|
"site:clean": "gatsby clean",
|
|
"build": "npm run clean && run-p build:*",
|
|
"build:esm": "tsc -p tsconfig.json --target ES5 --module ESNext --outDir esm",
|
|
"build:cjs": "tsc -p tsconfig.json --target ES5 --module commonjs --outDir lib",
|
|
"build:umd": "webpack --config webpack.config.js --mode production",
|
|
"clean": "rimraf esm lib dist",
|
|
"lint": "lint-staged",
|
|
"test": "jest",
|
|
"test-live": "DEBUG_MODE=1 jest --watch ./tests/unit/",
|
|
"coverage": "jest --coverage",
|
|
"ci": "run-s build coverage",
|
|
"doc": "rimraf apis && typedoc",
|
|
"dist": "webpack --config webpack.config.js --mode production"
|
|
},
|
|
"dependencies": {
|
|
"@antv/dom-util": "^2.0.1",
|
|
"@antv/event-emitter": "~0.1.0",
|
|
"@antv/g-base": "^0.1.0-beta.10",
|
|
"@antv/g-canvas": "^0.3.2",
|
|
"@antv/matrix-util": "^2.0.4",
|
|
"@antv/path-util": "^2.0.3",
|
|
"@antv/scale": "^0.2.0",
|
|
"@antv/util": "~2.0.5",
|
|
"tslib": "^1.10.0"
|
|
},
|
|
"devDependencies": {
|
|
"@antv/gatsby-theme-antv": "^0.9.25",
|
|
"@types/jest": "^24.0.18",
|
|
"gatsby": "^2.17.9",
|
|
"gh-pages": "^2.1.1",
|
|
"husky": "^3.0.4",
|
|
"insert-css": "^2.0.0",
|
|
"jest": "^24.9.0",
|
|
"jest-electron": "^0.1.7",
|
|
"jest-extended": "^0.11.2",
|
|
"lint-staged": "^9.2.3",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^1.18.2",
|
|
"react-i18next": "^11.1.0",
|
|
"rimraf": "^3.0.0",
|
|
"ts-jest": "^24.1.0",
|
|
"ts-loader": "^6.2.1",
|
|
"tslint": "^5.18.0",
|
|
"tslint-config-prettier": "^1.18.0",
|
|
"typedoc": "^0.15.0",
|
|
"typedoc-plugin-markdown": "^2.2.11",
|
|
"typescript": "^3.5.3",
|
|
"webpack-cli": "^3.3.10",
|
|
"event-simulate": "~1.0.0"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "run-s lint build test"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,css,json,md}": [
|
|
"prettier --write",
|
|
"git add"
|
|
],
|
|
"*.{ts}": [
|
|
"tslint -c tslint.json --fix",
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/antvis/g6"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/antvis/g6/issues"
|
|
},
|
|
"keywords": [
|
|
"antv",
|
|
"g6",
|
|
"graph",
|
|
"relational data",
|
|
"graph visualization",
|
|
"graph editor",
|
|
"graph analysis"
|
|
],
|
|
"homepage": "https://github.com/antvis/g6",
|
|
"author": "https://github.com/orgs/antvis/people",
|
|
"license": "MIT"
|
|
}
|