UNPKG

3.01 kBJSONView Raw
1{
2 "name": "compression-webpack-plugin",
3 "version": "11.1.0",
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/index.js",
15 "types": "types/index.d.ts",
16 "engines": {
17 "node": ">= 18.12.0"
18 },
19 "scripts": {
20 "start": "npm run build -- -w",
21 "clean": "del-cli dist types",
22 "prebuild": "npm run clean",
23 "build:types": "tsc --declaration --emitDeclarationOnly --outDir types && prettier \"types/**/*.ts\" --write",
24 "build:code": "cross-env NODE_ENV=production babel src -d dist --copy-files",
25 "build": "npm-run-all -p \"build:**\"",
26 "commitlint": "commitlint --from=master",
27 "security": "npm audit --production",
28 "lint:prettier": "prettier --cache --list-different .",
29 "lint:js": "eslint --cache .",
30 "lint:spelling": "cspell --cache --no-must-find-files --quiet \"**/*.*\"",
31 "lint:types": "tsc --pretty --noEmit",
32 "lint": "npm-run-all -l -p \"lint:**\"",
33 "fix:js": "npm run lint:js -- --fix",
34 "fix:prettier": "npm run lint:prettier -- --write",
35 "fix": "npm-run-all -l fix:js fix:prettier",
36 "test:only": "cross-env NODE_ENV=test jest",
37 "test:watch": "npm run test:only -- --watch",
38 "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
39 "pretest": "npm run lint",
40 "test": "npm run test:coverage",
41 "prepare": "husky && npm run build",
42 "release": "standard-version"
43 },
44 "files": [
45 "dist",
46 "types"
47 ],
48 "peerDependencies": {
49 "webpack": "^5.1.0"
50 },
51 "dependencies": {
52 "schema-utils": "^4.2.0",
53 "serialize-javascript": "^6.0.2"
54 },
55 "devDependencies": {
56 "@babel/cli": "^7.23.4",
57 "@babel/core": "^7.23.7",
58 "@babel/preset-env": "^7.23.8",
59 "@commitlint/cli": "^19.0.0",
60 "@commitlint/config-conventional": "^19.0.0",
61 "@gfx/zopfli": "^1.0.15",
62 "@types/node": "^20.11.2",
63 "@types/serialize-javascript": "^5.0.4",
64 "@webpack-contrib/eslint-config-webpack": "^3.0.0",
65 "babel-jest": "^29.7.0",
66 "cross-env": "^7.0.3",
67 "cspell": "^8.3.2",
68 "del": "^7.1.0",
69 "del-cli": "^5.1.0",
70 "eslint": "^8.56.0",
71 "eslint-config-prettier": "^9.1.0",
72 "eslint-plugin-import": "^2.29.1",
73 "file-loader": "^6.2.0",
74 "husky": "^9.0.11",
75 "jest": "^29.7.0",
76 "lint-staged": "^15.2.0",
77 "memfs": "^4.6.0",
78 "npm-run-all": "^4.1.5",
79 "prettier": "^3.2.2",
80 "standard-version": "^9.5.0",
81 "typescript": "^5.3.3",
82 "webpack": "^5.89.0",
83 "webpack-stats-plugin": "^1.1.3",
84 "workbox-webpack-plugin": "^7.0.0"
85 },
86 "keywords": [
87 "webpack"
88 ]
89}