Documentation/package.json
Gusted 03342e98ec feat: use Eleventy's image plugin for image transformation (#488)
Use https://www.11ty.dev/docs/plugins/image/ to transform images on build time to avif, webp and jpeg.

Images are moved to `/content/images`.

`<picture>` is no longer needed, the plugin does this automatically.

Remove webp images from the source.

Resolves #152
Resolves #368

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/488
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2024-11-29 06:12:05 +00:00

22 lines
677 B
JSON

{
"name": "codeberg-docs",
"description": "The documentation site for Codeberg",
"private": true,
"scripts": {
"build": "rm -rf _site/ && eleventy",
"serve": "eleventy --serve"
},
"devDependencies": {
"@11ty/eleventy": "^3.0.0",
"@11ty/eleventy-img": "^5.0.0",
"@11ty/eleventy-navigation": "^0.3.5",
"@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0",
"@fortawesome/fontawesome-svg-core": "^6.4.0",
"@fortawesome/free-solid-svg-icons": "^6.4.0",
"@toycode/markdown-it-class": "^1.2.4",
"@uncenter/eleventy-plugin-toc": "^1.0.3",
"markdown-it": "^14.1.0",
"markdown-it-anchor": "^9.0.0",
"pagefind": "^1.0.4"
}
}