1 | {
|
2 | "name": "image-minimizer-webpack-plugin",
|
3 | "version": "4.0.1",
|
4 | "description": "Webpack loader and plugin to optimize (compress) images using imagemin",
|
5 | "license": "MIT",
|
6 | "repository": "webpack-contrib/image-minimizer-webpack-plugin",
|
7 | "author": "Alexander Krasnoyarov (https://github.com/evilebottnawi)",
|
8 | "homepage": "https://github.com/webpack-contrib/image-minimizer-webpack-plugin",
|
9 | "bugs": "https://github.com/webpack-contrib/image-minimizer-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 && 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 --runInBand",
|
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 install && npm run build",
|
42 | "release": "standard-version"
|
43 | },
|
44 | "files": [
|
45 | "dist",
|
46 | "types"
|
47 | ],
|
48 | "overrides": {
|
49 | "sharp": "$sharp",
|
50 | "imagemin-avif": {
|
51 | "sharp": "$sharp"
|
52 | }
|
53 | },
|
54 | "peerDependencies": {
|
55 | "webpack": "^5.1.0"
|
56 | },
|
57 | "peerDependenciesMeta": {
|
58 | "sharp": {
|
59 | "optional": true
|
60 | },
|
61 | "@squoosh/lib": {
|
62 | "optional": true
|
63 | },
|
64 | "imagemin": {
|
65 | "optional": true
|
66 | },
|
67 | "svgo": {
|
68 | "optional": true
|
69 | }
|
70 | },
|
71 | "dependencies": {
|
72 | "schema-utils": "^4.2.0",
|
73 | "serialize-javascript": "^6.0.2"
|
74 | },
|
75 | "devDependencies": {
|
76 | "@babel/cli": "^7.24.5",
|
77 | "@babel/core": "^7.24.5",
|
78 | "@babel/preset-env": "^7.24.5",
|
79 | "@commitlint/cli": "^18.6.1",
|
80 | "@commitlint/config-conventional": "^18.6.2",
|
81 | "@squoosh/lib": "^0.5.3",
|
82 | "@types/imagemin": "^8.0.5",
|
83 | "@types/node": "^20.12.8",
|
84 | "@types/serialize-javascript": "^5.0.4",
|
85 | "@types/sharp": "^0.32.0",
|
86 | "@webpack-contrib/eslint-config-webpack": "^3.0.0",
|
87 | "babel-jest": "^29.7.0",
|
88 | "copy-webpack-plugin": "^9.0.0",
|
89 | "cross-env": "^7.0.3",
|
90 | "cspell": "^8.8.0",
|
91 | "css-loader": "^6.10.0",
|
92 | "del": "^7.1.0",
|
93 | "del-cli": "^5.1.0",
|
94 | "eslint": "^8.57.0",
|
95 | "eslint-plugin-import": "^2.29.1",
|
96 | "eslint-plugin-itgalaxy": "^138.0.0",
|
97 | "eslint-plugin-jest": "^27.9.0",
|
98 | "eslint-plugin-jsx-a11y": "^6.8.0",
|
99 | "eslint-plugin-markdown": "^3.0.1",
|
100 | "eslint-plugin-node": "^11.1.0",
|
101 | "eslint-plugin-unicorn": "^44.0.2",
|
102 | "file-loader": "^6.2.0",
|
103 | "file-type": "^16.5.4",
|
104 | "husky": "^8.0.3",
|
105 | "image-size": "^1.1.1",
|
106 | "imagemin": "^8.0.1",
|
107 | "imagemin-avif": "^0.1.6",
|
108 | "imagemin-gifsicle": "^7.0.0",
|
109 | "imagemin-mozjpeg": "^9.0.0",
|
110 | "imagemin-pngquant": "^9.0.2",
|
111 | "imagemin-svgo": "^10.0.1",
|
112 | "imagemin-webp": "^6.1.0",
|
113 | "jest": "^29.7.0",
|
114 | "lint-staged": "^15.2.2",
|
115 | "memfs": "^4.9.2",
|
116 | "mini-css-extract-plugin": "^2.9.0",
|
117 | "npm-run-all": "^4.1.5",
|
118 | "pify": "^5.0.0",
|
119 | "prettier": "^3.2.5",
|
120 | "remark-cli": "^12.0.1",
|
121 | "remark-preset-lint-itgalaxy": "^16.0.0",
|
122 | "sharp": "^0.33.3",
|
123 | "standard-version": "^9.5.0",
|
124 | "svgo": "^3.2.0",
|
125 | "tempy": "^1.0.1",
|
126 | "typescript": "^5.4.5",
|
127 | "url-loader": "^4.1.1",
|
128 | "webpack": "^5.91.0"
|
129 | },
|
130 | "keywords": [
|
131 | "webpack",
|
132 | "loader",
|
133 | "plugin",
|
134 | "imagemin",
|
135 | "images",
|
136 | "minify",
|
137 | "compress",
|
138 | "optimize"
|
139 | ]
|
140 | }
|