package.json 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. {
  2. "_args": [
  3. [
  4. "terser-webpack-plugin@5.3.9",
  5. "/Users/mac/projects/mime/mine"
  6. ]
  7. ],
  8. "_development": true,
  9. "_from": "terser-webpack-plugin@5.3.9",
  10. "_id": "terser-webpack-plugin@5.3.9",
  11. "_inBundle": false,
  12. "_integrity": "sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==",
  13. "_location": "/terser-webpack-plugin",
  14. "_phantomChildren": {
  15. "@types/json-schema": "7.0.12",
  16. "ajv": "6.12.6",
  17. "ajv-keywords": "3.5.2"
  18. },
  19. "_requested": {
  20. "type": "version",
  21. "registry": true,
  22. "raw": "terser-webpack-plugin@5.3.9",
  23. "name": "terser-webpack-plugin",
  24. "escapedName": "terser-webpack-plugin",
  25. "rawSpec": "5.3.9",
  26. "saveSpec": null,
  27. "fetchSpec": "5.3.9"
  28. },
  29. "_requiredBy": [
  30. "/@vue/cli-service",
  31. "/webpack"
  32. ],
  33. "_resolved": "https://registry.npmmirror.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.9.tgz",
  34. "_spec": "5.3.9",
  35. "_where": "/Users/mac/projects/mime/mine",
  36. "author": {
  37. "name": "webpack Contrib Team"
  38. },
  39. "bugs": {
  40. "url": "https://github.com/webpack-contrib/terser-webpack-plugin/issues"
  41. },
  42. "dependencies": {
  43. "@jridgewell/trace-mapping": "^0.3.17",
  44. "jest-worker": "^27.4.5",
  45. "schema-utils": "^3.1.1",
  46. "serialize-javascript": "^6.0.1",
  47. "terser": "^5.16.8"
  48. },
  49. "description": "Terser plugin for webpack",
  50. "devDependencies": {
  51. "@babel/cli": "^7.21.0",
  52. "@babel/core": "^7.21.4",
  53. "@babel/preset-env": "^7.21.4",
  54. "@commitlint/cli": "^17.5.1",
  55. "@commitlint/config-conventional": "^17.4.4",
  56. "@swc/core": "^1.3.44",
  57. "@types/node": "^18.15.11",
  58. "@types/serialize-javascript": "^5.0.2",
  59. "@types/uglify-js": "^3.17.1",
  60. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  61. "babel-jest": "^28.1.2",
  62. "copy-webpack-plugin": "^9.0.1",
  63. "cross-env": "^7.0.3",
  64. "cspell": "^6.31.1",
  65. "del": "^6.0.0",
  66. "del-cli": "^3.0.1",
  67. "esbuild": "^0.14.51",
  68. "eslint": "^7.32.0",
  69. "eslint-config-prettier": "^8.8.0",
  70. "eslint-plugin-import": "^2.27.5",
  71. "file-loader": "^6.2.0",
  72. "husky": "^7.0.2",
  73. "jest": "^27.5.1",
  74. "lint-staged": "^13.2.0",
  75. "memfs": "^3.4.13",
  76. "npm-run-all": "^4.1.5",
  77. "prettier": "^2.8.7",
  78. "standard-version": "^9.3.1",
  79. "typescript": "^4.9.5",
  80. "uglify-js": "^3.17.4",
  81. "webpack": "^5.83.1",
  82. "webpack-cli": "^4.10.0",
  83. "worker-loader": "^3.0.8"
  84. },
  85. "engines": {
  86. "node": ">= 10.13.0"
  87. },
  88. "files": [
  89. "dist",
  90. "types"
  91. ],
  92. "funding": {
  93. "type": "opencollective",
  94. "url": "https://opencollective.com/webpack"
  95. },
  96. "homepage": "https://github.com/webpack-contrib/terser-webpack-plugin",
  97. "keywords": [
  98. "uglify",
  99. "uglify-js",
  100. "uglify-es",
  101. "terser",
  102. "webpack",
  103. "webpack-plugin",
  104. "minification",
  105. "compress",
  106. "compressor",
  107. "min",
  108. "minification",
  109. "minifier",
  110. "minify",
  111. "optimize",
  112. "optimizer"
  113. ],
  114. "license": "MIT",
  115. "main": "dist/index.js",
  116. "name": "terser-webpack-plugin",
  117. "peerDependencies": {
  118. "webpack": "^5.1.0"
  119. },
  120. "peerDependenciesMeta": {
  121. "@swc/core": {
  122. "optional": true
  123. },
  124. "uglify-js": {
  125. "optional": true
  126. },
  127. "esbuild": {
  128. "optional": true
  129. }
  130. },
  131. "repository": {
  132. "type": "git",
  133. "url": "git+https://github.com/webpack-contrib/terser-webpack-plugin.git"
  134. },
  135. "scripts": {
  136. "build": "npm-run-all -p \"build:**\"",
  137. "build:code": "cross-env NODE_ENV=production babel src -d dist --copy-files",
  138. "build:types": "tsc --declaration --emitDeclarationOnly --outDir types && prettier \"types/**/*.ts\" --write",
  139. "clean": "del-cli dist types",
  140. "commitlint": "commitlint --from=master",
  141. "fix": "npm-run-all -l fix:js fix:prettier",
  142. "fix:js": "npm run lint:js -- --fix",
  143. "fix:prettier": "npm run lint:prettier -- --write",
  144. "lint": "npm-run-all -l -p \"lint:**\"",
  145. "lint:js": "eslint --cache .",
  146. "lint:prettier": "prettier --list-different .",
  147. "lint:spelling": "cspell \"**/*.*\"",
  148. "lint:types": "tsc --pretty --noEmit",
  149. "prebuild": "npm run clean",
  150. "prepare": "husky install && npm run build",
  151. "pretest": "npm run lint",
  152. "release": "standard-version",
  153. "security": "npm audit --production",
  154. "test": "npm run test:coverage",
  155. "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
  156. "test:only": "cross-env NODE_ENV=test jest",
  157. "test:watch": "npm run test:only -- --watch"
  158. },
  159. "types": "types/index.d.ts",
  160. "version": "5.3.9"
  161. }