UNPKG

3.35 kBJSONView Raw
1{
2 "name": "terser-webpack-plugin-legacy",
3 "version": "1.2.5",
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/tree/webpack-3",
9 "bugs": "https://github.com/webpack-contrib/terser-webpack-plugin/issues",
10 "main": "dist/cjs.js",
11 "engines": {
12 "node": ">= 6.9.0"
13 },
14 "scripts": {
15 "start": "npm run build -- -w",
16 "prebuild": "npm run clean",
17 "build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files",
18 "clean": "del-cli dist",
19 "commitlint": "commitlint",
20 "commitmsg": "commitlint -e $GIT_PARAMS",
21 "lint": "eslint --cache src test",
22 "prepublish": "npm run build",
23 "release": "standard-version",
24 "security": "npm audit",
25 "test:only": "jest",
26 "test:watch": "jest --watch",
27 "test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
28 "pretest": "npm run lint",
29 "test": "npm run test:only",
30 "ci:lint": "npm run lint && npm run security",
31 "ci:test": "npm run test:only -- --runInBand",
32 "ci:coverage": "npm run test:coverage -- --runInBand",
33 "ci:lint:commits": "commitlint --from=origin/master --to=${CIRCLE_SHA1}",
34 "defaults": "webpack-defaults"
35 },
36 "files": [
37 "dist"
38 ],
39 "peerDependencies": {
40 "webpack": "^3.0.0"
41 },
42 "dependencies": {
43 "cacache": "^11.0.2",
44 "core-js": "^2.6.11",
45 "find-cache-dir": "^2.0.0",
46 "schema-utils": "^1.0.0",
47 "serialize-javascript": "^4.0.0",
48 "source-map": "^0.6.1",
49 "terser": "^3.16.1",
50 "webpack-sources": "^1.1.0",
51 "worker-farm": "^1.5.2"
52 },
53 "devDependencies": {
54 "@babel/cli": "^7.1.5",
55 "@babel/core": "^7.1.6",
56 "@babel/polyfill": "^7.0.0",
57 "@babel/preset-env": "^7.1.6",
58 "@commitlint/cli": "^7.0.0",
59 "@commitlint/config-conventional": "^7.0.1",
60 "@webpack-contrib/defaults": "^3.0.0",
61 "@webpack-contrib/eslint-config-webpack": "^3.0.0",
62 "babel-jest": "^24.0.0",
63 "cross-env": "^5.1.3",
64 "del": "^3.0.0",
65 "del-cli": "^1.1.0",
66 "eslint": "^5.5.0",
67 "eslint-config-webpack": "^1.2.5",
68 "eslint-plugin-import": "^2.8.0",
69 "eslint-plugin-prettier": "^3.0.0",
70 "husky": "^1.2.1",
71 "jest": "^24.0.0",
72 "lint-staged": "^8.1.0",
73 "memory-fs": "^0.4.1",
74 "prettier": "^1.14.0",
75 "standard-version": "^5.0.0",
76 "uglify-js": "^3.4.3",
77 "webpack": "^4.44.2"
78 },
79 "keywords": [
80 "uglify",
81 "uglify-js",
82 "uglify-es",
83 "terser",
84 "webpack",
85 "webpack-plugin",
86 "minification",
87 "compress",
88 "compressor",
89 "min",
90 "minification",
91 "minifier",
92 "minify",
93 "optimize",
94 "optimizer"
95 ],
96 "babel": {
97 "presets": [
98 [
99 "@babel/preset-env",
100 {
101 "targets": {
102 "node": "6.9.0"
103 },
104 "useBuiltIns": "usage"
105 }
106 ]
107 ]
108 },
109 "husky": {
110 "hooks": {
111 "pre-commit": "lint-staged"
112 }
113 },
114 "lint-staged": {
115 "*.js": [
116 "eslint --fix",
117 "git add"
118 ]
119 },
120 "commitlint": {
121 "extends": [
122 "@commitlint/config-conventional"
123 ]
124 },
125 "prettier": {
126 "singleQuote": true,
127 "trailingComma": "es5",
128 "arrowParens": "always"
129 }
130}