-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
61 lines (61 loc) · 1.5 KB
/
package.json
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
{
"name": "better-sse",
"description": "Dead simple, dependency-less, spec-compliant server-sent events implementation for Node, written in TypeScript.",
"version": "0.14.1",
"license": "MIT",
"author": "Matthew W. <matthew.widdi@gmail.com>",
"repository": "github:MatthewWid/better-sse",
"homepage": "https://matthewwid.github.io/better-sse",
"bugs": "https://github.com/MatthewWid/better-sse/issues",
"keywords": [
"server-sent-events",
"sse",
"realtime",
"real-time",
"tcp",
"events"
],
"scripts": {
"build": "tsup",
"test": "vitest",
"format": "prettier --write ./src/**/*.ts",
"lint": "eslint \"./src/**/*.ts\"",
"prepublishOnly": "npm-run-all format test build"
},
"main": "./build/index.js",
"module": "./build/index.mjs",
"types": "./build/index.d.ts",
"exports": {
".": {
"types": "./build/index.d.ts",
"require": "./build/index.js",
"import": "./build/index.mjs"
}
},
"files": [
"build",
"!build/**/*.map"
],
"engines": {
"node": ">=20",
"pnpm": ">=9"
},
"devDependencies": {
"@tsconfig/node20": "^20.1.4",
"@types/eventsource": "^1.1.15",
"@types/express": "^5.0.0",
"@types/node": "^22.7.6",
"@typescript-eslint/eslint-plugin": "^8.9.0",
"@typescript-eslint/parser": "^8.9.0",
"eslint": "^8.57.1",
"eslint-plugin-tsdoc": "^0.3.0",
"eventsource": "^2.0.2",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.3",
"ts-node": "^10.9.2",
"tsup": "^8.3.0",
"typescript": "^5.6.3",
"vitest": "^2.1.3"
},
"packageManager": "pnpm@9.12.2"
}