2025-09-05 14:59:21 +08:00

53 lines
1.4 KiB
JSON

{
"name": "serve-placeholder",
"version": "2.0.2",
"description": "Smart placeholder for missing assets",
"repository": "unjs/serve-placeholder",
"license": "MIT",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "unbuild",
"dev": "vitest dev",
"lint": "eslint . && biome check .",
"lint:fix": "automd && eslint . --fix && biome check --apply .",
"prepack": "pnpm build",
"release": "pnpm test && changelogen --release && npm publish && git push --follow-tags",
"test": "pnpm lint && pnpm test:types && vitest run --coverage",
"test:types": "tsc --noEmit --skipLibCheck"
},
"dependencies": {
"defu": "^6.1.4"
},
"devDependencies": {
"@biomejs/biome": "^1.7.2",
"@types/node": "^20.12.7",
"@vitest/coverage-v8": "^1.5.3",
"automd": "^0.3.7",
"changelogen": "^0.5.5",
"eslint": "^9.1.1",
"eslint-config-unjs": "^0.3.2",
"h3": "^1.11.1",
"jiti": "^1.21.0",
"listhen": "^1.7.2",
"ofetch": "^1.3.4",
"typescript": "^5.4.5",
"unbuild": "^2.0.0",
"vitest": "^1.5.3"
},
"packageManager": "pnpm@9.0.6"
}