UNPKG

3.02 kBJSONView Raw
1{
2 "name": "uglifyjs-webpack-plugin",
3 "version": "2.0.0",
4 "description": "UglifyJS plugin for webpack",
5 "license": "MIT",
6 "repository": "webpack-contrib/uglifyjs-webpack-plugin",
7 "author": "webpack Contrib Team",
8 "homepage": "https://github.com/webpack-contrib/uglifyjs-webpack-plugin",
9 "bugs": "https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues",
10 "bin": "",
11 "main": "dist/cjs.js",
12 "engines": {
13 "node": ">= 6.9.0 <7.0.0 || >= 8.9.0"
14 },
15 "scripts": {
16 "start": "npm run build -- -w",
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 "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
23 "lint-staged": "lint-staged",
24 "prebuild": "npm run clean",
25 "prepare": "npm run build",
26 "release": "standard-version",
27 "release:ci": "conventional-github-releaser -p angular",
28 "release:validate": "commitlint --from=$(git describe --tags --abbrev=0) --to=$(git rev-parse HEAD)",
29 "security": "npm audit",
30 "test": "jest",
31 "test:watch": "jest --watch",
32 "test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
33 "ci:lint": "npm run lint && npm run security",
34 "ci:test": "npm run test -- --runInBand",
35 "ci:coverage": "npm run test:coverage -- --runInBand",
36 "defaults": "webpack-defaults"
37 },
38 "files": [
39 "dist"
40 ],
41 "peerDependencies": {
42 "webpack": "^4.3.0"
43 },
44 "dependencies": {
45 "cacache": "^11.2.0",
46 "find-cache-dir": "^2.0.0",
47 "schema-utils": "^1.0.0",
48 "serialize-javascript": "^1.4.0",
49 "source-map": "^0.6.1",
50 "uglify-js": "^3.4.9",
51 "webpack-sources": "^1.1.0",
52 "worker-farm": "^1.5.2"
53 },
54 "devDependencies": {
55 "@commitlint/cli": "^7.1.2",
56 "@commitlint/config-conventional": "^7.1.2",
57 "@webpack-contrib/eslint-config-webpack": "^2.0.4",
58 "babel-cli": "^6.26.0",
59 "babel-jest": "^23.4.2",
60 "babel-plugin-transform-object-rest-spread": "^6.26.0",
61 "babel-polyfill": "^6.26.0",
62 "babel-preset-env": "^1.6.1",
63 "conventional-github-releaser": "^3.1.2",
64 "cross-env": "^5.1.3",
65 "del": "^3.0.0",
66 "del-cli": "^1.1.0",
67 "eslint": "^5.5.0",
68 "eslint-config-webpack": "^1.2.5",
69 "eslint-plugin-import": "^2.8.0",
70 "eslint-plugin-prettier": "^2.6.2",
71 "husky": "^0.14.3",
72 "jest": "^23.5.0",
73 "lint-staged": "^7.2.2",
74 "memory-fs": "^0.4.1",
75 "pre-commit": "^1.2.2",
76 "prettier": "^1.14.2",
77 "standard-version": "^4.3.0",
78 "terser": "^3.7.6",
79 "webpack": "^4.17.2",
80 "webpack-defaults": "^2.3.0"
81 },
82 "keywords": [
83 "uglify",
84 "uglify-js",
85 "uglify-es",
86 "webpack",
87 "webpack-plugin"
88 ],
89 "jest": {
90 "testEnvironment": "node"
91 },
92 "pre-commit": "lint-staged",
93 "lint-staged": {
94 "*.js": [
95 "eslint --fix",
96 "git add"
97 ]
98 }
99}