-
Notifications
You must be signed in to change notification settings - Fork 265
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 2.72 KB
/
Copy pathpackage.json
File metadata and controls
97 lines (97 loc) · 2.72 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
{
"name": "eventsource",
"version": "5.0.0",
"description": "WhatWG/W3C compliant EventSource client for Node.js and browsers",
"sideEffects": false,
"type": "module",
"types": "./dist/index.d.ts",
"exports": {
".": {
"source": "./src/index.ts",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"build": "tsc -p tsconfig.dist.json",
"build:watch": "tsc -p tsconfig.dist.json --watch",
"changeset": "changeset",
"changeset:status": "changeset status --since=origin/main",
"clean": "node scripts/clean.ts",
"format": "oxfmt --write .",
"lint": "oxlint . && tsc --noEmit",
"posttest": "npm run lint",
"prebuild": "npm run clean",
"prepare": "npm run build",
"release": "changeset publish",
"test": "npm run test:types && npm run test:node && npm run test:browser",
"test:browser": "node test/browser/client.browser.test.ts",
"test:bun": "bun run test/bun/client.bun.test.ts",
"test:deno": "deno run --allow-net --allow-read --allow-env --unstable-sloppy-imports test/deno/client.deno.test.ts",
"test:node": "node test/node/client.node.test.ts",
"test:types": "npm run build && tsc -p tsconfig.types.json",
"version:packages": "changeset version && npm install --package-lock-only --no-audit --no-fund"
},
"files": [
"dist",
"src",
"!dist/stats.html"
],
"repository": {
"type": "git",
"url": "git://git@github.com/EventSource/eventsource.git"
},
"keywords": [
"sse",
"eventsource",
"server-sent-events"
],
"author": "Espen Hovlandsdal <espen@hovlandsdal.com>",
"contributors": [
"Aslak Hellesøy <aslak.hellesoy@gmail.com>",
"Einar Otto Stangvik <einaro.s@gmail.com>"
],
"license": "MIT",
"engines": {
"node": ">=22.12.0"
},
"browserslist": [
"node >= 22.12.0",
">0.3%",
"chrome >= 84",
"safari >= 15",
"firefox >= 105",
"edge >= 84"
],
"dependencies": {
"eventsource-parser": "^4.0.0"
},
"devDependencies": {
"@changesets/changelog-github": "^1.0.0",
"@changesets/cli": "^3.0.0",
"@tsconfig/strictest": "^2.0.8",
"@types/node": "^22.19.19",
"@types/sinon": "^21.0.1",
"esbuild": "^0.28.0",
"eventsource-encoder": "^1.0.2",
"oxfmt": "^0.52.0",
"oxlint": "^1.67.0",
"playwright": "^1.60.0",
"sinon": "^22.0.0",
"typescript": "^7.0.0",
"undici": "^7.0.0"
},
"bugs": {
"url": "https://github.com/EventSource/eventsource/issues"
},
"homepage": "https://github.com/EventSource/eventsource#readme",
"publishConfig": {
"provenance": true,
"exports": {
".": {
"default": "./dist/index.js"
},
"./package.json": "./package.json"
}
}
}