vite-plugin-lqip
Version:
Low-quality image placeholder (LQIP) plugin for Vite.
73 lines • 1.98 kB
JSON
{
"name": "vite-plugin-lqip",
"description": "Low-quality image placeholder (LQIP) plugin for Vite.",
"version": "0.0.5",
"author": {
"name": "Drew Powers",
"email": "drew@pow.rs"
},
"repository": {
"type": "git",
"url": "https://github.com/drwpow/vite-plugin-lqip.git"
},
"type": "module",
"main": "./dist/index.js",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
},
"./*": "./*"
},
"license": "MIT",
"keywords": [
"lqip",
"sqip",
"image",
"placeholder",
"optimization",
"sharp",
"core web vitals",
"first paint",
"vite",
"performance"
],
"dependencies": {
"mime": "^4.0.1",
"sharp": "^0.33.2"
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"@types/mime": "^3.0.4",
"@types/node": "^20.11.19",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
"del-cli": "^5.1.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.5",
"typescript": "^5.3.3",
"vite": "^5.1.3"
},
"scripts": {
"build": "run-s -s build:clean build:cjs build:esm",
"build:clean": "del dist",
"build:esm": "tsc",
"build:cjs": "tsc -p tsconfig.cjs.json && mv dist/index.js dist/index.cjs",
"build:demo": "pnpm run build && cd example && pnpm i && vite build",
"changeset": "changeset",
"dev": "tsc -w",
"lint": "run-p -s lint:*",
"lint:js": "eslint \"src/**/*.{js,ts}\"",
"lint:prettier": "prettier --check src",
"test": "run-p -s test:*",
"test:build": "cd example && pnpm i && pnpm run build",
"test:ts": "tsc --noEmit",
"version": "pnpm run build && changeset version && pnpm i --no-frozen-lockfile"
}
}