package.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "name": "@antv/path-util",
  3. "version": "3.0.1",
  4. "description": "A common util collection for antv projects",
  5. "main": "lib/index.js",
  6. "types": "lib/index.d.ts",
  7. "module": "esm/index.js",
  8. "files": [
  9. "src",
  10. "package.json",
  11. "esm",
  12. "lib",
  13. "README.md"
  14. ],
  15. "scripts": {
  16. "build": "npm run clean && run-p build:*",
  17. "build:esm": "tsc -p tsconfig.json --target ES5 --module ESNext --outDir esm",
  18. "build:cjs": "tsc -p tsconfig.json --target ES5 --module commonjs --outDir lib",
  19. "clean": "rm -rf lib && rm -rf esm",
  20. "coverage": "npm run coverage-generator && npm run coverage-viewer",
  21. "coverage-generator": "torch --coverage --compile --source-pattern src/*.js,src/**/*.js --opts __tests__/mocha.opts",
  22. "coverage-viewer": "torch-coverage",
  23. "test": "torch --renderer --compile --opts __tests__/mocha.opts",
  24. "test-live": "torch --compile --interactive --opts __tests__/mocha.opts",
  25. "tsc": "tsc --noEmit",
  26. "typecheck": "tsc --noEmit"
  27. },
  28. "repository": {
  29. "type": "git",
  30. "url": "git+https://github.com/antvis/util.git"
  31. },
  32. "keywords": [
  33. "util",
  34. "antv",
  35. "g"
  36. ],
  37. "author": "https://github.com/orgs/antvis/people",
  38. "license": "MIT",
  39. "bugs": {
  40. "url": "https://github.com/antvis/util/issues"
  41. },
  42. "devDependencies": {
  43. "@types/gl-matrix": "^2.4.5",
  44. "@types/lodash-es": "^4.17.6",
  45. "@antv/torch": "^1.0.0",
  46. "chai": "^4.2.0",
  47. "less": "^3.9.0",
  48. "npm-run-all": "^4.1.5"
  49. },
  50. "homepage": "https://github.com/antvis/util#readme",
  51. "dependencies": {
  52. "gl-matrix": "^3.1.0",
  53. "lodash-es": "^4.17.21",
  54. "tslib": "^2.0.3"
  55. }
  56. }