-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
124 lines (124 loc) · 3.2 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
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "eventsource-client",
"version": "1.1.3",
"description": "Modern EventSource client for browsers and Node.js",
"sideEffects": false,
"types": "./dist/default.d.ts",
"source": "./src/default.ts",
"module": "./dist/default.esm.js",
"main": "./dist/default.js",
"exports": {
".": {
"types": "./dist/default.d.ts",
"source": "./src/default.ts",
"deno": "./dist/default.esm.js",
"bun": "./dist/default.esm.js",
"node": {
"import": "./dist/node.cjs.mjs",
"require": "./dist/node.js"
},
"require": "./dist/default.js",
"import": "./dist/default.esm.js",
"default": "./dist/default.esm.js"
},
"./package.json": "./package.json"
},
"scripts": {
"build": "pkg-utils build && pkg-utils --strict",
"build:watch": "pkg-utils watch",
"clean": "rimraf dist coverage",
"lint": "eslint . && tsc --noEmit",
"posttest": "npm run lint",
"prebuild": "npm run clean",
"prepublishOnly": "npm run build",
"test": "npm run test:node && npm run test:browser",
"test:browser": "tsx 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": "tsx test/node/client.node.test.ts"
},
"files": [
"dist",
"src"
],
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/rexxars/eventsource-client.git"
},
"keywords": [
"sse",
"eventsource",
"server-sent-events"
],
"author": "Espen Hovlandsdal <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
},
"browserslist": [
"node >= 18",
"chrome >= 71",
"safari >= 14.1",
"firefox >= 105",
"edge >= 79"
],
"dependencies": {
"eventsource-parser": "^3.0.0"
},
"devDependencies": {
"@sanity/pkg-utils": "^4.0.0",
"@sanity/semantic-release-preset": "^4.1.7",
"@types/express": "^4.17.21",
"@types/node": "^18.0.0",
"@types/sinon": "^17.0.3",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"esbuild": "^0.20.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-sanity": "^7.1.1",
"playwright": "^1.42.1",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"rollup-plugin-visualizer": "^5.12.0",
"semantic-release": "^23.0.2",
"sinon": "^17.0.1",
"tsx": "^4.7.3",
"typescript": "^5.4.2",
"undici": "^6.7.1"
},
"bugs": {
"url": "https://github.com/rexxars/eventsource-client/issues"
},
"homepage": "https://github.com/rexxars/eventsource-client#readme",
"prettier": {
"semi": false,
"printWidth": 100,
"bracketSpacing": false,
"singleQuote": true
},
"eslintConfig": {
"parserOptions": {
"ecmaVersion": 9,
"sourceType": "module",
"ecmaFeatures": {
"modules": true
}
},
"extends": [
"sanity",
"sanity/typescript",
"prettier"
],
"ignorePatterns": [
"lib/**/"
],
"globals": {
"globalThis": false
},
"rules": {
"no-undef": "off",
"no-empty": "off"
}
}
}