package.json 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. {
  2. "name": "terser-webpack-plugin",
  3. "version": "1.4.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",
  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 --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": "^4.0.0",
  45. "source-map": "^0.6.1",
  46. "terser": "^4.1.2",
  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. "uglify-js": "^3.6.0",
  75. "webpack": "^4.38.0"
  76. },
  77. "keywords": [
  78. "uglify",
  79. "uglify-js",
  80. "uglify-es",
  81. "terser",
  82. "webpack",
  83. "webpack-plugin",
  84. "minification",
  85. "compress",
  86. "compressor",
  87. "min",
  88. "minification",
  89. "minifier",
  90. "minify",
  91. "optimize",
  92. "optimizer"
  93. ]
  94. }