package.json 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. {
  2. "name": "compression-webpack-plugin",
  3. "version": "1.1.12",
  4. "author": "Tobias Koppers @sokra",
  5. "description": "Prepare compressed versions of assets to serve them with Content-Encoding",
  6. "main": "dist/cjs.js",
  7. "files": [
  8. "dist"
  9. ],
  10. "license": "MIT",
  11. "scripts": {
  12. "start": "npm run build -- -w",
  13. "appveyor:test": "npm run test",
  14. "build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js'",
  15. "clean": "del-cli dist",
  16. "lint": "eslint --cache src test --ignore-pattern fixtures",
  17. "lint-staged": "lint-staged",
  18. "prebuild": "npm run clean",
  19. "prepare": "npm run build",
  20. "release": "standard-version",
  21. "security": "nsp check",
  22. "test": "jest",
  23. "test:watch": "jest --watch",
  24. "test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
  25. "travis:lint": "npm run lint && npm run security",
  26. "travis:test": "npm run test -- --runInBand",
  27. "travis:coverage": "npm run test:coverage -- --runInBand",
  28. "webpack-defaults": "webpack-defaults"
  29. },
  30. "dependencies": {
  31. "cacache": "^10.0.1",
  32. "find-cache-dir": "^1.0.0",
  33. "neo-async": "^2.5.0",
  34. "serialize-javascript": "^1.4.0",
  35. "webpack-sources": "^1.0.1"
  36. },
  37. "devDependencies": {
  38. "babel-cli": "^6.26.0",
  39. "babel-jest": "^23.4.2",
  40. "babel-plugin-transform-object-rest-spread": "^6.26.0",
  41. "babel-polyfill": "^6.26.0",
  42. "babel-preset-env": "^1.6.1",
  43. "cross-env": "^5.1.0",
  44. "del-cli": "^1.1.0",
  45. "eslint": "^4.9.0",
  46. "eslint-config-webpack": "^1.2.5",
  47. "eslint-plugin-import": "^2.8.0",
  48. "file-loader": "^2.0.0",
  49. "jest": "^23.5.0",
  50. "lint-staged": "^7.2.2",
  51. "nsp": "^3.2.1",
  52. "pre-commit": "^1.2.2",
  53. "standard-version": "^4.2.0",
  54. "webpack": "^4.17.1",
  55. "webpack-defaults": "^1.6.0"
  56. },
  57. "peerDependencies": {
  58. "webpack": "^2.0.0 || ^3.0.0 || ^4.0.0"
  59. },
  60. "engines": {
  61. "node": ">= 4.8 < 5.0.0 || >= 5.10"
  62. },
  63. "homepage": "https://webpack.js.org/plugins/compression-webpack-plugin/",
  64. "repository": {
  65. "type": "git",
  66. "url": "git+https://github.com/webpack-contrib/compression-webpack-plugin.git"
  67. },
  68. "bugs": {
  69. "url": "https://github.com/webpack-contrib/compression-webpack-plugin/issues"
  70. },
  71. "pre-commit": "lint-staged",
  72. "lint-staged": {
  73. "linters": {
  74. "*.js": [
  75. "eslint --fix",
  76. "git add"
  77. ]
  78. },
  79. "ignore": [
  80. "**/fixtures/**"
  81. ]
  82. }
  83. }