You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. {
  2. "name": "@svgdotjs/svg.js",
  3. "version": "3.2.0",
  4. "type": "module",
  5. "description": "A lightweight library for manipulating and animating SVG.",
  6. "url": "https://svgjs.dev/",
  7. "homepage": "https://svgjs.dev/",
  8. "keywords": [
  9. "svg",
  10. "vector",
  11. "graphics",
  12. "animation"
  13. ],
  14. "author": "Wout Fierens <wout@mick-wout.com>",
  15. "main": "dist/svg.node.cjs",
  16. "unpkg": "dist/svg.min.js",
  17. "jsdelivr": "dist/svg.min.js",
  18. "browser": "dist/svg.esm.js",
  19. "module": "src/main.js",
  20. "exports": {
  21. "import": "./src/main.js",
  22. "require": "./dist/svg.node.cjs"
  23. },
  24. "files": [
  25. "/dist",
  26. "/src",
  27. "/svg.js.d.ts",
  28. "/.config"
  29. ],
  30. "maintainers": [
  31. {
  32. "name": "Wout Fierens",
  33. "email": "wout@mick-wout.com"
  34. },
  35. {
  36. "name": "Alex Ewerlöf",
  37. "email": "alex@userpixel.com",
  38. "web": "http://www.ewerlof.name"
  39. },
  40. {
  41. "name": "Ulrich-Matthias Schäfer",
  42. "email": "ulima.ums@googlemail.com",
  43. "web": "https://svgdotjs.github.io/"
  44. },
  45. {
  46. "name": "Jon Ege Ronnenberg",
  47. "email": "jon@svgjs.dev",
  48. "url": "https://keybase.io/dotnetcarpenter"
  49. }
  50. ],
  51. "licenses": [
  52. {
  53. "type": "MIT",
  54. "url": "http://www.opensource.org/licenses/mit-license.php"
  55. }
  56. ],
  57. "repository": {
  58. "type": "git",
  59. "url": "https://github.com/svgdotjs/svg.js.git"
  60. },
  61. "github": "https://github.com/svgdotjs/svg.js",
  62. "license": "MIT",
  63. "funding": {
  64. "type": "github",
  65. "url": "https://github.com/sponsors/Fuzzyma"
  66. },
  67. "typings": "./svg.js.d.ts",
  68. "scripts": {
  69. "build": "npm run format && npm run rollup",
  70. "build:polyfills": "npx rollup -c .config/rollup.polyfills.js",
  71. "build:tests": "npx rollup -c .config/rollup.tests.js",
  72. "fix": "npx eslint ./src --fix",
  73. "lint": "npx eslint ./src",
  74. "prettier": "npx prettier --write .",
  75. "format": "npm run fix && npm run prettier",
  76. "rollup": "npx rollup -c .config/rollup.config.js",
  77. "server": "npx http-server ./ -d",
  78. "test": "npx karma start .config/karma.conf.cjs || true",
  79. "test:ci": "karma start .config/karma.conf.saucelabs.cjs",
  80. "test:svgdom": "node ./spec/runSVGDomTest.js || true",
  81. "zip": "zip -j dist/svg.js.zip -- LICENSE.txt README.md CHANGELOG.md dist/svg.js dist/svg.js.map dist/svg.min.js dist/svg.min.js.map dist/polyfills.js dist/polyfillsIE.js",
  82. "prepublishOnly": "rm -rf ./dist && npm run build && npm run build:polyfills && npm test",
  83. "postpublish": "npm run zip",
  84. "checkTests": "node spec/checkForAllTests.js"
  85. },
  86. "devDependencies": {
  87. "@babel/core": "^7.22.5",
  88. "@babel/eslint-parser": "^7.22.5",
  89. "@babel/plugin-transform-runtime": "^7.22.5",
  90. "@babel/preset-env": "^7.22.5",
  91. "@rollup/plugin-babel": "^6.0.3",
  92. "@rollup/plugin-commonjs": "^25.0.1",
  93. "@rollup/plugin-node-resolve": "^15.1.0",
  94. "@rollup/plugin-terser": "^0.4.3",
  95. "@target/custom-event-polyfill": "github:Adobe-Marketing-Cloud/custom-event-polyfill",
  96. "@types/jasmine": "^4.3.2",
  97. "babel-plugin-polyfill-corejs3": "^0.8.1",
  98. "core-js": "^3.31.0",
  99. "coveralls": "^3.1.1",
  100. "eslint": "^8.42.0",
  101. "eslint-config-prettier": "^8.8.0",
  102. "eslint-config-standard": "^17.1.0",
  103. "http-server": "^14.1.1",
  104. "jasmine": "^5.0.1",
  105. "jasmine-core": "^5.0.1",
  106. "karma": "^6.4.2",
  107. "karma-chrome-launcher": "^3.2.0",
  108. "karma-coverage": "^2.2.0",
  109. "karma-firefox-launcher": "^2.1.2",
  110. "karma-jasmine": "^5.1.0",
  111. "karma-sauce-launcher": "^4.3.6",
  112. "prettier": "^2.8.8",
  113. "rollup": "^3.25.1",
  114. "rollup-plugin-filesize": "^10.0.0",
  115. "svgdom": "^0.1.16",
  116. "typescript": "^5.2.2",
  117. "yargs": "^17.7.2"
  118. },
  119. "browserslist": ">0.3%, last 2 version, not dead, not op_mini all"
  120. }