g6/package.json
2019-08-20 17:17:56 +08:00

127 lines
3.8 KiB
JSON

{
"name": "@antv/g6",
"version": "3.0.5-beta.7",
"description": "graph visualization frame work",
"main": "build/g6.js",
"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": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"babel-eslint": "~8.0.3",
"babel-loader": "^8.0.0",
"babel-plugin-module-resolver": "^3.1.1",
"babel-plugin-transform-remove-strict-mode": "~0.0.2",
"body-parser": "~1.18.2",
"chai": "~4.1.2",
"chai-almost": "^1.0.1",
"clipboard": "^1.5.15",
"codemirror": "*",
"commander": "~2.12.2",
"connect": "~3.6.6",
"d3-queue": "~3.0.7",
"debug": "~3.1.0",
"electron": "~2.0.2",
"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",
"get-port": "~3.2.0",
"home": "~1.0.1",
"jquery": "^3.3.1",
"jszip": "~3.1.5",
"nightmare": "~2.10.0",
"nunjucks": "~3.0.1",
"open": "~0.0.5",
"parseurl": "~1.3.2",
"pre-commit": "~1.2.2",
"radixsort": "~1.0.0",
"serve-static": "~1.13.2",
"shelljs": "~0.7.8",
"svgson": "^2.1.1",
"torchjs": "~2.1.0",
"uglify-js": "~3.1.10",
"webpack": "~4.10.2",
"webpack-cli": "~3.0.0",
"worker-loader": "^2.0.0",
"@antv/hierarchy": "~0.4.0",
"hard-source-webpack-plugin": "~0.13.1"
},
"scripts": {
"update": "rm -rf node_modules/ && tnpm i && rm -rf build && tnpm run build",
"build": "webpack",
"build-lib": "babel src --out-dir lib",
"dist": "npm run mkdir-dist && npm run build && npm run compress",
"mkdir-dist": "node ./bin/mkdir-dist.js",
"ci": "npm run lint && npm run test",
"coverage": "npm run coverage-generator && npm run coverage-viewer",
"coverage-generator": "torch --compile --coverage --renderer --recursive --source-pattern index.js,src/**/*.js test/unit/",
"coverage-viewer": "torch-coverage",
"demos": "electron ./demos/app.js",
"demos-web": "node ./demos/app.js --web --port 2046",
"dev": "npm run watch & npm run demos-web",
"lint": "eslint --ext .js ./",
"lint-fix": "eslint --ext .html,.js --fix ./",
"prepublishOnly": "npm run build-lib && npm run build",
"screenshot": "node ./bin/screenshot.js",
"start": "npm run dev",
"test": "torch --compile --renderer --opts test/mocha.opts --recursive ./test/unit",
"test-live": "torch --compile --interactive --watch --opts test/mocha.opts --recursive ./test/unit/graph/graph-group-spec.js",
"test-bugs": "torch --compile --renderer --recursive ./test/bugs",
"test-bugs-live": "torch --compile --interactive --watch --recursive ./test/bugs",
"test-all": "npm run test && npm run test-bugs",
"watch": "webpack --config webpack-dev.config.js",
"win-dev": "node ./bin/win-dev.js"
},
"pre-commit": {
"run": [
"lint",
"test-all"
],
"silent": false
},
"dependencies": {
"@antv/g": "~3.4.6",
"@antv/hierarchy": "~0.5.0",
"@antv/util": "~1.3.1",
"d3-force": "^2.0.1",
"dagre": "^0.8.4"
},
"engines": {
"node": ">=8.9.0"
}
}