-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
80 lines (80 loc) · 2.4 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
{
"name": "reconnecting-eventsource",
"version": "1.6.3",
"description": "wrapper library around the JavaScript EventSource API to ensure it maintains a connection to the server.",
"main": "./build/src/reconnecting-eventsource.js",
"exports": {
".": {
"types": "./build/src/reconnecting-eventsource.d.ts",
"import": "./build/esm/reconnecting-eventsource.js",
"require": "./build/src/reconnecting-eventsource.js"
}
},
"module": "./build/esm/reconnecting-eventsource.js",
"esnext": "./build/esnext/reconnecting-eventsource.js",
"types": "./build/src/reconnecting-eventsource.d.ts",
"scripts": {
"clean": "rimraf build browser",
"build": "npm run build:commonjs && npm run build:esm && npm run build:esnext && npm run build:browser",
"build:commonjs": "tsc --project tsconfig.json",
"build:esm": "tsc --project tsconfig.esm.json && cp resources/esm_package.json build/esm/package.json",
"build:esnext": "tsc --project tsconfig.esnext.json",
"build:browser": "webpack",
"lint": "eslint src --ext .ts",
"prepublishOnly": "npm run clean && npm run lint && npm run build",
"test": "npm run build && node test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/fanout/reconnecting-eventsource.git"
},
"author": "Fanout, Inc. <[email protected]>",
"license": "MIT",
"contributors": [
{
"name": "Katsuyuki Ohmuro",
"email": "[email protected]"
}
],
"keywords": [
"fanout",
"eventsource",
"sse",
"realtime",
"push"
],
"bugs": {
"url": "https://github.com/fanout/reconnecting-eventsource/issues"
},
"homepage": "https://github.com/fanout/reconnecting-eventsource#readme",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.30.5",
"eslint": "^8.19.0",
"rimraf": "^2.6.1",
"sse": "0.0.8",
"stoppable": "^1.1.0",
"ts-loader": "^9.3.1",
"typescript": "^4.7.4",
"webpack-cli": "^4.10.0"
},
"engines": {
"node": ">=12.0.0"
},
"files": [
"build/esm/**/package.json",
"build/esm/**/*.js",
"build/esm/**/*.js.map",
"build/esm/**/*.d.ts",
"build/esnext/**/*.js",
"build/esnext/**/*.js.map",
"build/esnext/**/*.d.ts",
"build/src/**/*.js",
"build/src/**/*.js.map",
"build/src/**/*.d.ts",
"dist/**/*.js",
"dist/**/*.js.map",
"COPYING",
"README.md"
]
}