UNPKG

3.88 kBJSONView Raw
1{
2 "name": "image-minimizer-webpack-plugin",
3 "version": "3.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/cjs.js",
15 "types": "types/cjs.d.ts",
16 "engines": {
17 "node": ">= 12.13.0"
18 },
19 "scripts": {
20 "start": "npm run build -- -w",
21 "clean": "del-cli dist",
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 "peerDependencies": {
48 "webpack": "^5.1.0"
49 },
50 "peerDependenciesMeta": {
51 "@squoosh/lib": {
52 "optional": true
53 },
54 "imagemin": {
55 "optional": true
56 }
57 },
58 "dependencies": {
59 "schema-utils": "^4.0.0",
60 "serialize-javascript": "^6.0.0"
61 },
62 "devDependencies": {
63 "@babel/cli": "^7.14.8",
64 "@babel/core": "^7.15.0",
65 "@babel/preset-env": "^7.15.0",
66 "@commitlint/cli": "^15.0.0",
67 "@commitlint/config-conventional": "^15.0.0",
68 "@squoosh/lib": "^0.4.0",
69 "@types/imagemin": "^8.0.0",
70 "@types/serialize-javascript": "^5.0.1",
71 "@webpack-contrib/eslint-config-webpack": "^3.0.0",
72 "babel-jest": "^27.0.5",
73 "copy-webpack-plugin": "^9.0.0",
74 "cross-env": "^7.0.3",
75 "css-loader": "^6.2.0",
76 "del": "^6.0.0",
77 "del-cli": "^4.0.1",
78 "eslint": "^8.3.0",
79 "eslint-plugin-import": "^2.24.1",
80 "eslint-plugin-itgalaxy": "^136.0.0",
81 "eslint-plugin-jest": "^25.0.1",
82 "eslint-plugin-jsx-a11y": "^6.4.1",
83 "eslint-plugin-markdown": "^2.2.0",
84 "eslint-plugin-node": "^11.1.0",
85 "eslint-plugin-unicorn": "^39.0.0",
86 "file-loader": "^6.2.0",
87 "file-type": "^16.5.3",
88 "husky": "^7.0.1",
89 "image-size": "^1.0.0",
90 "imagemin": "^8.0.1",
91 "imagemin-avif": "^0.1.3",
92 "imagemin-gifsicle": "^7.0.0",
93 "imagemin-mozjpeg": "^9.0.0",
94 "imagemin-pngquant": "^9.0.1",
95 "imagemin-svgo": "^10.0.0",
96 "imagemin-webp": "^6.0.0",
97 "jest": "^27.0.5",
98 "lint-staged": "^12.1.2",
99 "memfs": "^3.2.2",
100 "mini-css-extract-plugin": "^2.2.0",
101 "npm-run-all": "^4.1.5",
102 "pify": "^5.0.0",
103 "prettier": "^2.3.1",
104 "remark-cli": "^10.0.0",
105 "remark-preset-lint-itgalaxy": "^16.0.0",
106 "standard-version": "^9.3.1",
107 "tempy": "^1.0.1",
108 "typescript": "^4.5.2",
109 "url-loader": "^4.1.1",
110 "webpack": "^5.51.1"
111 },
112 "keywords": [
113 "webpack",
114 "loader",
115 "plugin",
116 "imagemin",
117 "images",
118 "minify",
119 "compress",
120 "optimize"
121 ]
122}