package.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. {
  2. "name": "terser-webpack-plugin",
  3. "version": "2.3.8",
  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.3.1",
  46. "jest-worker": "^25.4.0",
  47. "p-limit": "^2.3.0",
  48. "schema-utils": "^2.6.6",
  49. "serialize-javascript": "^4.0.0",
  50. "source-map": "^0.6.1",
  51. "terser": "^4.6.12",
  52. "webpack-sources": "^1.4.3"
  53. },
  54. "devDependencies": {
  55. "@babel/cli": "^7.8.4",
  56. "@babel/core": "^7.9.0",
  57. "@babel/preset-env": "^7.9.5",
  58. "@commitlint/cli": "^8.3.5",
  59. "@commitlint/config-conventional": "^8.3.4",
  60. "@webpack-contrib/defaults": "^6.2.0",
  61. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  62. "babel-jest": "^25.4.0",
  63. "cross-env": "^6.0.3",
  64. "del": "^5.1.0",
  65. "del-cli": "^3.0.0",
  66. "eslint": "^6.8.0",
  67. "eslint-config-prettier": "^6.11.0",
  68. "eslint-plugin-import": "^2.20.2",
  69. "husky": "^4.2.5",
  70. "jest": "^25.4.0",
  71. "lint-staged": "^10.1.7",
  72. "memfs": "^3.1.2",
  73. "npm-run-all": "^4.1.5",
  74. "prettier": "^1.19.1",
  75. "standard-version": "^7.1.0",
  76. "uglify-js": "^3.9.1",
  77. "webpack": "^4.43.0"
  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. }