image-minimizer-webpack-plugin
Version:
Webpack loader and plugin to optimize (compress) images using imagemin
140 lines (139 loc) • 4.28 kB
JSON
{
"name": "image-minimizer-webpack-plugin",
"version": "4.1.3",
"description": "Webpack loader and plugin to optimize (compress) images using imagemin",
"license": "MIT",
"repository": "webpack-contrib/image-minimizer-webpack-plugin",
"author": "Alexander Krasnoyarov (https://github.com/evilebottnawi)",
"homepage": "https://github.com/webpack-contrib/image-minimizer-webpack-plugin",
"bugs": "https://github.com/webpack-contrib/image-minimizer-webpack-plugin/issues",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/webpack"
},
"main": "dist/index.js",
"types": "types/index.d.ts",
"engines": {
"node": ">= 18.12.0"
},
"scripts": {
"start": "npm run build -- -w",
"clean": "del-cli dist types",
"prebuild": "npm run clean",
"build:types": "tsc --declaration --emitDeclarationOnly && prettier \"types/**/*.ts\" --write",
"build:code": "cross-env NODE_ENV=production babel src -d dist --copy-files",
"build": "npm-run-all -p \"build:**\"",
"commitlint": "commitlint --from=master",
"security": "npm audit --production",
"lint:prettier": "prettier --cache --list-different .",
"lint:js": "eslint --cache .",
"lint:spelling": "cspell --cache --no-must-find-files --quiet \"**/*.*\"",
"lint:types": "tsc --pretty --noEmit",
"lint": "npm-run-all -l -p \"lint:**\"",
"fix:js": "npm run lint:js -- --fix",
"fix:prettier": "npm run lint:prettier -- --write",
"fix": "npm-run-all -l fix:js fix:prettier",
"test:only": "cross-env NODE_ENV=test node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand",
"test:watch": "npm run test:only -- --watch",
"test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
"pretest": "npm run lint",
"test": "npm run test:coverage",
"prepare": "husky && npm run build",
"release": "standard-version"
},
"files": [
"dist",
"types"
],
"overrides": {
"sharp": "$sharp",
"imagemin-avif": {
"sharp": "$sharp"
}
},
"peerDependencies": {
"webpack": "^5.1.0"
},
"peerDependenciesMeta": {
"sharp": {
"optional": true
},
"@squoosh/lib": {
"optional": true
},
"imagemin": {
"optional": true
},
"svgo": {
"optional": true
}
},
"dependencies": {
"schema-utils": "^4.2.0",
"serialize-javascript": "^6.0.2"
},
"devDependencies": {
"@babel/cli": "^7.24.7",
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@squoosh/lib": "^0.5.3",
"@types/imagemin": "^9.0.0",
"@types/node": "^20.14.9",
"@types/serialize-javascript": "^5.0.4",
"@types/sharp": "^0.32.0",
"@webpack-contrib/eslint-config-webpack": "^3.0.0",
"babel-jest": "^29.7.0",
"copy-webpack-plugin": "^12.0.2",
"cross-env": "^7.0.3",
"cspell": "^8.13.1",
"css-loader": "^7.1.2",
"del": "^7.1.0",
"del-cli": "^5.1.0",
"eslint": "^8.57.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-itgalaxy": "^138.0.0",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-jsx-a11y": "^6.9.0",
"eslint-plugin-markdown": "^3.0.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-unicorn": "^44.0.2",
"file-loader": "^6.2.0",
"file-type": "^16.5.4",
"husky": "^9.1.4",
"image-size": "^1.1.1",
"imagemin": "^9.0.0",
"imagemin-avif": "^0.1.6",
"imagemin-gifsicle": "^7.0.0",
"imagemin-mozjpeg": "^10.0.0",
"imagemin-pngquant": "^10.0.0",
"imagemin-svgo": "^11.0.1",
"imagemin-webp": "^8.0.0",
"jest": "^29.7.0",
"lint-staged": "^15.2.8",
"memfs": "^4.11.1",
"mini-css-extract-plugin": "^2.9.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.2",
"remark-cli": "^12.0.1",
"remark-preset-lint-itgalaxy": "^16.0.0",
"sharp": "^0.33.3",
"standard-version": "^9.5.0",
"svgo": "^3.3.2",
"tempy": "^3.1.0",
"typescript": "^5.5.3",
"url-loader": "^4.1.1",
"webpack": "^5.92.1"
},
"keywords": [
"webpack",
"loader",
"plugin",
"imagemin",
"images",
"minify",
"compress",
"optimize"
]
}