-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
70 lines (70 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
62
63
64
65
66
67
68
69
70
{
"name": "fetch-sse",
"version": "1.1.2",
"type": "module",
"description": "An easy API for making Event Source requests, with all the features of fetch(), Supports browsers and node.",
"keywords": [
"SSE",
"Server-Sent",
"Events",
"EventSource",
"fetch"
],
"author": "zac.ma",
"license": "MIT",
"bugs": {
"url": "https://github.com/yokingma/fetch-sse/issues"
},
"homepage": "https://github.com/yokingma/fetch-sse#readme",
"main": "./build/index.cjs",
"module": "./build/index.js",
"types": "./build/index.d.ts",
"files": [
"build/**"
],
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"build": "tsup",
"test": "jest"
},
"tsup": {
"entry": [
"src/index.ts"
],
"outDir": "build",
"format": [
"cjs",
"esm"
],
"splitting": false,
"dts": true,
"clean": true,
"sourcemap": true
},
"exports": {
".": {
"require": "./build/index.cjs",
"import": "./build/index.js"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/yokingma/fetch-sse.git"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@tsconfig/recommended": "^1.0.3",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.25",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"eslint": "^8.57.0",
"jest": "^29.7.0",
"ts-jest": "^29.1.2",
"tsup": "^8.3.5",
"typescript": "^5.4.2",
"typescript-eslint": "^7.1.1"
}
}