package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "name": "@antv/g-base",
  3. "version": "0.5.15",
  4. "description": "A common util collection for antv projects",
  5. "main": "lib/index.js",
  6. "module": "esm/index.js",
  7. "types": "lib/index.d.ts",
  8. "files": [
  9. "src",
  10. "package.json",
  11. "esm",
  12. "lib",
  13. "LICENSE",
  14. "README.md"
  15. ],
  16. "scripts": {
  17. "build": "npm run clean && run-p build:*",
  18. "build:esm": "tsc -p tsconfig.json --target ES5 --module ESNext --outDir esm",
  19. "build:cjs": "tsc -p tsconfig.json --target ES5 --module commonjs --outDir lib",
  20. "clean": "rm -rf esm lib",
  21. "watch:cjs": "tsc-watch -p tsconfig.json --target ES5 --module commonjs --outDir lib --compiler typescript/bin/tsc",
  22. "coverage": "npm run coverage-generator && npm run coverage-viewer",
  23. "coverage-generator": "torch --coverage --compile --source-pattern src/*.js,src/**/*.js --opts tests/mocha.opts",
  24. "coverage-viewer": "torch-coverage",
  25. "test": "torch --renderer --compile --opts tests/mocha.opts",
  26. "test-live": "torch --compile --interactive tests/unit",
  27. "tsc": "tsc --noEmit",
  28. "typecheck": "tsc --noEmit"
  29. },
  30. "repository": {
  31. "type": "git",
  32. "url": "git+https://github.com/antvis/util.git"
  33. },
  34. "keywords": [
  35. "util",
  36. "antv",
  37. "g"
  38. ],
  39. "publishConfig": {
  40. "access": "public"
  41. },
  42. "author": "https://github.com/orgs/antvis/people",
  43. "license": "ISC",
  44. "bugs": {
  45. "url": "https://github.com/antvis/util/issues"
  46. },
  47. "devDependencies": {
  48. "@antv/torch": "^1.0.0",
  49. "gl-matrix": "^3.0.0",
  50. "less": "^4.1.1",
  51. "npm-run-all": "^4.1.5",
  52. "tsc-watch": "^4.0.0"
  53. },
  54. "homepage": "https://github.com/antvis/util#readme",
  55. "dependencies": {
  56. "@antv/event-emitter": "^0.1.1",
  57. "@antv/g-math": "^0.1.9",
  58. "@antv/matrix-util": "^3.1.0-beta.1",
  59. "@antv/path-util": "~2.0.5",
  60. "@antv/util": "~2.0.13",
  61. "@types/d3-timer": "^2.0.0",
  62. "d3-ease": "^1.0.5",
  63. "d3-interpolate": "^3.0.1",
  64. "d3-timer": "^1.0.9",
  65. "detect-browser": "^5.1.0",
  66. "tslib": "^2.0.3"
  67. }
  68. }