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 4.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. {
  2. "name": "@svgdotjs/svg.js",
  3. "version": "3.0.0",
  4. "description": "A lightweight library for manipulating and animating SVG.",
  5. "url": "https://svgdotjs.github.io/",
  6. "homepage": "https://svgdotjs.github.io/",
  7. "keywords": [
  8. "svg",
  9. "vector",
  10. "graphics",
  11. "animation"
  12. ],
  13. "author": "Wout Fierens <wout@mick-wout.com>",
  14. "main": "dist/svg.node.js",
  15. "unpkg": "dist/svg.min.js",
  16. "jsdelivr": "dist/svg.min.js",
  17. "browser": "dist/svg.min.js",
  18. "module": "src/main.js",
  19. "maintainers": [
  20. {
  21. "name": "Wout Fierens",
  22. "email": "wout@mick-wout.com",
  23. "web": "https://svgdotjs.github.io/"
  24. },
  25. {
  26. "name": "Alex Ewerlöf",
  27. "email": "alex@userpixel.com",
  28. "web": "http://www.ewerlof.name"
  29. },
  30. {
  31. "name": "Ulrich-Matthias Schäfer",
  32. "email": "ulima.ums@googlemail.com"
  33. },
  34. {
  35. "name": "Jon Ege Ronnenberg",
  36. "email": "jon@svgjs.com",
  37. "url": "https://keybase.io/dotnetcarpenter"
  38. }
  39. ],
  40. "licenses": [
  41. {
  42. "type": "MIT",
  43. "url": "http://www.opensource.org/licenses/mit-license.php"
  44. }
  45. ],
  46. "repository": {
  47. "type": "git",
  48. "url": "https://github.com/svgdotjs/svg.js.git"
  49. },
  50. "github": "https://github.com/svgdotjs/svg.js",
  51. "license": "MIT",
  52. "typings": "./svg.js.d.ts",
  53. "scripts": {
  54. "build": "npm run fix && npm run rollup",
  55. "build:polyfills": "npx rollup -c .config/rollup.polyfills.js",
  56. "build:tests": "npx rollup -c .config/rollup.tests.js",
  57. "fix": "npx eslint ./src --fix",
  58. "lint": "npx eslint ./src",
  59. "rollup": "npx rollup -c .config/rollup.config.js",
  60. "server": "npx http-server ./ -d",
  61. "demo": "run () { cd playgrounds; ../node_modules/.bin/webpack-dev-server --env=$1; }; run",
  62. "test": "npx karma start .config/karma.conf.js",
  63. "test:ci": "karma start .config/karma.conf.saucelabs.js",
  64. "test:svgdom": "node -r esm ./spec/runSVGDomTest.js || true",
  65. "test:es6": "npx karma start .config/karma.es6.js --single-run",
  66. "bower:copy": "cd ../svg.js-bower && git pull && cp ../svg.js/LICENSE.txt ../svg.js/README.md ../svg.js/dist/svg.js ../svg.js/dist/svg.min.js ../svg.js/dist/polyfills.js ../svg.js/dist/polyfillsIE.js . && cd ../svg.js",
  67. "bower:tag": "cd ../svg.js-bower git add -- LICENSE README.md svg.js svg.min.js && git commit -m \"${npm_package_version}\" && git tag -am \"${npm_package_version}\" v${npm_package_version} && git push && git push --tags && cd ../svg.js",
  68. "zip": "zip -j dist/svg.js.zip -- LICENSE.txt README.md CHANGELOG.md dist/svg.js dist/svg.min.js dist/polyfills.js dist/polyfillsIE.js",
  69. "prepublishOnly": "npm run build && npm run build:polyfills && npm test",
  70. "postpublish": "git push && git push --tags && npm run bower:copy && npm run bower:tag && npm run zip"
  71. },
  72. "devDependencies": {
  73. "@babel/core": "^7.1.2",
  74. "@babel/plugin-external-helpers": "^7.0.0",
  75. "@babel/plugin-transform-runtime": "^7.1.0",
  76. "@babel/polyfill": "^7.0.0",
  77. "@babel/preset-env": "^7.1.0",
  78. "@babel/runtime": "^7.1.5",
  79. "@babel/runtime-corejs2": "^7.1.5",
  80. "@target/custom-event-polyfill": "github:Adobe-Marketing-Cloud/custom-event-polyfill",
  81. "babel-eslint": "^10.0.1",
  82. "core-js": "^2.5.7",
  83. "coveralls": "^3.0.2",
  84. "eslint": "^5.9.0",
  85. "eslint-config-standard": "^12.0.0",
  86. "eslint-plugin-import": "^2.14.0",
  87. "eslint-plugin-node": "^8.0.0",
  88. "eslint-plugin-promise": "^4.0.1",
  89. "eslint-plugin-standard": "^4.0.0",
  90. "esm": "^3.0.84",
  91. "http-server": "^0.11.1",
  92. "jasmine": "^3.3.0",
  93. "jasmine-core": "^3.3.0",
  94. "karma": "^3.1.1",
  95. "karma-chrome-launcher": "^2.2.0",
  96. "karma-coverage": "^1.1.2",
  97. "karma-firefox-launcher": "^1.1.0",
  98. "karma-jasmine": "^2.0.0",
  99. "karma-sauce-launcher": "^1.2.0",
  100. "rollup": "^0.67.0",
  101. "rollup-plugin-babel": "^4.0.3",
  102. "rollup-plugin-commonjs": "^9.2.0",
  103. "rollup-plugin-filesize": "^5.0.1",
  104. "rollup-plugin-multi-entry": "^2.0.2",
  105. "rollup-plugin-node-resolve": "^3.4.0",
  106. "rollup-plugin-terser": "^3.0.0",
  107. "rollup-plugin-uglify": "^6.0.0",
  108. "svgdom": "latest",
  109. "rollup-plugin-uglify-es": "0.0.1",
  110. "webpack": "^4.26.1",
  111. "webpack-cli": "^3.1.2",
  112. "webpack-dev-server": "^3.1.10",
  113. "yargs": "^12.0.5"
  114. },
  115. "browserslist": [
  116. "last 1 version",
  117. "> 0.25%",
  118. "not maintained node versions",
  119. "not dead"
  120. ]
  121. }