gulp_img_transform_to_picture
Version:
Replace the <img> to <picture> within HTML files, support Webp and Avif formats.
39 lines (38 loc) • 1.02 kB
JSON
{
"version": "3.2.0",
"name": "gulp_img_transform_to_picture",
"description": "Replace the <img> to <picture> within HTML files, support Webp and Avif formats.",
"author": "Blatisgense",
"main": "index.js",
"typings": "index.d.ts",
"license": "MIT",
"type": "module",
"files": ["./index.d.ts", "./index.js"],
"repository": {
"url": "https://github.com/blatisgense/gulp_img_transform_to_picture",
"type": "git"
},
"homepage": "https://github.com/blatisgense/gulp_img_transform_to_picture#readme",
"keywords": [
"gulp",
"webp",
"html",
"avif",
"blatisgense",
"typescript"
],
"scripts": {
"build": "tsc -p .",
"minify:js": "terser index.js --compress --mangle --output index.js"
},
"dependencies": {
"plugin-error": "^2.0.1",
"through2": "^3.0.1"
},
"devDependencies": {
"@types/node": "^20.11.30",
"@types/through2": "^2.0.41",
"typescript": "^5.4.2",
"terser": "^5.29.2"
}
}