{"_id":"@bellcubedev/next-export-optimize-images","name":"@bellcubedev/next-export-optimize-images","dist-tags":{"latest":"5.0.0"},"versions":{"5.0.0":{"name":"@bellcubedev/next-export-optimize-images","version":"5.0.0","description":"(FORK: Add ESM support) Optimize images at build time with Next.js.","keywords":["next.js","static","export","image","optimization"],"homepage":"https://next-export-optimize-images.vercel.app","bugs":{"url":"https://github.com/BellCubeDev/next-export-optimize-images/issues"},"repository":{"type":"git","url":"git+https://github.com/BellCubeDev/next-export-optimize-images.git"},"license":"MIT","author":{"name":"BellCubeDev"},"main":"dist/index.js","module":"./dist/index.mjs","types":"dist/index.d.ts","bin":{"next-export-optimize-images":"bin/index.js"},"scripts":{"dev":"tsup --watch","build":"tsup","commitmsg":"commitlint -e $GIT_PARAMS","lint":"eslint {src,__tests__} --cache","lint-staged":"lint-staged","prepare":"husky","pretest":"yarn build && npm-run-all --sequential pretest:**","pretest:e2e":"cd __tests__/e2e && rimraf {.next,out} && next build && node cli.js","pretest:e2e-build":"cd __tests__/e2e-build && rimraf .next && next build && node cli.js","test":"jest","test:watch":"jest --watch","semantic-release":"SKIP_BY_SEMANTIC_RELEASE=true semantic-release","typecheck":"yarn tsc --noEmit"},"lint-staged":{"*.{ts,tsx}":["eslint --fix","prettier --write"]},"dependencies":{"ansi-colors":"^4.1.3","app-root-path":"^3.1.0","cli-progress":"^3.12.0","fs-extra":"^11.2.0","lodash.uniqwith":"^4.5.0","recursive-readdir":"^2.2.3","sharp":"^0.33.3"},"devDependencies":{"@commitlint/cli":"19.3.0","@commitlint/config-conventional":"19.2.2","@semantic-release/changelog":"6.0.3","@semantic-release/git":"10.0.1","@testing-library/jest-dom":"6.4.2","@testing-library/react":"15.0.5","@tsconfig/strictest":"2.0.5","@types/app-root-path":"1.2.8","@types/cli-progress":"3.11.5","@types/fs-extra":"11.0.4","@types/jest":"29.5.12","@types/lodash.uniqwith":"4.5.9","@types/node":"20.12.7","@types/react":"18.3.1","@types/recursive-readdir":"^2.2.4","@types/sharp":"0.32.0","@typescript-eslint/eslint-plugin":"7.7.1","@typescript-eslint/parser":"7.7.1","conventional-changelog-conventionalcommits":"6.1.0","eslint":"9.1.1","eslint-config-prettier":"9.1.0","eslint-plugin-import":"2.29.1","eslint-plugin-jest":"28.3.0","eslint-plugin-jest-dom":"^5.4.0","eslint-plugin-testing-library":"6.2.2","git-cz":"4.9.0","husky":"9.0.11","jest":"29.7.0","jest-environment-jsdom":"29.7.0","lint-staged":"15.2.2","next":"14.2.3","npm-run-all2":"^6.1.2","prettier":"3.2.5","react":"18.3.1","react-dom":"18.3.1","rimraf":"5.0.5","semantic-release":"19.0.5","ts-jest":"29.1.2","tsup":"^8.0.2","typescript":"5.4.5","webpack":"5.91.0"},"peerDependencies":{"next":">=14.1.0","react":"^17.0.2 || ^18.0.0-0","react-dom":"^17.0.2 || ^18.0.0-0"},"engines":{"node":">=18"},"publishConfig":{"access":"public"},"gitHead":"6c3c73f6c27a0b41a7f77890f30cb74ba3f9b1e5","_id":"@bellcubedev/next-export-optimize-images@5.0.0","_nodeVersion":"20.12.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-oOCGJquPGflffMiIv/skSV3qjnFTgurmryNvCZE2UsnA3RIZBk27TDDQmKoE1VIj6yq9opQwVhzX3TUUhqDX3A==","shasum":"e7e81f550b208a7e0605f612302e6e0d5e5fe8d3","tarball":"https://registry.npmjs.org/@bellcubedev/next-export-optimize-images/-/next-export-optimize-images-5.0.0.tgz","fileCount":42,"unpackedSize":297534,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQ0pl5oHg3V7VGor0Uaf6fzb6fcsTKWAbi/zuNRZjRXQIhAM9IGkvh3yyEjejtx8/yYdL9Xzo4vp2veLlB7Mcjc+7A"}]},"_npmUser":{"name":"bellcubedev","email":"zacharyc.public@gmail.com"},"directories":{},"maintainers":[{"name":"bellcubedev","email":"zacharyc.public@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-export-optimize-images_5.0.0_1714873814835_0.2437092932539624"},"_hasShrinkwrap":false}},"time":{"created":"2024-05-05T01:50:14.674Z","5.0.0":"2024-05-05T01:50:15.010Z","modified":"2024-05-05T01:50:15.367Z"},"maintainers":[{"name":"bellcubedev","email":"zacharyc.public@gmail.com"}],"description":"(FORK: Add ESM support) Optimize images at build time with Next.js.","homepage":"https://next-export-optimize-images.vercel.app","keywords":["next.js","static","export","image","optimization"],"repository":{"type":"git","url":"git+https://github.com/BellCubeDev/next-export-optimize-images.git"},"author":{"name":"BellCubeDev"},"bugs":{"url":"https://github.com/BellCubeDev/next-export-optimize-images/issues"},"license":"MIT","readme":"# THIS IS A FORK TO ADD ESM SUPPORT\nYou'll need to test this for yourself. It works in my use case but the tests refuse to run so your mileage may vary.\n\n*Anyway, back to normal readme stuff*\n\n<a href=\"https://next-export-optimize-images.vercel.app\" target=\"_blank\"><img src=\"https://next-export-optimize-images.vercel.app/og.png\" /></a>\n\n<div>\n<a href=\"https://www.npmjs.com/package/next-export-optimize-images\" target=\"_blank\"><img alt=\"npm\" src=\"https://img.shields.io/npm/v/next-export-optimize-images\"></a>\n<a href=\"https://npmcharts.com/compare/next-export-optimize-images?minimal=true\" target=\"_blank\"><img alt=\"downloads\" src=\"https://img.shields.io/npm/dt/next-export-optimize-images\"></a>\n<a href=\"https://www.npmjs.com/package/next-export-optimize-images\" target=\"__blank\"><img alt=\"License\" src=\"https://img.shields.io/npm/l/next-export-optimize-images?label=License\"></a>\n<a href=\"https://github.com/dc7290/next-export-optimize-images/actions/workflows/node.js.yml\" target=\"_blank\"><img alt=\"Node.js CI\" src=\"https://github.com/dc7290/next-export-optimize-images/actions/workflows/node.js.yml/badge.svg\"></a>\n<a href=\"https://github.com/dc7290/next-export-optimize-images/stargazers\" target=\"_blank\"><img alt=\"GitHub Repo stars\" src=\"https://img.shields.io/github/stars/dc7290/next-export-optimize-images?style=social\"></a>\n</div>\n\n# Next Export Optimize Images\n\nUsing this repository, you can get the full benefits of `next/image` even when using `next export` by doing image optimization at build time.\n\nThis makes it possible to build a high performance website with this solution, whether you want to build a simple website or a completely static output.\n\n## Feature\n\n- Optimize images at build time.\n- All options for `next/image` available\n- Convert formats (png → webp, etc.)\n- Download external images locally.\n- Using `sharp`, so it's fast.\n- Cache prevents repeating the same optimization\n- Support TypeScript\n- Support AppRouter\n\n## Installation\n\n```bash\nyarn add -D next-export-optimize-images\n```\n\n## Document Site\n\nhttps://next-export-optimize-images.vercel.app\n\n## License\n\nNext Export Optimize Images is available under the MIT License.\n","readmeFilename":"README.md"}