Files
dns-server/node_modules/terser-webpack-plugin/package.json
T
Alex Yang f627244b8f 更新
2026-03-30 01:04:46 +08:00

158 lines
4.5 KiB
JSON

{
"_from": "terser-webpack-plugin@^5.3.9",
"_id": "terser-webpack-plugin@5.4.0",
"_inBundle": false,
"_integrity": "sha512-Bn5vxm48flOIfkdl5CaD2+1CiUVbonWQ3KQPyP7/EuIl9Gbzq/gQFOzaMFUEgVjB1396tcK0SG8XcNJ/2kDH8g==",
"_location": "/terser-webpack-plugin",
"_phantomChildren": {
"@types/node": "25.5.0",
"merge-stream": "2.0.0",
"supports-color": "8.1.1"
},
"_requested": {
"type": "range",
"registry": true,
"raw": "terser-webpack-plugin@^5.3.9",
"name": "terser-webpack-plugin",
"escapedName": "terser-webpack-plugin",
"rawSpec": "^5.3.9",
"saveSpec": null,
"fetchSpec": "^5.3.9"
},
"_requiredBy": [
"#DEV:/",
"/webpack"
],
"_resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.4.0.tgz",
"_shasum": "95fc4cf4437e587be11ecf37d08636089174d76b",
"_spec": "terser-webpack-plugin@^5.3.9",
"_where": "/root/dns",
"author": {
"name": "webpack Contrib Team"
},
"bugs": {
"url": "https://github.com/webpack/terser-webpack-plugin/issues"
},
"bundleDependencies": false,
"dependencies": {
"@jridgewell/trace-mapping": "^0.3.25",
"jest-worker": "^27.4.5",
"schema-utils": "^4.3.0",
"terser": "^5.31.1"
},
"deprecated": false,
"description": "Terser plugin for webpack",
"devDependencies": {
"@babel/cli": "^7.24.7",
"@babel/core": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@swc/core": "^1.3.102",
"@types/node": "^24.2.1",
"@types/serialize-javascript": "^5.0.2",
"@types/uglify-js": "^3.17.5",
"copy-webpack-plugin": "^9.0.1",
"cross-env": "^7.0.3",
"cspell": "^6.31.2",
"del": "^6.0.0",
"del-cli": "^3.0.1",
"esbuild": "^0.27.3",
"eslint": "^9.29.0",
"eslint-config-webpack": "^4.5.1",
"file-loader": "^6.2.0",
"husky": "^7.0.2",
"jest": "^27.5.1",
"lint-staged": "^13.2.3",
"memfs": "^3.4.13",
"npm-run-all": "^4.1.5",
"prettier": "^3.6.0",
"prettier-2": "npm:prettier@^2",
"serialize-javascript": "^7.0.4",
"standard-version": "^9.3.1",
"typescript": "^5.9.2",
"uglify-js": "^3.19.3",
"webpack": "^5.101.0",
"webpack-cli": "^4.10.0",
"worker-loader": "^3.0.8"
},
"engines": {
"node": ">= 10.13.0"
},
"files": [
"dist",
"types"
],
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/webpack"
},
"homepage": "https://github.com/webpack/terser-webpack-plugin",
"keywords": [
"uglify",
"uglify-js",
"uglify-es",
"terser",
"webpack",
"webpack-plugin",
"minification",
"compress",
"compressor",
"min",
"minification",
"minifier",
"minify",
"optimize",
"optimizer"
],
"license": "MIT",
"main": "dist/index.js",
"name": "terser-webpack-plugin",
"peerDependencies": {
"webpack": "^5.1.0"
},
"peerDependenciesMeta": {
"esbuild": {
"optional": true
},
"@swc/core": {
"optional": true
},
"uglify-js": {
"optional": true
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/webpack/terser-webpack-plugin.git"
},
"scripts": {
"build": "npm-run-all -p \"build:**\"",
"build:code": "cross-env NODE_ENV=production babel src -d dist --copy-files",
"build:serialize-javascript": "node ./scripts/copy-serialize-javascript.js",
"build:types": "tsc --declaration --emitDeclarationOnly --outDir types && prettier \"types/**/*.ts\" --write",
"clean": "del-cli dist types",
"commitlint": "commitlint --from=main",
"fix": "npm-run-all -l fix:code fix:prettier",
"fix:code": "npm run lint:code -- --fix",
"fix:prettier": "npm run lint:prettier -- --write",
"lint": "npm-run-all -l -p \"lint:**\"",
"lint:code": "eslint --cache .",
"lint:prettier": "prettier --list-different .",
"lint:serialize-javascript": "node ./scripts/copy-serialize-javascript.js --check",
"lint:spelling": "cspell \"**/*.*\"",
"lint:types": "tsc --pretty --noEmit",
"prebuild": "npm run clean",
"prepare": "husky install && npm run build",
"pretest": "npm run lint",
"release": "standard-version",
"security": "npm audit --production",
"test": "npm run test:coverage",
"test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
"test:only": "cross-env NODE_ENV=test jest",
"test:watch": "npm run test:only -- --watch"
},
"types": "types/index.d.ts",
"version": "5.4.0"
}