package.json 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. {
  2. "name": "@antv/f2",
  3. "version": "3.3.3",
  4. "description": "Charts for mobile visualization.",
  5. "keywords": [
  6. "f2",
  7. "charts",
  8. "mobile",
  9. "visualization",
  10. "data visualization",
  11. "canvas",
  12. "2d draw",
  13. "mobile visualization",
  14. "interactive"
  15. ],
  16. "main": "lib/index.js",
  17. "browser": "build/f2.js",
  18. "module": "src/index.js",
  19. "homepage": "https://github.com/antvis/f2",
  20. "author": "https://github.com/orgs/antvis/people",
  21. "repository": {
  22. "type": "git",
  23. "url": "https://github.com/antvis/f2.git"
  24. },
  25. "bugs": {
  26. "url": "https://github.com/antvis/f2/issues"
  27. },
  28. "devDependencies": {
  29. "@babel/cli": "^7.0.0",
  30. "@babel/core": "^7.0.0",
  31. "@babel/preset-env": "^7.0.0",
  32. "@lite-js/torch": "~0.2.6",
  33. "babel-eslint": "~7.2.3",
  34. "babel-loader": "^8.0.0",
  35. "babel-plugin-transform-remove-strict-mode": "~0.0.2",
  36. "body-parser": "^1.18.2",
  37. "chai": "~4.0.1",
  38. "commander": "~2.9.0",
  39. "connect": "~3.6.3",
  40. "d3-queue": "~3.0.7",
  41. "debug": "~3.1.0",
  42. "electron": "~1.8.2-beta5",
  43. "eslint": "~3.19.0",
  44. "eslint-config-airbnb": "~15.0.1",
  45. "eslint-config-egg": "~4.2.0",
  46. "eslint-plugin-html": "~3.1.1",
  47. "get-port": "~3.1.0",
  48. "jquery": "^3.3.1",
  49. "jszip": "^3.1.5",
  50. "nightmare": "~2.10.0",
  51. "nunjucks": "~3.0.1",
  52. "open": "~0.0.5",
  53. "parseurl": "~1.3.1",
  54. "pre-commit": "~1.2.2",
  55. "serve-static": "~1.12.4",
  56. "shelljs": "~0.7.8",
  57. "uglify-js": "~3.0.15",
  58. "webpack": "~3.4.1"
  59. },
  60. "scripts": {
  61. "build": "webpack",
  62. "build-lib": "babel src --out-dir lib",
  63. "bundler": "electron ./bundler/app.js",
  64. "ci": "npm run lint && npm run test-all",
  65. "compress": "sh ./bin/compress.sh",
  66. "coverage": "npm run coverage-generator && npm run coverage-viewer",
  67. "coverage-generator": "torch --compile --coverage --renderer --source-pattern src/*.js,src/**/*.js --recursive test/unit",
  68. "coverage-viewer": "torch-coverage",
  69. "demos": "electron ./demos/app.js",
  70. "demos-web": "node ./demos/app.js --web --port 2048",
  71. "dev": "npm run watch & DEBUG=app:* npm run demos-web",
  72. "dist": "rm -rf dist && mkdir dist && npm run build && npm run compress",
  73. "lint": "eslint ./",
  74. "lint-fix": "eslint --fix ./",
  75. "prepublishOnly": "npm run build-lib && npm run dist",
  76. "screenshot": "DEBUG=app:* ./bin/screenshot.js",
  77. "test-all": "npm run test && npm run test-bug",
  78. "test": "torch --compile --renderer --recursive ./test/unit",
  79. "test-bug": "torch --compile --renderer --recursive ./test/bug",
  80. "test-bug-live": "torch --compile --interactive --recursive ./test/bug",
  81. "test-live": "torch --compile --interactive --recursive ./test/unit",
  82. "watch": "webpack --config webpack-dev.config.js"
  83. },
  84. "pre-commit": {
  85. "run": [
  86. "lint",
  87. "test-all"
  88. ],
  89. "silent": false
  90. },
  91. "dependencies": {
  92. "@antv/adjust": "~0.0.3",
  93. "@antv/attr": "~0.0.3",
  94. "@antv/scale": "~0.0.6",
  95. "@antv/util": "~1.2.5",
  96. "hammerjs": "^2.0.8"
  97. }
  98. }