57 lines
1.3 KiB
JSON
57 lines
1.3 KiB
JSON
{
|
|
"name": "@hono/event-emitter",
|
|
"version": "2.0.0",
|
|
"description": "Event Emitter middleware for Hono",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsup ./src/index.ts",
|
|
"prepack": "yarn build",
|
|
"publint": "attw --pack && publint",
|
|
"typecheck": "tsc -b tsconfig.json",
|
|
"test": "vitest"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/index.d.cts",
|
|
"default": "./dist/index.cjs"
|
|
}
|
|
}
|
|
},
|
|
"license": "MIT",
|
|
"publishConfig": {
|
|
"registry": "https://registry.npmjs.org",
|
|
"access": "public"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/honojs/middleware.git",
|
|
"directory": "packages/event-emitter"
|
|
},
|
|
"homepage": "https://github.com/honojs/middleware",
|
|
"author": "David Havl <contact@davidhavl.com> (https://github.com/DavidHavl)",
|
|
"peerDependencies": {
|
|
"hono": "*"
|
|
},
|
|
"devDependencies": {
|
|
"@arethetypeswrong/cli": "^0.17.4",
|
|
"publint": "^0.3.9",
|
|
"tsup": "^8.4.0",
|
|
"typescript": "^5.8.2",
|
|
"vitest": "^3.0.8"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.0.0"
|
|
}
|
|
}
|