UNPKG

vite-plugin-image-presets

Version:

Image Presets for Vite.js apps. Optimize, resize, and process images consistently and with ease.

92 lines 2.4 kB
{ "name": "vite-plugin-image-presets", "type": "module", "version": "0.3.4", "description": "Image Presets for Vite.js apps. Optimize, resize, and process images consistently and with ease.", "author": "Máximo Mussini <maximomussini@gmail.com>", "license": "MIT", "homepage": "https://github.com/ElMassimo/vite-plugin-image-presets", "repository": { "type": "git", "url": "https://github.com/ElMassimo/vite-plugin-image-presets" }, "bugs": "https://github.com/ElMassimo/vite-plugin-image-presets/issues", "keywords": [ "plugin", "image", "sharp", "image-processing", "build", "vite", "vite-plugin", "vitejs" ], "sideEffects": false, "exports": { ".": { "types": "./dist/index.d.ts", "require": "./dist/index.cjs", "import": "./dist/index.js" } }, "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist" ], "dependencies": { "@nuxt/devalue": "^2.0", "debug": "^4.3", "pathe": "^0.2", "sharp": "^0.30.5" }, "devDependencies": { "@antfu/eslint-config": "*", "@types/debug": "^4.1.7", "@types/node": "^14.18.22", "@types/sharp": "^0.30.5", "conventional-changelog-cli": "^2.2.2", "cross-spawn": "^7.0.3", "enquirer": "^2.3.6", "eslint": "^8.20.0", "happy-dom": "^2.55.0", "minimist": "^1.2.6", "picocolors": "^1.0.0", "rollup": "^2.77.0", "semver": "^7.3.7", "tsup": "^6.1.3", "typescript": "^4.7.4", "vite": "^3.0.2", "vitest": "^0.18.1" }, "eslintConfig": { "extends": [ "@antfu/eslint-config" ], "rules": { "@typescript-eslint/space-before-function-paren": [ "warn", "always" ] }, "globals": { "$ref": "readonly", "$computed": "readonly", "$shallowRef": "readonly", "$$": "readonly", "$": "readonly" } }, "scripts": { "lint": "eslint .", "test": "vitest --config example/vite.config.ts", "dev": "npm run build -- --watch", "example": "npm -C example run dev", "example:build": "npm -C example run build", "example:now": "npm -C example run now", "build": "tsup src/index.ts --dts --format cjs,esm --clean", "release": "node scripts/release.cjs", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s" } }