1 | {
|
2 | "name": "terser-webpack-plugin",
|
3 | "version": "5.1.0",
|
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 declarations && prettier \"declarations/**/*.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",
|
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": "npm run build",
|
37 | "release": "standard-version",
|
38 | "defaults": "webpack-defaults"
|
39 | },
|
40 | "files": [
|
41 | "dist",
|
42 | "declarations"
|
43 | ],
|
44 | "peerDependencies": {
|
45 | "webpack": "^5.1.0"
|
46 | },
|
47 | "dependencies": {
|
48 | "jest-worker": "^26.6.2",
|
49 | "p-limit": "^3.1.0",
|
50 | "schema-utils": "^3.0.0",
|
51 | "serialize-javascript": "^5.0.1",
|
52 | "source-map": "^0.6.1",
|
53 | "terser": "^5.5.1"
|
54 | },
|
55 | "devDependencies": {
|
56 | "@babel/cli": "^7.12.10",
|
57 | "@babel/core": "^7.12.10",
|
58 | "@babel/preset-env": "^7.12.11",
|
59 | "@commitlint/cli": "^11.0.0",
|
60 | "@commitlint/config-conventional": "^11.0.0",
|
61 | "@types/serialize-javascript": "^5.0.0",
|
62 | "@webpack-contrib/defaults": "^6.3.0",
|
63 | "@webpack-contrib/eslint-config-webpack": "^3.0.0",
|
64 | "babel-jest": "^26.6.3",
|
65 | "copy-webpack-plugin": "^7.0.0",
|
66 | "cross-env": "^7.0.3",
|
67 | "del": "^6.0.0",
|
68 | "del-cli": "^3.0.1",
|
69 | "eslint": "^7.17.0",
|
70 | "eslint-config-prettier": "^7.1.0",
|
71 | "eslint-plugin-import": "^2.22.1",
|
72 | "file-loader": "^6.2.0",
|
73 | "husky": "^4.3.7",
|
74 | "jest": "^26.6.3",
|
75 | "lint-staged": "^10.5.3",
|
76 | "memfs": "^3.2.0",
|
77 | "npm-run-all": "^4.1.5",
|
78 | "prettier": "^2.2.1",
|
79 | "standard-version": "^9.1.0",
|
80 | "typescript": "^4.1.3",
|
81 | "uglify-js": "^3.12.4",
|
82 | "webpack": "^5.12.1",
|
83 | "worker-loader": "^3.0.7"
|
84 | },
|
85 | "keywords": [
|
86 | "uglify",
|
87 | "uglify-js",
|
88 | "uglify-es",
|
89 | "terser",
|
90 | "webpack",
|
91 | "webpack-plugin",
|
92 | "minification",
|
93 | "compress",
|
94 | "compressor",
|
95 | "min",
|
96 | "minification",
|
97 | "minifier",
|
98 | "minify",
|
99 | "optimize",
|
100 | "optimizer"
|
101 | ]
|
102 | }
|