2018-06-05 23:58:10 +08:00
|
|
|
{
|
|
|
|
"name": "@antv/g6",
|
2019-11-17 19:33:24 +08:00
|
|
|
"version": "3.1.9-beta.1",
|
2018-06-07 11:46:14 +08:00
|
|
|
"description": "graph visualization frame work",
|
2018-07-03 10:48:51 +08:00
|
|
|
"main": "build/g6.js",
|
2019-10-21 11:44:16 +08:00
|
|
|
"types": "types/index.d.ts",
|
2018-06-05 23:58:10 +08:00
|
|
|
"homepage": "https://github.com/antvis/g6",
|
|
|
|
"author": "https://github.com/orgs/antvis/people",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git@github.com:antvis/g6.git"
|
|
|
|
},
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/antvis/g6/issues"
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"g6",
|
|
|
|
"relational data",
|
|
|
|
"graph visualization",
|
|
|
|
"graph editor",
|
|
|
|
"graph analysis"
|
|
|
|
],
|
|
|
|
"contributors": [
|
|
|
|
{
|
|
|
|
"email": "leanne06204@163.com",
|
|
|
|
"url": "https://github.com/AceLeeWinnie"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"email": "wyueliu@gmail.com",
|
|
|
|
"url": "https://github.com/liuwuyue"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"email": "deggs.k@gmail.com",
|
|
|
|
"url": "https://github.com/deggs7"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"license": "MIT",
|
|
|
|
"devDependencies": {
|
2019-11-20 09:40:15 +08:00
|
|
|
"@antv/gatsby-theme-antv": "^0.9.77",
|
2019-11-04 19:36:02 +08:00
|
|
|
"@antv/torch": "^1.0.5",
|
2018-09-11 17:32:02 +08:00
|
|
|
"@babel/cli": "^7.0.0",
|
|
|
|
"@babel/core": "^7.0.0",
|
|
|
|
"@babel/preset-env": "^7.0.0",
|
2018-06-05 23:58:10 +08:00
|
|
|
"babel-eslint": "~8.0.3",
|
2018-09-11 17:32:02 +08:00
|
|
|
"babel-loader": "^8.0.0",
|
2018-06-14 11:50:35 +08:00
|
|
|
"babel-plugin-module-resolver": "^3.1.1",
|
2018-06-05 23:58:10 +08:00
|
|
|
"babel-plugin-transform-remove-strict-mode": "~0.0.2",
|
2019-11-04 19:36:02 +08:00
|
|
|
"babel-preset-gatsby": "^0.2.20",
|
2018-06-05 23:58:10 +08:00
|
|
|
"body-parser": "~1.18.2",
|
|
|
|
"chai": "~4.1.2",
|
2018-08-15 16:14:44 +08:00
|
|
|
"chai-almost": "^1.0.1",
|
2018-06-05 23:58:10 +08:00
|
|
|
"clipboard": "^1.5.15",
|
|
|
|
"codemirror": "*",
|
|
|
|
"commander": "~2.12.2",
|
|
|
|
"connect": "~3.6.6",
|
|
|
|
"d3-queue": "~3.0.7",
|
|
|
|
"debug": "~3.1.0",
|
2019-08-27 19:38:21 +08:00
|
|
|
"electron": "~6.0.4",
|
2018-06-05 23:58:10 +08:00
|
|
|
"eslint": "~3.19.0",
|
|
|
|
"eslint-config-airbnb": "~15.0.1",
|
|
|
|
"eslint-config-egg": "~4.2.0",
|
|
|
|
"eslint-plugin-html": "~3.1.1",
|
|
|
|
"eslint-plugin-jsx-a11y": "~5.1.1",
|
|
|
|
"eslint-plugin-react": "~7.1.0",
|
|
|
|
"event-simulate": "~1.0.0",
|
2019-11-04 19:36:02 +08:00
|
|
|
"gatsby": "^2.16.0",
|
|
|
|
"get-port": "^5.0.0",
|
|
|
|
"gh-pages": "^2.1.1",
|
2019-07-18 17:57:31 +08:00
|
|
|
"hard-source-webpack-plugin": "~0.13.1",
|
2018-06-05 23:58:10 +08:00
|
|
|
"home": "~1.0.1",
|
2019-11-15 15:40:13 +08:00
|
|
|
"insert-css": "^2.0.0",
|
2018-06-06 09:57:46 +08:00
|
|
|
"jquery": "^3.3.1",
|
2018-06-05 23:58:10 +08:00
|
|
|
"jszip": "~3.1.5",
|
|
|
|
"nightmare": "~2.10.0",
|
2019-07-18 17:57:31 +08:00
|
|
|
"numericjs": "^1.2.6",
|
2018-06-05 23:58:10 +08:00
|
|
|
"nunjucks": "~3.0.1",
|
|
|
|
"open": "~0.0.5",
|
|
|
|
"parseurl": "~1.3.2",
|
|
|
|
"pre-commit": "~1.2.2",
|
2019-11-04 19:36:02 +08:00
|
|
|
"prettier": "^1.18.2",
|
2018-06-05 23:58:10 +08:00
|
|
|
"radixsort": "~1.0.0",
|
2019-11-04 19:36:02 +08:00
|
|
|
"react-i18next": "^11.0.1",
|
2018-06-05 23:58:10 +08:00
|
|
|
"serve-static": "~1.13.2",
|
|
|
|
"shelljs": "~0.7.8",
|
2018-08-31 20:58:48 +08:00
|
|
|
"svgson": "^2.1.1",
|
2018-06-05 23:58:10 +08:00
|
|
|
"uglify-js": "~3.1.10",
|
|
|
|
"webpack": "~4.10.2",
|
2018-07-20 20:27:02 +08:00
|
|
|
"webpack-cli": "~3.0.0",
|
2019-07-18 17:57:31 +08:00
|
|
|
"worker-loader": "^2.0.0"
|
2018-06-05 23:58:10 +08:00
|
|
|
},
|
|
|
|
"scripts": {
|
2019-11-04 19:36:02 +08:00
|
|
|
"start": "npm run site:develop",
|
|
|
|
"site:develop": "gatsby develop --open",
|
|
|
|
"site:build": "npm run site:clean && gatsby build --prefix-paths",
|
|
|
|
"site:clean": "gatsby clean",
|
|
|
|
"site:deploy": "npm run site:build && gh-pages -d public",
|
2018-08-07 15:10:53 +08:00
|
|
|
"update": "rm -rf node_modules/ && tnpm i && rm -rf build && tnpm run build",
|
2018-06-05 23:58:10 +08:00
|
|
|
"build": "webpack",
|
|
|
|
"build-lib": "babel src --out-dir lib",
|
2019-08-28 09:36:02 +08:00
|
|
|
"dist": "npm run mkdir-dist && npm run build",
|
2019-01-08 17:08:57 +08:00
|
|
|
"mkdir-dist": "node ./bin/mkdir-dist.js",
|
2018-08-07 15:39:51 +08:00
|
|
|
"ci": "npm run lint && npm run test",
|
2018-06-05 23:58:10 +08:00
|
|
|
"coverage": "npm run coverage-generator && npm run coverage-viewer",
|
2018-08-17 11:06:21 +08:00
|
|
|
"coverage-generator": "torch --compile --coverage --renderer --recursive --source-pattern index.js,src/**/*.js test/unit/",
|
2018-06-05 23:58:10 +08:00
|
|
|
"coverage-viewer": "torch-coverage",
|
|
|
|
"demos": "electron ./demos/app.js",
|
|
|
|
"demos-web": "node ./demos/app.js --web --port 2046",
|
2018-06-11 21:29:00 +08:00
|
|
|
"dev": "npm run watch & npm run demos-web",
|
2018-12-28 11:05:32 +08:00
|
|
|
"lint": "eslint --ext .js ./",
|
|
|
|
"lint-fix": "eslint --ext .html,.js --fix ./",
|
2018-12-17 14:35:30 +08:00
|
|
|
"prepublishOnly": "npm run build-lib && npm run build",
|
2018-06-05 23:58:10 +08:00
|
|
|
"screenshot": "node ./bin/screenshot.js",
|
2019-07-22 16:35:23 +08:00
|
|
|
"test": "torch --compile --renderer --opts test/mocha.opts --recursive ./test/unit",
|
2019-10-10 16:52:46 +08:00
|
|
|
"test-live": "torch --compile --interactive --watch --opts test/mocha.opts --recursive ./test/unit",
|
2019-09-27 12:13:22 +08:00
|
|
|
"test-live-shape": "torch --compile --interactive --watch --opts test/mocha.opts --recursive ./test/unit/shape/nodes/modelRect-spec.js",
|
2019-09-23 13:48:09 +08:00
|
|
|
"test-live-util": "torch --compile --interactive --watch --opts test/mocha.opts --recursive ./test/unit/shape/edge-spec.js",
|
2019-03-25 20:39:03 +08:00
|
|
|
"test-bugs": "torch --compile --renderer --recursive ./test/bugs",
|
2019-10-10 19:33:29 +08:00
|
|
|
"test-bugs-live": "torch --compile --interactive --watch --recursive ./test/bugs/issue-601-spec.js",
|
2019-03-25 20:39:03 +08:00
|
|
|
"test-all": "npm run test && npm run test-bugs",
|
2018-06-05 23:58:10 +08:00
|
|
|
"watch": "webpack --config webpack-dev.config.js",
|
|
|
|
"win-dev": "node ./bin/win-dev.js"
|
|
|
|
},
|
|
|
|
"pre-commit": {
|
2018-12-17 16:34:11 +08:00
|
|
|
"run": [
|
2019-02-01 16:38:55 +08:00
|
|
|
"lint",
|
2019-03-25 20:39:03 +08:00
|
|
|
"test-all"
|
2018-12-17 16:34:11 +08:00
|
|
|
],
|
|
|
|
"silent": false
|
2018-06-05 23:58:10 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2019-06-11 19:43:28 +08:00
|
|
|
"@antv/g": "~3.4.6",
|
2019-10-28 17:27:25 +08:00
|
|
|
"@antv/hierarchy": "~0.6.1",
|
2019-05-20 17:55:55 +08:00
|
|
|
"@antv/util": "~1.3.1",
|
2019-11-16 14:47:42 +08:00
|
|
|
"d3": "^5.9.1",
|
|
|
|
"d3-sankey": "^0.12.3",
|
2019-05-21 10:26:13 +08:00
|
|
|
"d3-force": "^2.0.1",
|
2019-07-18 17:57:31 +08:00
|
|
|
"dagre": "^0.8.4",
|
|
|
|
"numeric": "^1.2.6"
|
2018-06-05 23:58:10 +08:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=8.9.0"
|
|
|
|
}
|
2019-10-17 14:16:25 +08:00
|
|
|
}
|