package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. {
  2. "packageManager": "yarn@2.4.3",
  3. "name": "svgo",
  4. "version": "2.8.0",
  5. "description": "Nodejs-based tool for optimizing SVG vector graphics files",
  6. "license": "MIT",
  7. "keywords": [
  8. "svgo",
  9. "svg",
  10. "optimize",
  11. "minify"
  12. ],
  13. "homepage": "https://github.com/svg/svgo",
  14. "bugs": {
  15. "url": "https://github.com/svg/svgo/issues"
  16. },
  17. "author": {
  18. "name": "Kir Belevich",
  19. "email": "kir@belevi.ch",
  20. "url": "https://github.com/deepsweet"
  21. },
  22. "contributors": [
  23. {
  24. "name": "Sergey Belov",
  25. "email": "peimei@ya.ru",
  26. "url": "https://github.com/arikon"
  27. },
  28. {
  29. "name": "Lev Solntsev",
  30. "email": "lev.sun@ya.ru",
  31. "url": "https://github.com/GreLI"
  32. },
  33. {
  34. "name": "Bogdan Chadkin",
  35. "email": "trysound@yandex.ru",
  36. "url": "https://github.com/TrySound"
  37. }
  38. ],
  39. "repository": {
  40. "type": "git",
  41. "url": "git://github.com/svg/svgo.git"
  42. },
  43. "main": "./lib/svgo-node.js",
  44. "bin": "./bin/svgo",
  45. "files": [
  46. "bin",
  47. "lib",
  48. "plugins",
  49. "dist",
  50. "!**/*.test.js"
  51. ],
  52. "engines": {
  53. "node": ">=10.13.0"
  54. },
  55. "scripts": {
  56. "test": "NODE_OPTIONS=--experimental-vm-modules jest --maxWorkers=4 --coverage",
  57. "lint": "eslint --ignore-path .gitignore . && prettier --check \"**/*.js\" --ignore-path .gitignore",
  58. "fix": "eslint --ignore-path .gitignore --fix . && prettier --write \"**/*.js\" --ignore-path .gitignore",
  59. "typecheck": "tsc",
  60. "test-browser": "rollup -c && node ./test/browser.js",
  61. "test-regression": "node ./test/regression-extract.js && NO_DIFF=1 node ./test/regression.js",
  62. "prepublishOnly": "rm -rf dist && rollup -c"
  63. },
  64. "prettier": {
  65. "singleQuote": true
  66. },
  67. "eslintConfig": {
  68. "parserOptions": {
  69. "ecmaVersion": "2021"
  70. },
  71. "env": {
  72. "node": true,
  73. "es2021": true
  74. },
  75. "extends": [
  76. "eslint:recommended"
  77. ],
  78. "overrides": [
  79. {
  80. "files": [
  81. "rollup.config.js"
  82. ],
  83. "parserOptions": {
  84. "sourceType": "module"
  85. }
  86. },
  87. {
  88. "files": [
  89. "**/*.test.js"
  90. ],
  91. "env": {
  92. "jest": true
  93. }
  94. }
  95. ]
  96. },
  97. "jest": {
  98. "coveragePathIgnorePatterns": [
  99. "fixtures"
  100. ]
  101. },
  102. "dependencies": {
  103. "@trysound/sax": "0.2.0",
  104. "commander": "^7.2.0",
  105. "css-select": "^4.1.3",
  106. "css-tree": "^1.1.3",
  107. "csso": "^4.2.0",
  108. "picocolors": "^1.0.0",
  109. "stable": "^0.1.8"
  110. },
  111. "devDependencies": {
  112. "@rollup/plugin-commonjs": "^20.0.0",
  113. "@rollup/plugin-json": "^4.1.0",
  114. "@rollup/plugin-node-resolve": "^13.0.4",
  115. "@types/css-tree": "^1.0.6",
  116. "@types/csso": "^4.2.0",
  117. "@types/jest": "^27.0.1",
  118. "del": "^6.0.0",
  119. "eslint": "^7.32.0",
  120. "jest": "^27.2.5",
  121. "node-fetch": "^2.6.2",
  122. "pixelmatch": "^5.2.1",
  123. "playwright": "^1.14.1",
  124. "pngjs": "^6.0.0",
  125. "prettier": "^2.4.0",
  126. "rollup": "^2.56.3",
  127. "rollup-plugin-terser": "^7.0.2",
  128. "tar-stream": "^2.2.0",
  129. "typescript": "^4.4.3"
  130. }
  131. }