| 1 | {
|
|---|
| 2 | "name": "terser-webpack-plugin",
|
|---|
| 3 | "version": "5.6.0",
|
|---|
| 4 | "description": "Minimizer plugin for webpack",
|
|---|
| 5 | "keywords": [
|
|---|
| 6 | "uglify",
|
|---|
| 7 | "uglify-js",
|
|---|
| 8 | "uglify-es",
|
|---|
| 9 | "terser",
|
|---|
| 10 | "swc",
|
|---|
| 11 | "esbuild",
|
|---|
| 12 | "html",
|
|---|
| 13 | "html-minifier",
|
|---|
| 14 | "html-minifier-terser",
|
|---|
| 15 | "css",
|
|---|
| 16 | "cssnano",
|
|---|
| 17 | "csso",
|
|---|
| 18 | "clean-css",
|
|---|
| 19 | "lightningcss",
|
|---|
| 20 | "webpack",
|
|---|
| 21 | "webpack-plugin",
|
|---|
| 22 | "minification",
|
|---|
| 23 | "compress",
|
|---|
| 24 | "compressor",
|
|---|
| 25 | "min",
|
|---|
| 26 | "minification",
|
|---|
| 27 | "minifier",
|
|---|
| 28 | "minify",
|
|---|
| 29 | "optimize",
|
|---|
| 30 | "optimizer"
|
|---|
| 31 | ],
|
|---|
| 32 | "homepage": "https://github.com/webpack/minimizer-webpack-plugin",
|
|---|
| 33 | "bugs": "https://github.com/webpack/minimizer-webpack-plugin/issues",
|
|---|
| 34 | "repository": "webpack/minimizer-webpack-plugin",
|
|---|
| 35 | "funding": {
|
|---|
| 36 | "type": "opencollective",
|
|---|
| 37 | "url": "https://opencollective.com/webpack"
|
|---|
| 38 | },
|
|---|
| 39 | "license": "MIT",
|
|---|
| 40 | "author": "webpack Contrib Team",
|
|---|
| 41 | "main": "dist/index.js",
|
|---|
| 42 | "types": "types/index.d.ts",
|
|---|
| 43 | "files": [
|
|---|
| 44 | "dist",
|
|---|
| 45 | "types"
|
|---|
| 46 | ],
|
|---|
| 47 | "scripts": {
|
|---|
| 48 | "clean": "del-cli dist types",
|
|---|
| 49 | "prebuild": "npm run clean",
|
|---|
| 50 | "build:serialize-javascript": "node ./scripts/copy-serialize-javascript.js",
|
|---|
| 51 | "build:types": "tsc --declaration --emitDeclarationOnly --outDir types && prettier \"types/**/*.ts\" --write",
|
|---|
| 52 | "build:code": "babel src -d dist --copy-files",
|
|---|
| 53 | "build": "npm-run-all -p \"build:**\"",
|
|---|
| 54 | "security": "npm audit --production",
|
|---|
| 55 | "lint:serialize-javascript": "node ./scripts/copy-serialize-javascript.js --check",
|
|---|
| 56 | "lint:prettier": "prettier --list-different .",
|
|---|
| 57 | "lint:code": "eslint --cache .",
|
|---|
| 58 | "lint:spelling": "cspell \"**/*.*\"",
|
|---|
| 59 | "lint:types": "tsc --pretty --noEmit",
|
|---|
| 60 | "lint": "npm-run-all -l -p \"lint:**\"",
|
|---|
| 61 | "fix:code": "npm run lint:code -- --fix",
|
|---|
| 62 | "fix:prettier": "npm run lint:prettier -- --write",
|
|---|
| 63 | "fix": "npm-run-all -l fix:code fix:prettier",
|
|---|
| 64 | "test:base": "jest",
|
|---|
| 65 | "test:watch": "npm run test:base -- --watch",
|
|---|
| 66 | "test:coverage": "npm run test:base -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
|
|---|
| 67 | "pretest": "npm run lint",
|
|---|
| 68 | "test": "npm run test:coverage",
|
|---|
| 69 | "prepare": "husky install && npm run build",
|
|---|
| 70 | "version": "changeset version",
|
|---|
| 71 | "release": "npm run build && changeset publish"
|
|---|
| 72 | },
|
|---|
| 73 | "dependencies": {
|
|---|
| 74 | "@jridgewell/trace-mapping": "^0.3.25",
|
|---|
| 75 | "jest-worker": "^27.4.5",
|
|---|
| 76 | "schema-utils": "^4.3.0",
|
|---|
| 77 | "terser": "^5.31.1"
|
|---|
| 78 | },
|
|---|
| 79 | "devDependencies": {
|
|---|
| 80 | "@babel/cli": "^7.24.7",
|
|---|
| 81 | "@babel/core": "^7.24.7",
|
|---|
| 82 | "@babel/preset-env": "^7.29.5",
|
|---|
| 83 | "@changesets/cli": "^2.30.0",
|
|---|
| 84 | "@changesets/get-github-info": "^0.8.0",
|
|---|
| 85 | "@minify-html/node": "^0.16.4",
|
|---|
| 86 | "@swc/core": "^1.15.30",
|
|---|
| 87 | "@swc/css": "^0.0.28",
|
|---|
| 88 | "@swc/html": "^1.15.30",
|
|---|
| 89 | "@types/clean-css": "^4.2.11",
|
|---|
| 90 | "@types/csso": "^5.0.4",
|
|---|
| 91 | "@types/html-minifier-terser": "^7.0.2",
|
|---|
| 92 | "@types/node": "^24.2.1",
|
|---|
| 93 | "@types/serialize-javascript": "^5.0.2",
|
|---|
| 94 | "@types/uglify-js": "^3.17.5",
|
|---|
| 95 | "clean-css": "^5.3.3",
|
|---|
| 96 | "copy-webpack-plugin": "^9.0.1",
|
|---|
| 97 | "cspell": "^6.31.2",
|
|---|
| 98 | "cssnano": "^7.1.9",
|
|---|
| 99 | "csso": "^5.0.5",
|
|---|
| 100 | "del": "^6.0.0",
|
|---|
| 101 | "del-cli": "^3.0.1",
|
|---|
| 102 | "esbuild": "^0.27.3",
|
|---|
| 103 | "eslint": "^9.29.0",
|
|---|
| 104 | "eslint-config-webpack": "^4.5.1",
|
|---|
| 105 | "file-loader": "^6.2.0",
|
|---|
| 106 | "html-minifier-terser": "^7.2.0",
|
|---|
| 107 | "husky": "^7.0.2",
|
|---|
| 108 | "jest": "^27.5.1",
|
|---|
| 109 | "lightningcss": "^1.32.0",
|
|---|
| 110 | "lint-staged": "^13.2.3",
|
|---|
| 111 | "memfs": "^3.4.13",
|
|---|
| 112 | "npm-run-all": "^4.1.5",
|
|---|
| 113 | "postcss": "^8.5.14",
|
|---|
| 114 | "prettier": "^3.6.0",
|
|---|
| 115 | "prettier-2": "npm:prettier@^2",
|
|---|
| 116 | "serialize-javascript": "^7.0.5",
|
|---|
| 117 | "typescript": "^6.0.3",
|
|---|
| 118 | "uglify-js": "^3.19.3",
|
|---|
| 119 | "webpack": "^5.101.0",
|
|---|
| 120 | "webpack-cli": "^4.10.0",
|
|---|
| 121 | "worker-loader": "^3.0.8"
|
|---|
| 122 | },
|
|---|
| 123 | "peerDependencies": {
|
|---|
| 124 | "webpack": "^5.1.0"
|
|---|
| 125 | },
|
|---|
| 126 | "peerDependenciesMeta": {
|
|---|
| 127 | "@minify-html/node": {
|
|---|
| 128 | "optional": true
|
|---|
| 129 | },
|
|---|
| 130 | "@swc/core": {
|
|---|
| 131 | "optional": true
|
|---|
| 132 | },
|
|---|
| 133 | "@swc/css": {
|
|---|
| 134 | "optional": true
|
|---|
| 135 | },
|
|---|
| 136 | "@swc/html": {
|
|---|
| 137 | "optional": true
|
|---|
| 138 | },
|
|---|
| 139 | "clean-css": {
|
|---|
| 140 | "optional": true
|
|---|
| 141 | },
|
|---|
| 142 | "cssnano": {
|
|---|
| 143 | "optional": true
|
|---|
| 144 | },
|
|---|
| 145 | "csso": {
|
|---|
| 146 | "optional": true
|
|---|
| 147 | },
|
|---|
| 148 | "esbuild": {
|
|---|
| 149 | "optional": true
|
|---|
| 150 | },
|
|---|
| 151 | "html-minifier-terser": {
|
|---|
| 152 | "optional": true
|
|---|
| 153 | },
|
|---|
| 154 | "lightningcss": {
|
|---|
| 155 | "optional": true
|
|---|
| 156 | },
|
|---|
| 157 | "postcss": {
|
|---|
| 158 | "optional": true
|
|---|
| 159 | },
|
|---|
| 160 | "uglify-js": {
|
|---|
| 161 | "optional": true
|
|---|
| 162 | }
|
|---|
| 163 | },
|
|---|
| 164 | "engines": {
|
|---|
| 165 | "node": ">= 10.13.0"
|
|---|
| 166 | }
|
|---|
| 167 | }
|
|---|