1 | {
|
2 | "name": "terser-webpack-plugin",
|
3 | "version": "2.2.2",
|
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": ">= 8.9.0"
|
17 | },
|
18 | "scripts": {
|
19 | "start": "npm run build -- -w",
|
20 | "clean": "del-cli dist",
|
21 | "prebuild": "npm run clean",
|
22 | "build": "cross-env NODE_ENV=production babel src -d dist --copy-files",
|
23 | "commitlint": "commitlint --from=master",
|
24 | "security": "npm audit",
|
25 | "lint:prettier": "prettier \"{**/*,*}.{js,json,md,yml,css,ts}\" --list-different",
|
26 | "lint:js": "eslint --cache .",
|
27 | "lint": "npm-run-all -l -p \"lint:**\"",
|
28 | "test:only": "cross-env NODE_ENV=test jest",
|
29 | "test:watch": "npm run test:only -- --watch",
|
30 | "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
|
31 | "pretest": "npm run lint",
|
32 | "test": "npm run test:coverage",
|
33 | "prepare": "npm run build",
|
34 | "release": "standard-version",
|
35 | "defaults": "webpack-defaults"
|
36 | },
|
37 | "files": [
|
38 | "dist"
|
39 | ],
|
40 | "peerDependencies": {
|
41 | "webpack": "^4.0.0 || ^5.0.0"
|
42 | },
|
43 | "dependencies": {
|
44 | "cacache": "^13.0.1",
|
45 | "find-cache-dir": "^3.1.0",
|
46 | "jest-worker": "^24.9.0",
|
47 | "schema-utils": "^2.6.1",
|
48 | "serialize-javascript": "^2.1.1",
|
49 | "source-map": "^0.6.1",
|
50 | "terser": "^4.4.2",
|
51 | "webpack-sources": "^1.4.3"
|
52 | },
|
53 | "devDependencies": {
|
54 | "@babel/cli": "^7.7.4",
|
55 | "@babel/core": "^7.7.4",
|
56 | "@babel/preset-env": "^7.7.4",
|
57 | "@commitlint/cli": "^8.2.0",
|
58 | "@commitlint/config-conventional": "^8.2.0",
|
59 | "@webpack-contrib/defaults": "^6.2.0",
|
60 | "@webpack-contrib/eslint-config-webpack": "^3.0.0",
|
61 | "babel-jest": "^24.9.0",
|
62 | "commitlint-azure-pipelines-cli": "^1.0.2",
|
63 | "cross-env": "^6.0.3",
|
64 | "del": "^5.1.0",
|
65 | "del-cli": "^3.0.0",
|
66 | "eslint": "^6.7.2",
|
67 | "eslint-config-prettier": "^6.7.0",
|
68 | "eslint-plugin-import": "^2.18.2",
|
69 | "husky": "^3.1.0",
|
70 | "jest": "^24.9.0",
|
71 | "jest-junit": "^10.0.0",
|
72 | "lint-staged": "^9.5.0",
|
73 | "memfs": "^3.0.1",
|
74 | "npm-run-all": "^4.1.5",
|
75 | "prettier": "^1.19.1",
|
76 | "standard-version": "^7.0.1",
|
77 | "uglify-js": "^3.7.1",
|
78 | "webpack": "^4.41.2"
|
79 | },
|
80 | "keywords": [
|
81 | "uglify",
|
82 | "uglify-js",
|
83 | "uglify-es",
|
84 | "terser",
|
85 | "webpack",
|
86 | "webpack-plugin",
|
87 | "minification",
|
88 | "compress",
|
89 | "compressor",
|
90 | "min",
|
91 | "minification",
|
92 | "minifier",
|
93 | "minify",
|
94 | "optimize",
|
95 | "optimizer"
|
96 | ]
|
97 | }
|