UNPKG

@blameitonyourisp/blurrid

Version:

Generate and render blurred placeholders for lazy loaded images.

115 lines (114 loc) 5.05 kB
{ "name": "@blameitonyourisp/blurrid", "version": "0.0.1", "description": "Generate and render blurred placeholders for lazy loaded images.", "keywords": [ "image-optimization", "dct", "image-blur", "webgl", "lazy-loading" ], "homepage": "https://github.com/blameitonyourisp/blurrid#readme", "repository": { "type": "git", "url": "git+https://github.com/blameitonyourisp/blurrid.git" }, "bugs": { "url": "https://github.com/blameitonyourisp/blurrid/issues" }, "author": "James Reid", "license": "MIT", "type": "module", "bin": {}, "main": "./dist/package/index.js", "exports": { ".": "./dist/package/index.js", "./web": "./dist/package/web.js" }, "types": "./dist/package/index.d.ts", "engines": { "node": "*", "npm": "*" }, "targets": { "main": false, "types": false }, "@parcel/resolver-default": { "packageExports": true }, "browserslist": "> 0.5%, last 2 versions, not dead", "scripts": { "admin:deploy": "gh-pages --dist ./dist/web", "admin:plop": "plop --plopfile './admin/config/plopfile.js'", "admin:tokei": "node ./admin/scripts/tokei.js", "admin:update-labels": "node ./admin/scripts/github-labels.js", "build": "npm run build:dev", "build:dev": "npm run build:dev:bin && npm run build:dev:package && npm run build:dev:web", "build:dev:bin": "rollup --config ./admin/config/rollup.config.js", "build:dev:package": "rollup --config ./admin/config/rollup.config.js", "build:dev:web": "npm run start:web", "build:prod": "npm run build:prod:bin && npm run build:prod:package && npm run build:prod:web", "build:prod:bin": "rollup --config ./admin/config/rollup.config.js", "build:prod:package": "npm run types:declaration && rollup --config ./admin/config/rollup.config.js", "build:prod:web": "rm -rf ./dist/web && parcel build ./src/web/pages/**/**/*.html --dist-dir ./dist/web --cache-dir ./.cache/parcel-prod && cp -r ./admin/web/. ./dist/web", "docs": "npm run docs:jsdoc", "docs:changelog": "node ./admin/scripts/changelog.js", "docs:jsdoc": "jsdoc --configure ./admin/config/jsdoc.config.json", "lint": "npm run lint:check", "lint:check": "eslint ./src ./admin --cache --cache-location ./.cache/eslint.json", "lint:fix": "eslint ./src ./admin --cache --cache-location ./.cache/eslint.json --fix", "lint:fix-dry": "eslint ./src ./admin --cache --cache-location ./.cache/eslint.json --fix-dry-run", "postversion": "git push --follow-tags", "preversion": "npm run build:prod", "start": "npm run start:web", "start:docs": "npm run docs:jsdoc && http-server ./build/jsdoc & nodemon --watch src --exec 'npm run docs:jsdoc'", "start:web": "parcel ./src/web/pages/**/**/*.html --dist-dir ./build/web --cache-dir ./.cache/parcel-dev", "test": "npm run test:bin && npm run test:package && npm run test:web", "test:bin": "jest --config ./admin/config/jest.config.cjs --passWithNoTests", "test:package": "jest --config ./admin/config/jest.config.cjs --passWithNoTests", "test:web": "jest --config ./admin/config/jest.config.cjs --passWithNoTests", "types": "npm run types:check", "types:check": "tsc", "types:declaration": "tsc --project ./admin/config/declaration.tsconfig.json", "watch": "nodemon --watch src --exec 'npm run build:dev:bin && npm run build:dev:package'", "watch:bin": "nodemon --watch ./src/bin --exec 'npm run build:dev:bin'", "watch:package": "nodemon --watch .src/package --exec 'npm run build:dev:package'" }, "devDependencies": { "@13ms/funky": "^1.0.1", "@13ms/submodule": "^1.2.1", "@babel/plugin-transform-modules-commonjs": "^7.22.5", "@babel/preset-env": "^7.22.5", "@jest/globals": "^29.5.0", "@parcel/transformer-glsl": "^2.11.0", "@rollup/plugin-babel": "^6.0.3", "@rollup/plugin-node-resolve": "^15.1.0", "@rollup/plugin-terser": "^0.4.3", "@types/jest": "^29.5.5", "@types/mustache": "^4.2.2", "@types/node": "^20.6.0", "docdash": "^2.0.1", "dotenv": "^16.3.1", "eslint": "^8.49.0", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-regex": "^1.10.0", "gh-pages": "^6.0.0", "http-server": "^14.1.1", "jest": "^29.5.0", "jsdoc": "^4.0.2", "lucide": "^0.323.0", "mustache": "^4.2.0", "nodemon": "^3.0.1", "parcel": "^2.11.0", "plop": "^4.0.0", "rollup": "^4.3.0", "rollup-plugin-dts": "^6.0.2", "rollup-plugin-glslify": "^1.3.1", "rollup-plugin-postcss": "^4.0.2", "sharp": "^0.33.2", "typescript": "^5.1.6", "yaml": "^2.3.2" } }