g6/package.json
huangtong.ht 7c1216736e add test
2018-08-15 16:14:44 +08:00

125 lines
3.7 KiB
JSON

{
"name": "@antv/g6",
"version": "2.1.0-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": "~6.26.0",
"babel-core": "~6.26.0",
"babel-eslint": "~8.0.3",
"babel-loader": "~7.1.4",
"babel-plugin-module-resolver": "^3.1.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-remove-strict-mode": "~0.0.2",
"babel-preset-env": "~1.6.1",
"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",
"html2canvas": "*",
"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",
"torchjs": "~2.0.3",
"uglify-js": "~3.1.10",
"webpack": "~4.10.2",
"webpack-cli": "~3.0.0",
"worker-loader": "^2.0.0"
},
"scripts": {
"update": "rm -rf node_modules/ && tnpm i && rm -rf build && tnpm run build",
"build": "webpack",
"build-lib": "babel src --out-dir lib",
"ci": "npm run lint && npm run test",
"copy": "node ./bin/cp-dist.js",
"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",
"publish": "node ./bin/publish.js",
"dist": "npm run mkdir-dist && npm run build && npm run copy",
"lint": "eslint --ext .js ./src",
"lint-fix": "eslint --ext .html,.js --fix ./",
"mkdir-dist": "node ./bin/mkdir-dist.js",
"prepublishOnly": "npm run build-lib && npm run dist && node ./bin/version.js",
"screenshot": "node ./bin/screenshot.js",
"start": "npm run dev",
"test": "torch --compile --renderer --recursive ./test/unit",
"test-live": "torch --compile --interactive --watch --recursive ./test/unit/",
"watch": "webpack --config webpack-dev.config.js",
"win-dev": "node ./bin/win-dev.js"
},
"pre-commit": {
"run": []
},
"dependencies": {
"@antv/g": "~3.1.0-beta.7",
"@antv/g2": "~3.2.7-beta.5",
"@antv/hierarchy": "~0.3.13",
"@antv/scale": "^0.0.1",
"d3": "^5.4.0",
"d3-svg-legend": "^2.25.6",
"dagre": "~0.8.2",
"dom-to-image": "^2.6.0",
"lodash": "~4.17.4",
"wolfy87-eventemitter": "~5.2.4"
},
"engines": {
"node": ">=8.9.0"
}
}