-
Notifications
You must be signed in to change notification settings - Fork 266
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 3 KB
/
Copy pathpackage.json
File metadata and controls
101 lines (101 loc) · 3 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
100
101
{
"name": "eventsource",
"version": "5.1.1",
"description": "WhatWG/W3C compliant EventSource client for Node.js and browsers",
"keywords": [
"eventsource",
"server-sent-events",
"sse"
],
"homepage": "https://github.com/EventSource/eventsource#readme",
"bugs": {
"url": "https://github.com/EventSource/eventsource/issues"
},
"license": "MIT",
"author": "Espen Hovlandsdal <espen@hovlandsdal.com>",
"contributors": [
"Aslak Hellesøy <aslak.hellesoy@gmail.com>",
"Einar Otto Stangvik <einaro.s@gmail.com>"
],
"repository": {
"type": "git",
"url": "git://git@github.com/EventSource/eventsource.git"
},
"files": [
"dist",
"src",
"!dist/stats.html"
],
"type": "module",
"sideEffects": false,
"types": "./dist/index.d.ts",
"exports": {
".": {
"source": "./src/index.ts",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"publishConfig": {
"exports": {
".": {
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"provenance": true
},
"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 && tsc --noEmit -p tsconfig.test.json",
"prebuild": "npm run clean",
"prepare": "npm run build",
"release": "changeset publish",
"test": "vitest run",
"test:browser": "vitest run --config ./vitest.browser.config.ts",
"test:bun": "bun run vitest run",
"test:deno": "deno run -A --node-modules-dir npm:vitest run",
"test:types": "npm run build && tsc -p tsconfig.types.json",
"version:packages": "changeset version && npm install --package-lock-only --no-audit --no-fund",
"test:all": "npm run test:types && npm run test && npm run test:browser && npm run test:bun && npm run test:deno && npm run test:happy-dom && npm run test:workerd",
"test:happy-dom": "vitest run --config ./vitest.happy-dom.config.ts",
"test:workerd": "vitest run --config ./vitest.workerd.config.ts",
"posttest": "npm run lint"
},
"dependencies": {
"eventsource-parser": "^4.1.0"
},
"devDependencies": {
"@changesets/changelog-github": "^1.0.0",
"@changesets/cli": "^3.0.0",
"@cloudflare/vitest-pool-workers": "^0.21.3",
"@tsconfig/strictest": "^2.0.8",
"@types/node": "^22.19.19",
"@vitest/browser": "^4.1.10",
"@vitest/browser-playwright": "^4.1.10",
"eventsource-encoder": "^1.0.2",
"happy-dom": "^20.11.2",
"oxfmt": "^0.52.0",
"oxlint": "^1.67.0",
"playwright": "^1.60.0",
"typescript": "^7.0.0",
"vitest": "^4.1.10"
},
"browserslist": [
"node >= 22.12.0",
">0.3%",
"chrome >= 84",
"safari >= 15",
"firefox >= 105",
"edge >= 84"
],
"engines": {
"node": ">=22.12.0"
},
"packageManager": "npm@12.0.1"
}