1 | {
|
---|
2 | "name": "terser-webpack-plugin",
|
---|
3 | "version": "5.1.4",
|
---|
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/cjs.js",
|
---|
15 | "engines": {
|
---|
16 | "node": ">= 10.13.0"
|
---|
17 | },
|
---|
18 | "scripts": {
|
---|
19 | "start": "npm run build -- -w",
|
---|
20 | "clean": "del-cli dist",
|
---|
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 | "dependencies": {
|
---|
47 | "jest-worker": "^27.0.2",
|
---|
48 | "p-limit": "^3.1.0",
|
---|
49 | "schema-utils": "^3.0.0",
|
---|
50 | "serialize-javascript": "^6.0.0",
|
---|
51 | "source-map": "^0.6.1",
|
---|
52 | "terser": "^5.7.0"
|
---|
53 | },
|
---|
54 | "devDependencies": {
|
---|
55 | "@babel/cli": "^7.14.5",
|
---|
56 | "@babel/core": "^7.14.6",
|
---|
57 | "@babel/preset-env": "^7.14.7",
|
---|
58 | "@commitlint/cli": "^12.1.4",
|
---|
59 | "@commitlint/config-conventional": "^12.1.4",
|
---|
60 | "@types/serialize-javascript": "^5.0.0",
|
---|
61 | "@webpack-contrib/eslint-config-webpack": "^3.0.0",
|
---|
62 | "babel-jest": "^27.0.2",
|
---|
63 | "copy-webpack-plugin": "^9.0.0",
|
---|
64 | "cross-env": "^7.0.3",
|
---|
65 | "del": "^6.0.0",
|
---|
66 | "del-cli": "^3.0.1",
|
---|
67 | "eslint": "^7.29.0",
|
---|
68 | "eslint-config-prettier": "^8.3.0",
|
---|
69 | "eslint-plugin-import": "^2.22.1",
|
---|
70 | "file-loader": "^6.2.0",
|
---|
71 | "husky": "^6.0.0",
|
---|
72 | "jest": "^27.0.5",
|
---|
73 | "lint-staged": "^11.0.0",
|
---|
74 | "memfs": "^3.2.2",
|
---|
75 | "npm-run-all": "^4.1.5",
|
---|
76 | "prettier": "^2.3.1",
|
---|
77 | "standard-version": "^9.3.0",
|
---|
78 | "typescript": "^4.3.4",
|
---|
79 | "uglify-js": "^3.13.9",
|
---|
80 | "webpack": "^5.40.0",
|
---|
81 | "worker-loader": "^3.0.8"
|
---|
82 | },
|
---|
83 | "keywords": [
|
---|
84 | "uglify",
|
---|
85 | "uglify-js",
|
---|
86 | "uglify-es",
|
---|
87 | "terser",
|
---|
88 | "webpack",
|
---|
89 | "webpack-plugin",
|
---|
90 | "minification",
|
---|
91 | "compress",
|
---|
92 | "compressor",
|
---|
93 | "min",
|
---|
94 | "minification",
|
---|
95 | "minifier",
|
---|
96 | "minify",
|
---|
97 | "optimize",
|
---|
98 | "optimizer"
|
---|
99 | ]
|
---|
100 | }
|
---|