-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
41 lines (41 loc) · 1.19 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
{
"name": "@yomo/webtransport-polyfill",
"version": "1.0.16",
"description": "WebTransport implementation to fallback to WebSocket if browser does not support it",
"keywords": [
"webtransport",
"websocket",
"polyfill"
],
"license": "MIT",
"type": "module",
"module": "./out/index.mjs",
"types": "./out/index.d.ts",
"files": [
"out/index.mjs",
"out/index.d.ts",
"out/index.d.ts.map"
],
"exports": {
".": {
"import": "./out/index.mjs",
"types": "./out/index.d.ts"
},
"./package.json": "./package.json"
},
"repository": "github.com:yomorun/webtransport-polyfill",
"bugs": {
"url": "https://github.com/yomorun/webtransport-polyfill/issues"
},
"homepage": "https://github.com/yomorun/webtransport-polyfill#readme",
"scripts": {
"test": "bun test",
"build": "bun build --sourcemap=external --target=browser --outdir=./out --entry-naming [dir]/[name].mjs ./src/index.ts",
"generate-types": "bunx tsc --allowJs --declaration --emitDeclarationOnly --declarationMap ./out/index.mjs",
"dist": "bun run build && bun run generate-types"
},
"devDependencies": {
"bun-types": "latest",
"typescript": "^5.0.0"
}
}