next-image-export-optimizer
Version:
Optimizes all static images for Next.js static HTML export functionality
86 lines (85 loc) • 2.38 kB
JSON
{
"name": "next-image-export-optimizer",
"version": "1.19.0",
"description": "Optimizes all static images for Next.js static HTML export functionality",
"main": "dist/ExportedImage.js",
"types": "dist/ExportedImage.d.ts",
"bin": "dist/optimizeImages.js",
"engines": {
"node": ">=16.0.0"
},
"exports": {
".": {
"types": "./dist/ExportedImage.d.ts",
"require": "./dist/ExportedImage.js",
"import": "./dist/ExportedImage.js"
},
"./legacy/ExportedImage": {
"types": "./dist/legacy/ExportedImage.d.ts",
"require": "./dist/legacy/ExportedImage.js",
"import": "./dist/legacy/ExportedImage.js"
}
},
"typesVersions": {
"*": {
"legacy/ExportedImage": [
"./dist/legacy/ExportedImage.d.ts"
]
}
},
"files": [
"dist/ExportedImage.js",
"dist/ExportedImage.d.ts",
"dist/legacy/ExportedImage.js",
"dist/legacy/ExportedImage.d.ts",
"dist/optimizeImages.js",
"dist/utils"
],
"scripts": {
"build": "rimraf dist && tsc && tsc --project tsconfig.optimizeImages.json",
"test": "jest",
"test:e2e:basePath": "npx playwright install && BASEPATH=true IMAGESWEBP=false playwright test --config playwright-basePath.config.js",
"test:e2e": "npx playwright install && playwright test",
"exportExample": "cd example && npm run export && cd ..",
"prepublishOnly": "npm run build && npm test && npm run test:e2e:basePath && npm run test:e2e",
"fetchTags": "git fetch --tags -f"
},
"repository": {
"type": "git",
"url": "https://github.com/Niels-IO/next-image-export-optimizer"
},
"keywords": [
"next.js",
"next",
"static",
"export",
"image",
"optimization",
"webp",
"sharp"
],
"author": "Niels Grafen",
"license": "MIT",
"dependencies": {
"sharp": "^0.33.1",
"typescript": "^5.2.2"
},
"peerDependencies": {
"next": "^14.2.18 || ^15.0.3",
"react": "^18.2.0 || ^19.0.0-0"
},
"devDependencies": {
"@next/eslint-plugin-next": "^15.0.3",
"@playwright/test": "^1.39.0",
"@types/react": "npm:types-react@rc",
"eslint": "^8.57.0",
"eslint-plugin-react": "^7.33.2",
"jest": "^29.7.0",
"rimraf": "^6.0.1",
"ts-node": "^10.9.1"
},
"overrides": {
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react-dom@rc"
}
}