package.json 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. {
  2. "_from": "terser-webpack-plugin",
  3. "_id": "terser-webpack-plugin@5.3.10",
  4. "_inBundle": false,
  5. "_integrity": "sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==",
  6. "_location": "/terser-webpack-plugin",
  7. "_phantomChildren": {
  8. "@types/json-schema": "7.0.15",
  9. "ajv": "6.12.6",
  10. "ajv-keywords": "3.5.2"
  11. },
  12. "_requested": {
  13. "type": "tag",
  14. "registry": true,
  15. "raw": "terser-webpack-plugin",
  16. "name": "terser-webpack-plugin",
  17. "escapedName": "terser-webpack-plugin",
  18. "rawSpec": "",
  19. "saveSpec": null,
  20. "fetchSpec": "latest"
  21. },
  22. "_requiredBy": [
  23. "#DEV:/",
  24. "#USER",
  25. "/webpack"
  26. ],
  27. "_resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.10.tgz",
  28. "_shasum": "904f4c9193c6fd2a03f693a2150c62a92f40d199",
  29. "_spec": "terser-webpack-plugin",
  30. "_where": "/Users/ben/Desktop/app/be/be-ytb/js",
  31. "author": {
  32. "name": "webpack Contrib Team"
  33. },
  34. "bugs": {
  35. "url": "https://github.com/webpack-contrib/terser-webpack-plugin/issues"
  36. },
  37. "bundleDependencies": false,
  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. "deprecated": false,
  46. "description": "Terser plugin for webpack",
  47. "devDependencies": {
  48. "@babel/cli": "^7.22.15",
  49. "@babel/core": "^7.22.17",
  50. "@babel/preset-env": "^7.22.15",
  51. "@commitlint/cli": "^17.7.1",
  52. "@commitlint/config-conventional": "^17.7.0",
  53. "@swc/core": "^1.3.84",
  54. "@types/node": "^18.15.11",
  55. "@types/serialize-javascript": "^5.0.2",
  56. "@types/uglify-js": "^3.17.1",
  57. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  58. "babel-jest": "^28.1.2",
  59. "copy-webpack-plugin": "^9.0.1",
  60. "cross-env": "^7.0.3",
  61. "cspell": "^6.31.2",
  62. "del": "^6.0.0",
  63. "del-cli": "^3.0.1",
  64. "esbuild": "^0.19.10",
  65. "eslint": "^7.32.0",
  66. "eslint-config-prettier": "^8.9.0",
  67. "eslint-plugin-import": "^2.28.1",
  68. "file-loader": "^6.2.0",
  69. "husky": "^7.0.2",
  70. "jest": "^27.5.1",
  71. "lint-staged": "^13.2.3",
  72. "memfs": "^3.4.13",
  73. "npm-run-all": "^4.1.5",
  74. "prettier": "^2.8.7",
  75. "standard-version": "^9.3.1",
  76. "typescript": "^4.9.5",
  77. "uglify-js": "^3.17.4",
  78. "webpack": "^5.88.2",
  79. "webpack-cli": "^4.10.0",
  80. "worker-loader": "^3.0.8"
  81. },
  82. "engines": {
  83. "node": ">= 10.13.0"
  84. },
  85. "files": [
  86. "dist",
  87. "types"
  88. ],
  89. "funding": {
  90. "type": "opencollective",
  91. "url": "https://opencollective.com/webpack"
  92. },
  93. "homepage": "https://github.com/webpack-contrib/terser-webpack-plugin",
  94. "keywords": [
  95. "uglify",
  96. "uglify-js",
  97. "uglify-es",
  98. "terser",
  99. "webpack",
  100. "webpack-plugin",
  101. "minification",
  102. "compress",
  103. "compressor",
  104. "min",
  105. "minification",
  106. "minifier",
  107. "minify",
  108. "optimize",
  109. "optimizer"
  110. ],
  111. "license": "MIT",
  112. "main": "dist/index.js",
  113. "name": "terser-webpack-plugin",
  114. "peerDependencies": {
  115. "webpack": "^5.1.0"
  116. },
  117. "peerDependenciesMeta": {
  118. "@swc/core": {
  119. "optional": true
  120. },
  121. "uglify-js": {
  122. "optional": true
  123. },
  124. "esbuild": {
  125. "optional": true
  126. }
  127. },
  128. "repository": {
  129. "type": "git",
  130. "url": "git+https://github.com/webpack-contrib/terser-webpack-plugin.git"
  131. },
  132. "scripts": {
  133. "build": "npm-run-all -p \"build:**\"",
  134. "build:code": "cross-env NODE_ENV=production babel src -d dist --copy-files",
  135. "build:types": "tsc --declaration --emitDeclarationOnly --outDir types && prettier \"types/**/*.ts\" --write",
  136. "clean": "del-cli dist types",
  137. "commitlint": "commitlint --from=master",
  138. "fix": "npm-run-all -l fix:js fix:prettier",
  139. "fix:js": "npm run lint:js -- --fix",
  140. "fix:prettier": "npm run lint:prettier -- --write",
  141. "lint": "npm-run-all -l -p \"lint:**\"",
  142. "lint:js": "eslint --cache .",
  143. "lint:prettier": "prettier --list-different .",
  144. "lint:spelling": "cspell \"**/*.*\"",
  145. "lint:types": "tsc --pretty --noEmit",
  146. "prebuild": "npm run clean",
  147. "prepare": "husky install && npm run build",
  148. "pretest": "npm run lint",
  149. "release": "standard-version",
  150. "security": "npm audit --production",
  151. "test": "npm run test:coverage",
  152. "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
  153. "test:only": "cross-env NODE_ENV=test jest",
  154. "test:watch": "npm run test:only -- --watch"
  155. },
  156. "types": "types/index.d.ts",
  157. "version": "5.3.10"
  158. }