103 lines
2.9 KiB
JSON
103 lines
2.9 KiB
JSON
|
{
|
||
|
"name": "terser-webpack-plugin",
|
||
|
"version": "5.1.1",
|
||
|
"description": "Terser plugin for webpack",
|
||
|
"license": "MIT",
|
||
|
"repository": "webpack-contrib/terser-webpack-plugin",
|
||
|
"author": "webpack Contrib Team",
|
||
|
"homepage": "https://github.com/webpack-contrib/terser-webpack-plugin",
|
||
|
"bugs": "https://github.com/webpack-contrib/terser-webpack-plugin/issues",
|
||
|
"funding": {
|
||
|
"type": "opencollective",
|
||
|
"url": "https://opencollective.com/webpack"
|
||
|
},
|
||
|
"main": "dist/cjs.js",
|
||
|
"engines": {
|
||
|
"node": ">= 10.13.0"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"start": "npm run build -- -w",
|
||
|
"clean": "del-cli dist",
|
||
|
"prebuild": "npm run clean",
|
||
|
"_build:types": "tsc --declaration --emitDeclarationOnly --outDir declarations && prettier \"declarations/**/*.ts\" --write",
|
||
|
"build:code": "cross-env NODE_ENV=production babel src -d dist --copy-files",
|
||
|
"build": "npm-run-all -p \"build:**\"",
|
||
|
"commitlint": "commitlint --from=master",
|
||
|
"security": "npm audit",
|
||
|
"lint:prettier": "prettier --list-different .",
|
||
|
"lint:js": "eslint --cache .",
|
||
|
"_lint:types": "tsc --pretty --noEmit",
|
||
|
"lint": "npm-run-all -l -p \"lint:**\"",
|
||
|
"test:only": "cross-env NODE_ENV=test jest",
|
||
|
"test:watch": "npm run test:only -- --watch",
|
||
|
"test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
|
||
|
"pretest": "npm run lint",
|
||
|
"test": "npm run test:coverage",
|
||
|
"prepare": "npm run build",
|
||
|
"release": "standard-version",
|
||
|
"defaults": "webpack-defaults"
|
||
|
},
|
||
|
"files": [
|
||
|
"dist",
|
||
|
"declarations"
|
||
|
],
|
||
|
"peerDependencies": {
|
||
|
"webpack": "^5.1.0"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"jest-worker": "^26.6.2",
|
||
|
"p-limit": "^3.1.0",
|
||
|
"schema-utils": "^3.0.0",
|
||
|
"serialize-javascript": "^5.0.1",
|
||
|
"source-map": "^0.6.1",
|
||
|
"terser": "^5.5.1"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@babel/cli": "^7.12.10",
|
||
|
"@babel/core": "^7.12.10",
|
||
|
"@babel/preset-env": "^7.12.11",
|
||
|
"@commitlint/cli": "^11.0.0",
|
||
|
"@commitlint/config-conventional": "^11.0.0",
|
||
|
"@types/serialize-javascript": "^5.0.0",
|
||
|
"@webpack-contrib/defaults": "^6.3.0",
|
||
|
"@webpack-contrib/eslint-config-webpack": "^3.0.0",
|
||
|
"babel-jest": "^26.6.3",
|
||
|
"copy-webpack-plugin": "^7.0.0",
|
||
|
"cross-env": "^7.0.3",
|
||
|
"del": "^6.0.0",
|
||
|
"del-cli": "^3.0.1",
|
||
|
"eslint": "^7.17.0",
|
||
|
"eslint-config-prettier": "^7.1.0",
|
||
|
"eslint-plugin-import": "^2.22.1",
|
||
|
"file-loader": "^6.2.0",
|
||
|
"husky": "^4.3.7",
|
||
|
"jest": "^26.6.3",
|
||
|
"lint-staged": "^10.5.3",
|
||
|
"memfs": "^3.2.0",
|
||
|
"npm-run-all": "^4.1.5",
|
||
|
"prettier": "^2.2.1",
|
||
|
"standard-version": "^9.1.0",
|
||
|
"typescript": "^4.1.3",
|
||
|
"uglify-js": "^3.12.4",
|
||
|
"webpack": "^5.12.1",
|
||
|
"worker-loader": "^3.0.7"
|
||
|
},
|
||
|
"keywords": [
|
||
|
"uglify",
|
||
|
"uglify-js",
|
||
|
"uglify-es",
|
||
|
"terser",
|
||
|
"webpack",
|
||
|
"webpack-plugin",
|
||
|
"minification",
|
||
|
"compress",
|
||
|
"compressor",
|
||
|
"min",
|
||
|
"minification",
|
||
|
"minifier",
|
||
|
"minify",
|
||
|
"optimize",
|
||
|
"optimizer"
|
||
|
]
|
||
|
}
|