72 lines
1.9 KiB
JSON
72 lines
1.9 KiB
JSON
{
|
|||
|
|
"name": "ipx",
|
||
|
|
"version": "2.1.0",
|
||
|
|
"repository": "unjs/ipx",
|
||
|
|
"description": "High performance, secure and easy-to-use image optimizer.",
|
||
|
|
"license": "MIT",
|
||
|
|
"exports": {
|
||
|
|
".": {
|
||
|
|
"import": {
|
||
|
|
"types": "./dist/index.d.mts",
|
||
|
|
"default": "./dist/index.mjs"
|
||
|
|
},
|
||
|
|
"require": {
|
||
|
|
"types": "./dist/index.d.cts",
|
||
|
|
"default": "./dist/index.cjs"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"main": "./dist/index.cjs",
|
||
|
|
"module": "./dist/index.mjs",
|
||
|
|
"types": "./dist/index.d.ts",
|
||
|
|
"bin": "./bin/ipx.mjs",
|
||
|
|
"files": [
|
||
|
|
"dist",
|
||
|
|
"bin"
|
||
|
|
],
|
||
|
|
"scripts": {
|
||
|
|
"build": "unbuild",
|
||
|
|
"dev": "listhen -w playground",
|
||
|
|
"ipx": "jiti ./src/cli.ts",
|
||
|
|
"lint": "eslint --ext .ts . && prettier -c src test",
|
||
|
|
"lint:fix": "eslint --ext .ts . --fix && prettier -w src test",
|
||
|
|
"prepack": "pnpm build",
|
||
|
|
"release": "pnpm test && changelogen --release --push && npm publish",
|
||
|
|
"prerelease": "pnpm test && pnpm build && changelogen --release --prerelease --push --publish --publishTag next-2",
|
||
|
|
"start": "node bin/ipx.js",
|
||
|
|
"test": "pnpm lint && vitest run --coverage"
|
||
|
|
},
|
||
|
|
"dependencies": {
|
||
|
|
"@fastify/accept-negotiator": "^1.1.0",
|
||
|
|
"citty": "^0.1.5",
|
||
|
|
"consola": "^3.2.3",
|
||
|
|
"defu": "^6.1.4",
|
||
|
|
"destr": "^2.0.2",
|
||
|
|
"etag": "^1.8.1",
|
||
|
|
"h3": "^1.10.0",
|
||
|
|
"image-meta": "^0.2.0",
|
||
|
|
"listhen": "^1.5.6",
|
||
|
|
"ofetch": "^1.3.3",
|
||
|
|
"pathe": "^1.1.2",
|
||
|
|
"sharp": "^0.32.6",
|
||
|
|
"svgo": "^3.2.0",
|
||
|
|
"ufo": "^1.3.2",
|
||
|
|
"unstorage": "^1.10.1",
|
||
|
|
"xss": "^1.0.14"
|
||
|
|
},
|
||
|
|
"devDependencies": {
|
||
|
|
"@types/etag": "^1.8.3",
|
||
|
|
"@types/is-valid-path": "^0.1.2",
|
||
|
|
"@vitest/coverage-v8": "^1.1.3",
|
||
|
|
"changelogen": "^0.5.5",
|
||
|
|
"eslint": "^8.56.0",
|
||
|
|
"eslint-config-unjs": "^0.2.1",
|
||
|
|
"jiti": "^1.21.0",
|
||
|
|
"prettier": "^3.1.1",
|
||
|
|
"serve-handler": "^6.1.5",
|
||
|
|
"typescript": "^5.3.3",
|
||
|
|
"unbuild": "^2.0.0",
|
||
|
|
"vitest": "^1.1.3"
|
||
|
|
},
|
||
|
|
"packageManager": "pnpm@8.10.5"
|
||
|
|
}
|