package.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. {
  2. "_args": [
  3. [
  4. "terser-webpack-plugin@5.3.10",
  5. "/Users/zhanwencai/code/game/congkong/webServer"
  6. ]
  7. ],
  8. "_development": true,
  9. "_from": "terser-webpack-plugin@5.3.10",
  10. "_id": "terser-webpack-plugin@5.3.10",
  11. "_inBundle": false,
  12. "_integrity": "sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==",
  13. "_location": "/terser-webpack-plugin",
  14. "_phantomChildren": {},
  15. "_requested": {
  16. "type": "version",
  17. "registry": true,
  18. "raw": "terser-webpack-plugin@5.3.10",
  19. "name": "terser-webpack-plugin",
  20. "escapedName": "terser-webpack-plugin",
  21. "rawSpec": "5.3.10",
  22. "saveSpec": null,
  23. "fetchSpec": "5.3.10"
  24. },
  25. "_requiredBy": [
  26. "#DEV:/",
  27. "/webpack"
  28. ],
  29. "_resolved": "https://registry.npmmirror.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.10.tgz",
  30. "_spec": "5.3.10",
  31. "_where": "/Users/zhanwencai/code/game/congkong/webServer",
  32. "author": {
  33. "name": "webpack Contrib Team"
  34. },
  35. "bugs": {
  36. "url": "https://github.com/webpack-contrib/terser-webpack-plugin/issues"
  37. },
  38. "dependencies": {
  39. "@jridgewell/trace-mapping": "^0.3.20",
  40. "jest-worker": "^27.4.5",
  41. "schema-utils": "^3.1.1",
  42. "serialize-javascript": "^6.0.1",
  43. "terser": "^5.26.0"
  44. },
  45. "description": "Terser plugin for webpack",
  46. "devDependencies": {
  47. "@babel/cli": "^7.22.15",
  48. "@babel/core": "^7.22.17",
  49. "@babel/preset-env": "^7.22.15",
  50. "@commitlint/cli": "^17.7.1",
  51. "@commitlint/config-conventional": "^17.7.0",
  52. "@swc/core": "^1.3.84",
  53. "@types/node": "^18.15.11",
  54. "@types/serialize-javascript": "^5.0.2",
  55. "@types/uglify-js": "^3.17.1",
  56. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  57. "babel-jest": "^28.1.2",
  58. "copy-webpack-plugin": "^9.0.1",
  59. "cross-env": "^7.0.3",
  60. "cspell": "^6.31.2",
  61. "del": "^6.0.0",
  62. "del-cli": "^3.0.1",
  63. "esbuild": "^0.19.10",
  64. "eslint": "^7.32.0",
  65. "eslint-config-prettier": "^8.9.0",
  66. "eslint-plugin-import": "^2.28.1",
  67. "file-loader": "^6.2.0",
  68. "husky": "^7.0.2",
  69. "jest": "^27.5.1",
  70. "lint-staged": "^13.2.3",
  71. "memfs": "^3.4.13",
  72. "npm-run-all": "^4.1.5",
  73. "prettier": "^2.8.7",
  74. "standard-version": "^9.3.1",
  75. "typescript": "^4.9.5",
  76. "uglify-js": "^3.17.4",
  77. "webpack": "^5.88.2",
  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-contrib/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-contrib/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:types": "tsc --declaration --emitDeclarationOnly --outDir types && prettier \"types/**/*.ts\" --write",
  135. "clean": "del-cli dist types",
  136. "commitlint": "commitlint --from=master",
  137. "fix": "npm-run-all -l fix:js fix:prettier",
  138. "fix:js": "npm run lint:js -- --fix",
  139. "fix:prettier": "npm run lint:prettier -- --write",
  140. "lint": "npm-run-all -l -p \"lint:**\"",
  141. "lint:js": "eslint --cache .",
  142. "lint:prettier": "prettier --list-different .",
  143. "lint:spelling": "cspell \"**/*.*\"",
  144. "lint:types": "tsc --pretty --noEmit",
  145. "prebuild": "npm run clean",
  146. "prepare": "husky install && npm run build",
  147. "pretest": "npm run lint",
  148. "release": "standard-version",
  149. "security": "npm audit --production",
  150. "test": "npm run test:coverage",
  151. "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
  152. "test:only": "cross-env NODE_ENV=test jest",
  153. "test:watch": "npm run test:only -- --watch"
  154. },
  155. "types": "types/index.d.ts",
  156. "version": "5.3.10"
  157. }