@@ -1,6 +1,6 @@
{
"name": "uglifyjs-webpack-plugin",
- "version": "2.1.2",
+ "version": "2.1.3",
"description": "UglifyJS plugin for webpack",
"license": "MIT",
"repository": "webpack-contrib/uglifyjs-webpack-plugin",
@@ -16,21 +16,16 @@
"prebuild": "npm run clean",
"build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files",
"clean": "del-cli dist",
- "commitlint": "commitlint",
- "commitmsg": "commitlint -e $GIT_PARAMS",
+ "commitlint": "commitlint --from=master",
"lint": "eslint --cache src test",
- "prepublish": "npm run build",
+ "prepare": "npm run build",
"release": "standard-version",
"security": "npm audit",
"test:only": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
"pretest": "npm run lint",
- "test": "npm run test:only",
- "ci:lint": "npm run lint && npm run security",
- "ci:test": "npm run test:only -- --runInBand",
- "ci:coverage": "npm run test:coverage -- --runInBand",
- "ci:lint:commits": "commitlint --from=origin/master --to=${CIRCLE_SHA1}",
+ "test": "npm run test:coverage",
"defaults": "webpack-defaults"
},
"files": [
@@ -40,40 +35,41 @@
"webpack": "^4.0.0"
},
"dependencies": {
- "cacache": "^11.2.0",
- "find-cache-dir": "^2.0.0",
+ "cacache": "^11.3.2",
+ "find-cache-dir": "^2.1.0",
+ "is-wsl": "^1.1.0",
"schema-utils": "^1.0.0",
- "serialize-javascript": "^1.4.0",
+ "serialize-javascript": "^1.7.0",
"source-map": "^0.6.1",
- "uglify-js": "^3.0.0",
- "webpack-sources": "^1.1.0",
- "worker-farm": "^1.5.2"
+ "uglify-js": "^3.5.12",
+ "webpack-sources": "^1.3.0",
+ "worker-farm": "^1.7.0"
},
"devDependencies": {
- "@babel/cli": "^7.2.0",
- "@babel/core": "^7.2.2",
- "@babel/polyfill": "^7.0.0",
- "@babel/preset-env": "^7.2.0",
- "@commitlint/cli": "^7.1.2",
- "@commitlint/config-conventional": "^7.1.2",
- "@webpack-contrib/defaults": "^3.0.0",
+ "@babel/cli": "^7.4.4",
+ "@babel/core": "^7.4.4",
+ "@babel/preset-env": "^7.4.4",
+ "@commitlint/cli": "^7.6.1",
+ "@commitlint/config-conventional": "^7.6.0",
+ "@webpack-contrib/defaults": "^4.0.1",
"@webpack-contrib/eslint-config-webpack": "^3.0.0",
- "babel-jest": "^24.1.0",
- "cross-env": "^5.1.3",
- "del": "^3.0.0",
+ "babel-jest": "^24.8.0",
+ "commitlint-azure-pipelines-cli": "^1.0.1",
+ "cross-env": "^5.2.0",
+ "del": "^4.1.1",
"del-cli": "^1.1.0",
- "eslint": "^5.5.0",
- "eslint-config-webpack": "^1.2.5",
- "eslint-plugin-import": "^2.8.0",
- "eslint-plugin-prettier": "^3.0.0",
- "husky": "^1.2.1",
- "jest": "^24.1.0",
- "lint-staged": "^8.1.0",
+ "eslint": "^5.16.0",
+ "eslint-plugin-import": "^2.17.2",
+ "eslint-plugin-prettier": "^3.1.0",
+ "husky": "^2.3.0",
+ "jest": "^24.8.0",
+ "jest-junit": "^6.4.0",
+ "lint-staged": "^8.1.6",
"memory-fs": "^0.4.1",
- "prettier": "^1.14.2",
- "standard-version": "^5.0.0",
- "terser": "^3.7.6",
- "webpack": "^4.17.2"
+ "prettier": "^1.17.1",
+ "standard-version": "^6.0.1",
+ "terser": "^3.17.0",
+ "webpack": "^4.31.0"
},
"keywords": [
"uglify",
@@ -81,39 +77,5 @@
"uglify-es",
"webpack",
"webpack-plugin"
- ],
- "babel": {
- "presets": [
- [
- "@babel/preset-env",
- {
- "targets": {
- "node": "6.9.0"
- },
- "useBuiltIns": "usage"
- }
- ]
]
- },
- "husky": {
- "hooks": {
- "pre-commit": "lint-staged"
- }
- },
- "lint-staged": {
- "*.js": [
- "eslint --fix",
- "git add"
- ]
- },
- "commitlint": {
- "extends": [
- "@commitlint/config-conventional"
- ]
- },
- "prettier": {
- "singleQuote": true,
- "trailingComma": "es5",
- "arrowParens": "always"
- }
}