UNPKG

3.23 kBJSONView Raw
1{
2 "name": "terser-webpack-plugin",
3 "version": "5.3.3",
4 "description": "Terser plugin for webpack",
5 "license": "MIT",
6 "repository": "webpack-contrib/terser-webpack-plugin",
7 "author": "webpack Contrib Team",
8 "homepage": "https://github.com/webpack-contrib/terser-webpack-plugin",
9 "bugs": "https://github.com/webpack-contrib/terser-webpack-plugin/issues",
10 "funding": {
11 "type": "opencollective",
12 "url": "https://opencollective.com/webpack"
13 },
14 "main": "dist/index.js",
15 "types": "types/index.d.ts",
16 "engines": {
17 "node": ">= 10.13.0"
18 },
19 "scripts": {
20 "clean": "del-cli dist types",
21 "prebuild": "npm run clean",
22 "build:types": "tsc --declaration --emitDeclarationOnly --outDir types && prettier \"types/**/*.ts\" --write",
23 "build:code": "cross-env NODE_ENV=production babel src -d dist --copy-files",
24 "build": "npm-run-all -p \"build:**\"",
25 "commitlint": "commitlint --from=master",
26 "security": "npm audit --production",
27 "lint:prettier": "prettier --list-different .",
28 "lint:js": "eslint --cache .",
29 "lint:types": "tsc --pretty --noEmit",
30 "lint": "npm-run-all -l -p \"lint:**\"",
31 "test:only": "cross-env NODE_ENV=test jest",
32 "test:watch": "npm run test:only -- --watch",
33 "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
34 "pretest": "npm run lint",
35 "test": "npm run test:coverage",
36 "prepare": "husky install && npm run build",
37 "release": "standard-version"
38 },
39 "files": [
40 "dist",
41 "types"
42 ],
43 "peerDependencies": {
44 "webpack": "^5.1.0"
45 },
46 "peerDependenciesMeta": {
47 "@swc/core": {
48 "optional": true
49 },
50 "uglify-js": {
51 "optional": true
52 },
53 "esbuild": {
54 "optional": true
55 }
56 },
57 "dependencies": {
58 "@jridgewell/trace-mapping": "^0.3.7",
59 "jest-worker": "^27.4.5",
60 "schema-utils": "^3.1.1",
61 "serialize-javascript": "^6.0.0",
62 "terser": "^5.7.2"
63 },
64 "devDependencies": {
65 "@babel/cli": "^7.16.7",
66 "@babel/core": "^7.16.7",
67 "@babel/preset-env": "^7.16.7",
68 "@commitlint/cli": "^17.0.2",
69 "@commitlint/config-conventional": "^17.0.2",
70 "@swc/core": "^1.2.126",
71 "@types/serialize-javascript": "^5.0.2",
72 "@types/uglify-js": "^3.13.1",
73 "@webpack-contrib/eslint-config-webpack": "^3.0.0",
74 "babel-jest": "^28.1.0",
75 "copy-webpack-plugin": "^9.0.1",
76 "cross-env": "^7.0.3",
77 "del": "^6.0.0",
78 "del-cli": "^3.0.1",
79 "esbuild": "^0.14.10",
80 "eslint": "^7.32.0",
81 "eslint-config-prettier": "^8.3.0",
82 "eslint-plugin-import": "^2.25.4",
83 "file-loader": "^6.2.0",
84 "husky": "^7.0.2",
85 "jest": "^27.5.1",
86 "lint-staged": "^13.0.0",
87 "memfs": "^3.4.1",
88 "npm-run-all": "^4.1.5",
89 "prettier": "^2.3.2",
90 "standard-version": "^9.3.1",
91 "typescript": "^4.5.4",
92 "uglify-js": "^3.14.5",
93 "webpack": "^5.70.0",
94 "webpack-cli": "^4.9.1",
95 "worker-loader": "^3.0.8"
96 },
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}