package.json 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "name": "compression-webpack-plugin",
  3. "version": "5.0.2",
  4. "description": "Prepare compressed versions of assets to serve them with Content-Encoding",
  5. "license": "MIT",
  6. "repository": "webpack-contrib/compression-webpack-plugin",
  7. "author": "Tobias Koppers @sokra",
  8. "homepage": "https://github.com/webpack-contrib/compression-webpack-plugin",
  9. "bugs": "https://github.com/webpack-contrib/compression-webpack-plugin/issues",
  10. "funding": {
  11. "type": "opencollective",
  12. "url": "https://opencollective.com/webpack"
  13. },
  14. "main": "dist/cjs.js",
  15. "engines": {
  16. "node": ">= 10.13.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 --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": "^15.0.5",
  45. "find-cache-dir": "^3.3.1",
  46. "schema-utils": "^2.7.0",
  47. "serialize-javascript": "^4.0.0",
  48. "webpack-sources": "^1.4.3"
  49. },
  50. "devDependencies": {
  51. "@babel/cli": "^7.10.5",
  52. "@babel/core": "^7.11.4",
  53. "@babel/preset-env": "^7.11.0",
  54. "@commitlint/cli": "^10.0.0",
  55. "@commitlint/config-conventional": "^10.0.0",
  56. "@gfx/zopfli": "^1.0.15",
  57. "@webpack-contrib/defaults": "^6.3.0",
  58. "@webpack-contrib/eslint-config-webpack": "^3.0.0",
  59. "babel-jest": "^26.3.0",
  60. "cross-env": "^7.0.2",
  61. "del": "^5.1.0",
  62. "del-cli": "^3.0.1",
  63. "eslint": "^7.7.0",
  64. "eslint-config-prettier": "^6.11.0",
  65. "eslint-plugin-import": "^2.22.0",
  66. "file-loader": "^6.0.0",
  67. "husky": "^4.2.5",
  68. "jest": "^26.4.1",
  69. "lint-staged": "^10.2.11",
  70. "memfs": "^3.2.0",
  71. "npm-run-all": "^4.1.5",
  72. "prettier": "^2.0.5",
  73. "standard-version": "^9.0.0",
  74. "webpack": "^4.44.1"
  75. },
  76. "keywords": [
  77. "webpack"
  78. ]
  79. }