package.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "name": "uglifyjs-webpack-plugin",
  3. "version": "2.2.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. "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 --from=master",
  20. "lint:prettier": "prettier \"{**/*,*}.{js,json,md,yml,css}\" --list-different",
  21. "lint:js": "eslint --cache src test",
  22. "lint": "npm-run-all -l -p \"lint:**\"",
  23. "prepare": "npm run build",
  24. "release": "standard-version",
  25. "security": "npm audit",
  26. "test:only": "cross-env NODE_ENV=test jest",
  27. "test:watch": "cross-env NODE_ENV=test jest --watch",
  28. "test:coverage": "cross-env NODE_ENV=test jest --collectCoverageFrom=\"src/**/*.js\" --coverage",
  29. "pretest": "npm run lint",
  30. "test": "cross-env NODE_ENV=test npm run test:coverage",
  31. "defaults": "webpack-defaults"
  32. },
  33. "files": [
  34. "dist"
  35. ],
  36. "peerDependencies": {
  37. "webpack": "^4.0.0"
  38. },
  39. "dependencies": {
  40. "cacache": "^12.0.2",
  41. "find-cache-dir": "^2.1.0",
  42. "is-wsl": "^1.1.0",
  43. "schema-utils": "^1.0.0",
  44. "serialize-javascript": "^1.7.0",
  45. "source-map": "^0.6.1",
  46. "uglify-js": "^3.6.0",
  47. "webpack-sources": "^1.4.0",
  48. "worker-farm": "^1.7.0"
  49. },
  50. "devDependencies": {
  51. "@babel/cli": "^7.5.5",
  52. "@babel/core": "^7.5.5",
  53. "@babel/preset-env": "^7.5.5",
  54. "@commitlint/cli": "^8.1.0",
  55. "@commitlint/config-conventional": "^8.1.0",
  56. "@webpack-contrib/defaults": "^5.0.2",
  57. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  58. "babel-jest": "^24.8.0",
  59. "commitlint-azure-pipelines-cli": "^1.0.2",
  60. "cross-env": "^5.2.0",
  61. "del": "^4.1.1",
  62. "del-cli": "^1.1.0",
  63. "eslint": "^6.1.0",
  64. "eslint-config-prettier": "^6.0.0",
  65. "eslint-plugin-import": "^2.18.2",
  66. "husky": "^3.0.2",
  67. "jest": "^24.8.0",
  68. "jest-junit": "^7.0.0",
  69. "lint-staged": "^9.2.1",
  70. "memory-fs": "^0.4.1",
  71. "npm-run-all": "^4.1.5",
  72. "prettier": "^1.18.2",
  73. "standard-version": "^7.0.0",
  74. "terser": "^4.1.2",
  75. "webpack": "^4.38.0"
  76. },
  77. "keywords": [
  78. "uglify",
  79. "uglify-js",
  80. "uglify-es",
  81. "webpack",
  82. "webpack-plugin"
  83. ]
  84. }