-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) 路 2.66 KB
/
Copy pathpackage.json
File metadata and controls
99 lines (99 loc) 路 2.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "hookified",
"version": "3.0.2",
"description": "Event Emitting and Middleware Hooks",
"type": "module",
"main": "./dist/node/index.js",
"module": "./dist/node/index.js",
"types": "./dist/node/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/node/index.d.ts",
"default": "./dist/node/index.js"
},
"require": {
"types": "./dist/node/index.d.cts",
"default": "./dist/node/index.cjs"
},
"default": "./dist/node/index.js"
},
"./browser": {
"types": "./dist/node/index.d.ts",
"import": "./dist/browser/index.js",
"default": "./dist/browser/index.global.js"
}
},
"scripts": {
"lint": "biome check --write --error-on-warnings",
"test": "pnpm lint && vitest run --coverage",
"test:ci": "biome check --error-on-warnings && vitest run --coverage",
"clean": "rimraf ./dist ./coverage ./site/dist",
"build": "tsdown",
"benchmark": "pnpm benchmark:hooks && pnpm benchmark:emit && pnpm benchmark:emit-multi",
"benchmark:hooks": "pnpm tsx benchmark/hook.ts",
"benchmark:emit": "pnpm tsx benchmark/emit.ts",
"benchmark:emit-multi": "pnpm tsx benchmark/emit-multi.ts",
"benchmark:readme": "pnpm tsx scripts/benchmark-readme.ts",
"website:build": "docula build",
"website:serve": "docula serve",
"website:dev": "docula dev",
"prepublishOnly": "pnpm build"
},
"keywords": [
"hooks",
"eventemitter",
"eventemitter3",
"middleware",
"events",
"hooks",
"event-hooks",
"hook-system",
"event-driven",
"event-emitter",
"hook-handlers",
"middleware",
"emit",
"event-management",
"before-after-hooks",
"event-listeners",
"custom-hooks",
"hook-utilities",
"typescript-hooks"
],
"repository": {
"type": "git",
"url": "git+https://github.com/jaredwray/hookified.git"
},
"author": "Jared Wray <me@jaredwray.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/jaredwray/hookified/issues"
},
"homepage": "https://github.com/jaredwray/hookified#readme",
"engines": {
"node": ">=22.18.0"
},
"packageManager": "pnpm@11.3.0",
"devDependencies": {
"@biomejs/biome": "^2.5.4",
"@monstermann/tinybench-pretty-printer": "^0.3.0",
"@types/node": "^26.1.1",
"@vitest/coverage-v8": "^4.1.10",
"docula": "^2.2.0",
"emittery": "^2.0.0",
"eventemitter3": "^5.0.4",
"hookable": "^6.1.1",
"pino": "^10.3.1",
"rimraf": "^6.1.3",
"tinybench": "^6.0.2",
"tsdown": "^0.22.2",
"tsx": "^4.23.1",
"typescript": "^6.0.3",
"vitest": "^4.1.10"
},
"files": [
"dist",
"LICENSE"
]
}