package.json 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. {
  2. "_from": "terser-webpack-plugin@^5.3.17",
  3. "_id": "terser-webpack-plugin@5.4.0",
  4. "_inBundle": false,
  5. "_integrity": "sha512-Bn5vxm48flOIfkdl5CaD2+1CiUVbonWQ3KQPyP7/EuIl9Gbzq/gQFOzaMFUEgVjB1396tcK0SG8XcNJ/2kDH8g==",
  6. "_location": "/terser-webpack-plugin",
  7. "_phantomChildren": {
  8. "@types/json-schema": "7.0.15",
  9. "ajv-formats": "2.1.1",
  10. "fast-deep-equal": "3.1.3",
  11. "fast-uri": "3.1.0",
  12. "require-from-string": "2.0.2"
  13. },
  14. "_requested": {
  15. "type": "range",
  16. "registry": true,
  17. "raw": "terser-webpack-plugin@^5.3.17",
  18. "name": "terser-webpack-plugin",
  19. "escapedName": "terser-webpack-plugin",
  20. "rawSpec": "^5.3.17",
  21. "saveSpec": null,
  22. "fetchSpec": "^5.3.17"
  23. },
  24. "_requiredBy": [
  25. "/@vue/cli-service",
  26. "/webpack"
  27. ],
  28. "_resolved": "https://registry.npmmirror.com/terser-webpack-plugin/-/terser-webpack-plugin-5.4.0.tgz",
  29. "_shasum": "95fc4cf4437e587be11ecf37d08636089174d76b",
  30. "_spec": "terser-webpack-plugin@^5.3.17",
  31. "_where": "E:\\git\\2021项目\\安科院大屏\\node_modules\\webpack",
  32. "author": {
  33. "name": "webpack Contrib Team"
  34. },
  35. "bugs": {
  36. "url": "https://github.com/webpack/terser-webpack-plugin/issues"
  37. },
  38. "bundleDependencies": false,
  39. "dependencies": {
  40. "@jridgewell/trace-mapping": "^0.3.25",
  41. "jest-worker": "^27.4.5",
  42. "schema-utils": "^4.3.0",
  43. "terser": "^5.31.1"
  44. },
  45. "deprecated": false,
  46. "description": "Terser plugin for webpack",
  47. "devDependencies": {
  48. "@babel/cli": "^7.24.7",
  49. "@babel/core": "^7.24.7",
  50. "@babel/preset-env": "^7.24.7",
  51. "@commitlint/cli": "^17.7.1",
  52. "@commitlint/config-conventional": "^17.7.0",
  53. "@swc/core": "^1.3.102",
  54. "@types/node": "^24.2.1",
  55. "@types/serialize-javascript": "^5.0.2",
  56. "@types/uglify-js": "^3.17.5",
  57. "copy-webpack-plugin": "^9.0.1",
  58. "cross-env": "^7.0.3",
  59. "cspell": "^6.31.2",
  60. "del": "^6.0.0",
  61. "del-cli": "^3.0.1",
  62. "esbuild": "^0.27.3",
  63. "eslint": "^9.29.0",
  64. "eslint-config-webpack": "^4.5.1",
  65. "file-loader": "^6.2.0",
  66. "husky": "^7.0.2",
  67. "jest": "^27.5.1",
  68. "lint-staged": "^13.2.3",
  69. "memfs": "^3.4.13",
  70. "npm-run-all": "^4.1.5",
  71. "prettier": "^3.6.0",
  72. "prettier-2": "npm:prettier@^2",
  73. "serialize-javascript": "^7.0.4",
  74. "standard-version": "^9.3.1",
  75. "typescript": "^5.9.2",
  76. "uglify-js": "^3.19.3",
  77. "webpack": "^5.101.0",
  78. "webpack-cli": "^4.10.0",
  79. "worker-loader": "^3.0.8"
  80. },
  81. "engines": {
  82. "node": ">= 10.13.0"
  83. },
  84. "files": [
  85. "dist",
  86. "types"
  87. ],
  88. "funding": {
  89. "type": "opencollective",
  90. "url": "https://opencollective.com/webpack"
  91. },
  92. "homepage": "https://github.com/webpack/terser-webpack-plugin",
  93. "keywords": [
  94. "uglify",
  95. "uglify-js",
  96. "uglify-es",
  97. "terser",
  98. "webpack",
  99. "webpack-plugin",
  100. "minification",
  101. "compress",
  102. "compressor",
  103. "min",
  104. "minification",
  105. "minifier",
  106. "minify",
  107. "optimize",
  108. "optimizer"
  109. ],
  110. "license": "MIT",
  111. "main": "dist/index.js",
  112. "name": "terser-webpack-plugin",
  113. "peerDependencies": {
  114. "webpack": "^5.1.0"
  115. },
  116. "peerDependenciesMeta": {
  117. "@swc/core": {
  118. "optional": true
  119. },
  120. "uglify-js": {
  121. "optional": true
  122. },
  123. "esbuild": {
  124. "optional": true
  125. }
  126. },
  127. "repository": {
  128. "type": "git",
  129. "url": "git+https://github.com/webpack/terser-webpack-plugin.git"
  130. },
  131. "scripts": {
  132. "build": "npm-run-all -p \"build:**\"",
  133. "build:code": "cross-env NODE_ENV=production babel src -d dist --copy-files",
  134. "build:serialize-javascript": "node ./scripts/copy-serialize-javascript.js",
  135. "build:types": "tsc --declaration --emitDeclarationOnly --outDir types && prettier \"types/**/*.ts\" --write",
  136. "clean": "del-cli dist types",
  137. "commitlint": "commitlint --from=main",
  138. "fix": "npm-run-all -l fix:code fix:prettier",
  139. "fix:code": "npm run lint:code -- --fix",
  140. "fix:prettier": "npm run lint:prettier -- --write",
  141. "lint": "npm-run-all -l -p \"lint:**\"",
  142. "lint:code": "eslint --cache .",
  143. "lint:prettier": "prettier --list-different .",
  144. "lint:serialize-javascript": "node ./scripts/copy-serialize-javascript.js --check",
  145. "lint:spelling": "cspell \"**/*.*\"",
  146. "lint:types": "tsc --pretty --noEmit",
  147. "prebuild": "npm run clean",
  148. "prepare": "husky install && npm run build",
  149. "pretest": "npm run lint",
  150. "release": "standard-version",
  151. "security": "npm audit --production",
  152. "test": "npm run test:coverage",
  153. "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
  154. "test:only": "cross-env NODE_ENV=test jest",
  155. "test:watch": "npm run test:only -- --watch"
  156. },
  157. "types": "types/index.d.ts",
  158. "version": "5.4.0"
  159. }