-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
58 lines (58 loc) · 1.89 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
{
"name": "event-source-plus",
"version": "0.1.8",
"description": "A better EventSource API",
"type": "module",
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"packageManager": "[email protected]",
"repository": {
"url": "https://github.com/joshmossas/event-source-plus"
},
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"files": [
"dist",
"src"
],
"scripts": {
"typecheck": "tsc --noEmit",
"build": "unbuild",
"lint": "eslint src integration-tests",
"test": "vitest run ./src --passWithNoTests",
"start-server": "pnpm jiti ./integration-tests/server.ts --port 2020",
"format": "pnpm prettier --write ./src ./integration-tests ./.github .eslintrc.cjs .prettierrc build.config.ts package.json pnpm-lock.yaml README.md tsconfig.json ./.vscode",
"integration-test": "start-server-and-test start-server http://localhost:2020 integration-test:execute",
"integration-test:execute": "vitest run ./integration-tests --passWithNoTests --coverage.enabled --coverage.include=src"
},
"keywords": [
"sse",
"server sent events",
"fetch"
],
"author": "Joshua Sosso (@joshmossas)",
"license": "MIT",
"dependencies": {
"ofetch": "^1.4.1"
},
"devDependencies": {
"@eslint/js": "^9.23.0",
"@types/node": "^22.13.14",
"@vitest/coverage-v8": "^3.0.9",
"eslint": "^9.23.0",
"eslint-config-prettier": "^10.1.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
"h3": "^1.15.1",
"jiti": "^2.4.2",
"prettier": "^3.5.3",
"start-server-and-test": "^2.0.11",
"typescript": "^5.8.2",
"typescript-eslint": "^8.28.0",
"unbuild": "^3.5.0",
"vitest": "^3.0.9"
}
}