package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "@antv/g-svg",
  3. "version": "0.5.7",
  4. "description": "A canvas library which providing 2d",
  5. "main": "lib/index.js",
  6. "module": "esm/index.js",
  7. "unpkg": "dist/g.min.js",
  8. "types": "lib/index.d.ts",
  9. "files": [
  10. "src",
  11. "package.json",
  12. "esm",
  13. "lib",
  14. "dist",
  15. "LICENSE",
  16. "README.md"
  17. ],
  18. "scripts": {
  19. "build": "npm run clean && run-p build:*",
  20. "build:esm": "tsc -p tsconfig.json --target ES5 --module ESNext --outDir esm",
  21. "build:cjs": "tsc -p tsconfig.json --target ES5 --module commonjs --outDir lib",
  22. "build:umd": "webpack --config webpack.config.js --mode production",
  23. "clean": "rm -rf esm lib dist",
  24. "coverage": "npm run coverage-generator && npm run coverage-viewer",
  25. "coverage-generator": "torch --coverage --compile --source-pattern src/*.js,src/**/*.js --opts tests/mocha.opts",
  26. "coverage-viewer": "torch-coverage",
  27. "test": "torch --renderer --compile --opts tests/mocha.opts",
  28. "test-live": "torch --compile --interactive --opts tests/mocha.opts",
  29. "tsc": "tsc --noEmit",
  30. "typecheck": "tsc --noEmit"
  31. },
  32. "repository": {
  33. "type": "git",
  34. "url": "git+https://github.com/antvis/g.git"
  35. },
  36. "keywords": [
  37. "util",
  38. "antv",
  39. "g"
  40. ],
  41. "publishConfig": {
  42. "access": "public"
  43. },
  44. "author": "https://github.com/orgs/antvis/people",
  45. "license": "ISC",
  46. "bugs": {
  47. "url": "https://github.com/antvis/g/issues"
  48. },
  49. "devDependencies": {
  50. "@antv/torch": "^1.0.0",
  51. "less": "^4.1.1",
  52. "npm-run-all": "^4.1.5",
  53. "webpack": "^4.39.3",
  54. "webpack-cli": "^4.5.0"
  55. },
  56. "homepage": "https://github.com/antvis/g#readme",
  57. "dependencies": {
  58. "@antv/g-base": "^0.5.12",
  59. "@antv/g-math": "^0.1.9",
  60. "@antv/util": "~2.0.0",
  61. "detect-browser": "^5.0.0",
  62. "tslib": "^2.0.3"
  63. },
  64. "gitHead": "2d3bf5b25fb8412c05d53f04fc0cd8414d1fd7cc"
  65. }