image-resize-compress
Version:
Image resizer, compressor, and converter built with modern TypeScript support
67 lines (66 loc) • 1.53 kB
JSON
{
"name": "image-resize-compress",
"version": "2.1.1",
"description": "Image resizer, compressor, and converter built with modern TypeScript support",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"sideEffects": false,
"files": [
"dist/",
"README.md",
"LICENSE"
],
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./types": "./dist/index.d.ts"
},
"scripts": {
"build": "tsup src/index.ts --format esm,cjs --dts",
"lint": "eslint ./src/*",
"format": "prettier --write 'src/**/*.{ts,tsx,json,md}'",
"clean": "rm -rf dist",
"test": "jest",
"test:debug": "jest --runInBand"
},
"keywords": [
"image",
"resize",
"compress",
"reduce",
"png",
"jpeg",
"webp",
"react",
"typescript"
],
"author": "Alef Duarte",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/alefduarte/image-resize-compress.git"
},
"devDependencies": {
"@eslint/js": "^9.16.0",
"@jest/globals": "^29.7.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.1",
"eslint": "^9.16.0",
"generate-changelog": "^1.8.0",
"globals": "^15.12.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "3.4.2",
"ts-jest": "^29.2.5",
"tsup": "^8.3.5",
"typescript": "^5.7.2",
"typescript-eslint": "^8.16.0"
},
"engines": {
"node": ">=14.0.0"
}
}