package.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. {
  2. "_from": "svgo@^2.7.0",
  3. "_id": "svgo@2.8.2",
  4. "_inBundle": false,
  5. "_integrity": "sha512-TyzE4NVGLUFy+H/Uy4N6c3G0HEeprsVfge6Lmq+0FdQQ/zqoVYB62IsBZORsiL+o96s6ff/V6/3UQo/C0cgCAA==",
  6. "_location": "/svgo",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "svgo@^2.7.0",
  12. "name": "svgo",
  13. "escapedName": "svgo",
  14. "rawSpec": "^2.7.0",
  15. "saveSpec": null,
  16. "fetchSpec": "^2.7.0"
  17. },
  18. "_requiredBy": [
  19. "/postcss-svgo"
  20. ],
  21. "_resolved": "https://registry.npmmirror.com/svgo/-/svgo-2.8.2.tgz",
  22. "_shasum": "8e99b7ba5ac9ed7e3a446063865f61e03223fe6b",
  23. "_spec": "svgo@^2.7.0",
  24. "_where": "E:\\git\\2021项目\\安科院大屏\\node_modules\\postcss-svgo",
  25. "author": {
  26. "name": "Kir Belevich",
  27. "email": "kir@belevi.ch",
  28. "url": "https://github.com/deepsweet"
  29. },
  30. "bin": {
  31. "svgo": "bin/svgo"
  32. },
  33. "bugs": {
  34. "url": "https://github.com/svg/svgo/issues"
  35. },
  36. "bundleDependencies": false,
  37. "contributors": [
  38. {
  39. "name": "Sergey Belov",
  40. "email": "peimei@ya.ru",
  41. "url": "https://github.com/arikon"
  42. },
  43. {
  44. "name": "Lev Solntsev",
  45. "email": "lev.sun@ya.ru",
  46. "url": "https://github.com/GreLI"
  47. },
  48. {
  49. "name": "Bogdan Chadkin",
  50. "email": "trysound@yandex.ru",
  51. "url": "https://github.com/TrySound"
  52. }
  53. ],
  54. "dependencies": {
  55. "commander": "^7.2.0",
  56. "css-select": "^4.1.3",
  57. "css-tree": "^1.1.3",
  58. "csso": "^4.2.0",
  59. "picocolors": "^1.0.0",
  60. "sax": "^1.5.0",
  61. "stable": "^0.1.8"
  62. },
  63. "deprecated": false,
  64. "description": "Nodejs-based tool for optimizing SVG vector graphics files",
  65. "devDependencies": {
  66. "@rollup/plugin-commonjs": "^20.0.0",
  67. "@rollup/plugin-json": "^4.1.0",
  68. "@rollup/plugin-node-resolve": "^13.0.4",
  69. "@types/css-tree": "^1.0.6",
  70. "@types/csso": "^4.2.0",
  71. "@types/jest": "^27.0.1",
  72. "@types/sax": "^1.2.7",
  73. "del": "^6.0.0",
  74. "eslint": "^7.32.0",
  75. "jest": "^27.2.5",
  76. "node-fetch": "^2.6.2",
  77. "pixelmatch": "^5.2.1",
  78. "playwright": "^1.14.1",
  79. "pngjs": "^6.0.0",
  80. "prettier": "^2.4.0",
  81. "rollup": "^2.56.3",
  82. "rollup-plugin-terser": "^7.0.2",
  83. "tar-stream": "^2.2.0",
  84. "typescript": "^4.4.3"
  85. },
  86. "engines": {
  87. "node": ">=10.13.0"
  88. },
  89. "eslintConfig": {
  90. "parserOptions": {
  91. "ecmaVersion": "2021"
  92. },
  93. "env": {
  94. "node": true,
  95. "es2021": true
  96. },
  97. "extends": [
  98. "eslint:recommended"
  99. ],
  100. "overrides": [
  101. {
  102. "files": [
  103. "rollup.config.js"
  104. ],
  105. "parserOptions": {
  106. "sourceType": "module"
  107. }
  108. },
  109. {
  110. "files": [
  111. "**/*.test.js"
  112. ],
  113. "env": {
  114. "jest": true
  115. }
  116. }
  117. ]
  118. },
  119. "files": [
  120. "bin",
  121. "lib",
  122. "plugins",
  123. "dist",
  124. "!**/*.test.js"
  125. ],
  126. "homepage": "https://github.com/svg/svgo",
  127. "jest": {
  128. "coveragePathIgnorePatterns": [
  129. "fixtures"
  130. ]
  131. },
  132. "keywords": [
  133. "svgo",
  134. "svg",
  135. "optimize",
  136. "minify"
  137. ],
  138. "license": "MIT",
  139. "main": "./lib/svgo-node.js",
  140. "name": "svgo",
  141. "packageManager": "yarn@2.4.3",
  142. "prettier": {
  143. "singleQuote": true
  144. },
  145. "repository": {
  146. "type": "git",
  147. "url": "git://github.com/svg/svgo.git"
  148. },
  149. "resolutions": {
  150. "sax@^1.5.0": "patch:sax@npm%3A1.5.0#./.yarn/patches/sax-npm-1.5.0-d40bca2226.patch"
  151. },
  152. "scripts": {
  153. "fix": "eslint --ignore-path .gitignore --fix . && prettier --write \"**/*.js\" --ignore-path .gitignore",
  154. "lint": "eslint --ignore-path .gitignore . && prettier --check \"**/*.js\" --ignore-path .gitignore",
  155. "prepublishOnly": "rm -rf dist && rollup -c",
  156. "test": "NODE_OPTIONS=--experimental-vm-modules jest --maxWorkers=4 --coverage",
  157. "test-browser": "rollup -c && node ./test/browser.js",
  158. "test-regression": "node ./test/regression-extract.js && NO_DIFF=1 node ./test/regression.js",
  159. "typecheck": "tsc"
  160. },
  161. "version": "2.8.2"
  162. }