UNPKG

@vheemstra/vite-plugin-imagemin

Version:
82 lines (81 loc) 1.92 kB
{ "name": "@vheemstra/vite-plugin-imagemin", "description": "A vite plugin for compressing image assets", "version": "2.2.1", "license": "MIT", "keywords": [ "vite", "vite-plugin", "imagemin", "minify", "compress", "jpg", "png", "gif", "svg", "webp", "avif" ], "author": { "name": "Philip van Heemstra", "email": "vanheemstra@gmail.com", "url": "https://github.com/vheemstra" }, "maintainers": [ { "name": "Philip van Heemstra", "email": "vanheemstra@gmail.com", "url": "https://github.com/vheemstra" } ], "contributors": [ { "name": "Philip van Heemstra", "email": "vanheemstra@gmail.com", "url": "https://github.com/vheemstra" } ], "repository": { "type": "git", "url": "git+https://github.com/vheemstra/vite-plugin-imagemin.git", "directory": "packages/plugin-imagemin" }, "bugs": { "url": "https://github.com/vheemstra/vite-plugin-imagemin/issues" }, "homepage": "https://github.com/vheemstra/vite-plugin-imagemin#readme", "files": [ "dist" ], "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": "./dist/index.js", "scripts": { "dev": "cross-env NODE_ENV=development tsup", "build": "cross-env NODE_ENV=production tsup", "typecheck": "tsc --noEmit", "prepublishOnly": "npm run build" }, "engines": { "node": ">=18.0.0" }, "dependencies": { "chalk": "^5.4.1", "fast-glob": "^3.3.3", "fs-extra": "^11.3.0", "imagemin": "^9.0.1", "is-apng": "^1.2.0" }, "devDependencies": { "@types/fs-extra": "^11.0.4", "@types/imagemin": "^9.0.1", "@types/node": "^22.15.34", "cross-env": "^7.0.3", "tsup": "^8.5.0", "typescript": "^5.8.3" }, "peerDependencies": { "vite": "^3.0.0 || ^4.0.0 || ^4.3.9 || ^5.0.0 || ^6.0.0 || ^7.0.0" } }