UNPKG

4.13 kBJSONView Raw
1{
2 "name": "image-minimizer-webpack-plugin",
3 "version": "3.8.0",
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": ">= 12.13.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 \"{**/*,*}.{js,json,md,yml,css,ts}\" --list-different",
29 "lint:js": "eslint --cache .",
30 "lint:types": "tsc --pretty --noEmit",
31 "lint": "npm-run-all -l -p \"lint:**\"",
32 "prettier": "npm run lint:prettier -- --write",
33 "fix:js": "npm run lint:js -- --fix",
34 "fix": "npm-run-all -p 'fix:**' -l prettier",
35 "test:only": "cross-env NODE_ENV=test jest --runInBand",
36 "test:watch": "npm run test:only -- --watch",
37 "test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
38 "pretest": "npm run lint",
39 "test": "npm run test:coverage",
40 "prepare": "husky install && npm run build",
41 "release": "standard-version"
42 },
43 "files": [
44 "dist",
45 "types"
46 ],
47 "overrides": {
48 "sharp": "$sharp",
49 "imagemin-avif": {
50 "sharp": "$sharp"
51 }
52 },
53 "peerDependencies": {
54 "webpack": "^5.1.0"
55 },
56 "peerDependenciesMeta": {
57 "sharp": {
58 "optional": true
59 },
60 "@squoosh/lib": {
61 "optional": true
62 },
63 "imagemin": {
64 "optional": true
65 },
66 "svgo": {
67 "optional": true
68 }
69 },
70 "dependencies": {
71 "schema-utils": "^4.0.0",
72 "serialize-javascript": "^6.0.0"
73 },
74 "devDependencies": {
75 "@babel/cli": "^7.19.3",
76 "@babel/core": "^7.19.3",
77 "@babel/preset-env": "^7.19.3",
78 "@commitlint/cli": "^15.0.0",
79 "@commitlint/config-conventional": "^15.0.0",
80 "@squoosh/lib": "^0.4.0",
81 "@types/imagemin": "^8.0.0",
82 "@types/serialize-javascript": "^5.0.2",
83 "@types/sharp": "^0.30.4",
84 "@webpack-contrib/eslint-config-webpack": "^3.0.0",
85 "babel-jest": "^27.5.1",
86 "copy-webpack-plugin": "^9.0.0",
87 "cross-env": "^7.0.3",
88 "css-loader": "^6.7.1",
89 "del": "^6.1.1",
90 "del-cli": "^4.0.1",
91 "eslint": "^8.24.0",
92 "eslint-plugin-import": "^2.26.0",
93 "eslint-plugin-itgalaxy": "^136.0.0",
94 "eslint-plugin-jest": "^25.7.0",
95 "eslint-plugin-jsx-a11y": "^6.4.1",
96 "eslint-plugin-markdown": "^2.2.0",
97 "eslint-plugin-node": "^11.1.0",
98 "eslint-plugin-unicorn": "^39.0.0",
99 "file-loader": "^6.2.0",
100 "file-type": "^16.5.3",
101 "husky": "^7.0.1",
102 "image-size": "^1.0.1",
103 "imagemin": "^8.0.1",
104 "imagemin-avif": "^0.1.3",
105 "imagemin-gifsicle": "^7.0.0",
106 "imagemin-mozjpeg": "^9.0.0",
107 "imagemin-pngquant": "^9.0.1",
108 "imagemin-svgo": "^10.0.1",
109 "imagemin-webp": "^6.0.0",
110 "jest": "^27.5.1",
111 "lint-staged": "^12.5.0",
112 "memfs": "^3.4.4",
113 "mini-css-extract-plugin": "^2.6.0",
114 "npm-run-all": "^4.1.5",
115 "pify": "^5.0.0",
116 "prettier": "^2.6.2",
117 "remark-cli": "^10.0.0",
118 "remark-preset-lint-itgalaxy": "^16.0.0",
119 "sharp": "^0.30.7",
120 "standard-version": "^9.5.0",
121 "svgo": "^3.0.0",
122 "tempy": "^1.0.1",
123 "typescript": "^4.7.2",
124 "url-loader": "^4.1.1",
125 "webpack": "^5.73.0"
126 },
127 "keywords": [
128 "webpack",
129 "loader",
130 "plugin",
131 "imagemin",
132 "images",
133 "minify",
134 "compress",
135 "optimize"
136 ]
137}