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.

package.json 3.6KB

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