package.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. {
  2. "name": "@antv/g6",
  3. "version": "3.0.5-beta.10",
  4. "description": "graph visualization frame work",
  5. "main": "build/g6.js",
  6. "homepage": "https://github.com/antvis/g6",
  7. "author": "https://github.com/orgs/antvis/people",
  8. "repository": {
  9. "type": "git",
  10. "url": "git@github.com:antvis/g6.git"
  11. },
  12. "bugs": {
  13. "url": "https://github.com/antvis/g6/issues"
  14. },
  15. "keywords": [
  16. "g6",
  17. "relational data",
  18. "graph visualization",
  19. "graph editor",
  20. "graph analysis"
  21. ],
  22. "contributors": [
  23. {
  24. "email": "leanne06204@163.com",
  25. "url": "https://github.com/AceLeeWinnie"
  26. },
  27. {
  28. "email": "wyueliu@gmail.com",
  29. "url": "https://github.com/liuwuyue"
  30. },
  31. {
  32. "email": "deggs.k@gmail.com",
  33. "url": "https://github.com/deggs7"
  34. }
  35. ],
  36. "license": "MIT",
  37. "devDependencies": {
  38. "@babel/cli": "^7.0.0",
  39. "@babel/core": "^7.0.0",
  40. "@babel/preset-env": "^7.0.0",
  41. "babel-eslint": "~8.0.3",
  42. "babel-loader": "^8.0.0",
  43. "babel-plugin-module-resolver": "^3.1.1",
  44. "babel-plugin-transform-remove-strict-mode": "~0.0.2",
  45. "body-parser": "~1.18.2",
  46. "chai": "~4.1.2",
  47. "chai-almost": "^1.0.1",
  48. "clipboard": "^1.5.15",
  49. "codemirror": "*",
  50. "commander": "~2.12.2",
  51. "connect": "~3.6.6",
  52. "d3-queue": "~3.0.7",
  53. "debug": "~3.1.0",
  54. "electron": "~6.0.4",
  55. "eslint": "~3.19.0",
  56. "eslint-config-airbnb": "~15.0.1",
  57. "eslint-config-egg": "~4.2.0",
  58. "eslint-plugin-html": "~3.1.1",
  59. "eslint-plugin-jsx-a11y": "~5.1.1",
  60. "eslint-plugin-react": "~7.1.0",
  61. "event-simulate": "~1.0.0",
  62. "get-port": "~3.2.0",
  63. "home": "~1.0.1",
  64. "jquery": "^3.3.1",
  65. "jszip": "~3.1.5",
  66. "nightmare": "~2.10.0",
  67. "nunjucks": "~3.0.1",
  68. "open": "~0.0.5",
  69. "parseurl": "~1.3.2",
  70. "pre-commit": "~1.2.2",
  71. "radixsort": "~1.0.0",
  72. "serve-static": "~1.13.2",
  73. "shelljs": "~0.7.8",
  74. "svgson": "^2.1.1",
  75. "torchjs": "~2.1.0",
  76. "uglify-js": "~3.1.10",
  77. "webpack": "~4.10.2",
  78. "webpack-cli": "~3.0.0",
  79. "worker-loader": "^2.0.0",
  80. "hard-source-webpack-plugin": "~0.13.1"
  81. },
  82. "scripts": {
  83. "update": "rm -rf node_modules/ && tnpm i && rm -rf build && tnpm run build",
  84. "build": "webpack",
  85. "build-lib": "babel src --out-dir lib",
  86. "dist": "npm run mkdir-dist && npm run build",
  87. "mkdir-dist": "node ./bin/mkdir-dist.js",
  88. "ci": "npm run lint && npm run test",
  89. "coverage": "npm run coverage-generator && npm run coverage-viewer",
  90. "coverage-generator": "torch --compile --coverage --renderer --recursive --source-pattern index.js,src/**/*.js test/unit/",
  91. "coverage-viewer": "torch-coverage",
  92. "demos": "electron ./demos/app.js",
  93. "demos-web": "node ./demos/app.js --web --port 2046",
  94. "dev": "npm run watch & npm run demos-web",
  95. "lint": "eslint --ext .js ./",
  96. "lint-fix": "eslint --ext .html,.js --fix ./",
  97. "prepublishOnly": "npm run build-lib && npm run build",
  98. "screenshot": "node ./bin/screenshot.js",
  99. "start": "npm run dev",
  100. "test": "torch --compile --renderer --opts test/mocha.opts --recursive ./test/unit",
  101. "test-live": "torch --compile --interactive --watch --opts test/mocha.opts --recursive ./test/unit/graph/controller/custom-group-spec.js",
  102. "test-live-tree": "torch --compile --interactive --watch --opts test/mocha.opts --recursive ./test/unit/graph/tree-graph-spec.js",
  103. "test-bugs": "torch --compile --renderer --recursive ./test/bugs",
  104. "test-bugs-live": "torch --compile --interactive --watch --recursive ./test/bugs",
  105. "test-all": "npm run test && npm run test-bugs",
  106. "watch": "webpack --config webpack-dev.config.js",
  107. "win-dev": "node ./bin/win-dev.js"
  108. },
  109. "pre-commit": {
  110. "run": [
  111. "lint",
  112. "test-all"
  113. ],
  114. "silent": false
  115. },
  116. "dependencies": {
  117. "@antv/g": "~3.4.6",
  118. "@antv/hierarchy": "~0.5.0",
  119. "@antv/util": "~1.3.1",
  120. "d3-force": "^2.0.1",
  121. "dagre": "^0.8.4"
  122. },
  123. "engines": {
  124. "node": ">=8.9.0"
  125. }
  126. }