UNPKG

4.09 kBJSONView Raw
1{
2 "name": "image-minimizer-webpack-plugin",
3 "version": "3.3.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": ">= 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 --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 \"{**/*,*}.{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 },
67 "dependencies": {
68 "schema-utils": "^4.0.0",
69 "serialize-javascript": "^6.0.0"
70 },
71 "devDependencies": {
72 "@babel/cli": "^7.17.10",
73 "@babel/core": "^7.18.13",
74 "@babel/preset-env": "^7.18.2",
75 "@commitlint/cli": "^15.0.0",
76 "@commitlint/config-conventional": "^15.0.0",
77 "@squoosh/lib": "^0.4.0",
78 "@types/imagemin": "^8.0.0",
79 "@types/serialize-javascript": "^5.0.2",
80 "@types/sharp": "^0.30.4",
81 "@webpack-contrib/eslint-config-webpack": "^3.0.0",
82 "babel-jest": "^27.5.1",
83 "copy-webpack-plugin": "^9.0.0",
84 "cross-env": "^7.0.3",
85 "css-loader": "^6.7.1",
86 "del": "^6.1.1",
87 "del-cli": "^4.0.1",
88 "eslint": "^8.23.0",
89 "eslint-plugin-import": "^2.26.0",
90 "eslint-plugin-itgalaxy": "^136.0.0",
91 "eslint-plugin-jest": "^25.7.0",
92 "eslint-plugin-jsx-a11y": "^6.4.1",
93 "eslint-plugin-markdown": "^2.2.0",
94 "eslint-plugin-node": "^11.1.0",
95 "eslint-plugin-unicorn": "^39.0.0",
96 "file-loader": "^6.2.0",
97 "file-type": "^16.5.3",
98 "husky": "^7.0.1",
99 "image-size": "^1.0.1",
100 "imagemin": "^8.0.1",
101 "imagemin-avif": "^0.1.3",
102 "imagemin-gifsicle": "^7.0.0",
103 "imagemin-mozjpeg": "^9.0.0",
104 "imagemin-pngquant": "^9.0.1",
105 "imagemin-svgo": "^10.0.1",
106 "imagemin-webp": "^6.0.0",
107 "jest": "^27.5.1",
108 "lint-staged": "^12.5.0",
109 "memfs": "^3.4.4",
110 "mini-css-extract-plugin": "^2.6.0",
111 "npm-run-all": "^4.1.5",
112 "pify": "^5.0.0",
113 "prettier": "^2.6.2",
114 "remark-cli": "^10.0.0",
115 "remark-preset-lint-itgalaxy": "^16.0.0",
116 "sharp": "^0.30.7",
117 "standard-version": "^9.5.0",
118 "tempy": "^1.0.1",
119 "typescript": "^4.7.2",
120 "url-loader": "^4.1.1",
121 "webpack": "^5.73.0"
122 },
123 "keywords": [
124 "webpack",
125 "loader",
126 "plugin",
127 "imagemin",
128 "images",
129 "minify",
130 "compress",
131 "optimize"
132 ]
133}