forked from livekit/client-sdk-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
103 lines (103 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
{
"name": "livekit-client",
"version": "1.5.0",
"description": "JavaScript/TypeScript client SDK for LiveKit",
"main": "./dist/livekit-client.umd.js",
"unpkg": "./dist/livekit-client.umd.js",
"module": "./dist/livekit-client.esm.mjs",
"exports": {
"types": "./dist/src/index.d.ts",
"import": "./dist/livekit-client.esm.mjs",
"require": "./dist/livekit-client.umd.js"
},
"files": [
"dist",
"src"
],
"types": "dist/src/index.d.ts",
"typesVersions": {
"<4.8": {
"./dist/src/index.d.ts": [
"./dist/src/ts4.2/index.d.ts"
]
}
},
"repository": "[email protected]:livekit/client-sdk-js.git",
"author": "David Zhao <[email protected]>",
"license": "Apache-2.0",
"scripts": {
"build": "rollup --config && yarn downlevel-dts",
"build:watch": "rollup --watch --config rollup.config.js",
"build-docs": "typedoc",
"proto": "protoc --plugin=node_modules/ts-proto/protoc-gen-ts_proto --ts_proto_opt=esModuleInterop=true --ts_proto_out=./src/proto --ts_proto_opt=outputClientImpl=false,useOptionals=messages,oneof=unions -I./protocol ./protocol/livekit_rtc.proto ./protocol/livekit_models.proto",
"sample": "vite serve example --port 8080 --open",
"lint": "eslint src",
"test": "jest",
"deploy": "gh-pages -d example/dist",
"format": "prettier --write src example/sample.ts",
"format:check": "prettier --check src",
"release": "yarn build && changeset publish",
"downlevel-dts": "downlevel-dts ./dist/ ./dist/ts4.2 --to=4.2"
},
"dependencies": {
"async-await-queue": "^1.2.1",
"events": "^3.3.0",
"loglevel": "^1.8.0",
"protobufjs": "^7.0.0",
"sdp-transform": "^2.14.1",
"ts-debounce": "^4.0.0",
"typed-emitter": "^2.1.0",
"ua-parser-js": "^1.0.2",
"webrtc-adapter": "^8.1.1"
},
"devDependencies": {
"@babel/core": "7.20.2",
"@babel/preset-env": "7.20.2",
"@changesets/changelog-github": "0.4.7",
"@changesets/cli": "2.25.2",
"@rollup/plugin-babel": "6.0.2",
"@rollup/plugin-commonjs": "23.0.2",
"@rollup/plugin-json": "5.0.1",
"@rollup/plugin-node-resolve": "14.1.0",
"@types/jest": "29.2.2",
"@types/sdp-transform": "2.4.5",
"@types/ua-parser-js": "0.7.36",
"@types/ws": "8.5.3",
"@typescript-eslint/eslint-plugin": "5.42.0",
"@typescript-eslint/parser": "5.42.0",
"downlevel-dts": "^0.11.0",
"eslint": "8.27.0",
"eslint-config-airbnb-typescript": "17.0.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"gh-pages": "4.0.0",
"jest": "29.2.2",
"prettier": "2.7.1",
"rollup": "2.79.1",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-filesize": "9.1.2",
"rollup-plugin-re": "1.0.7",
"rollup-plugin-terser": "7.0.2",
"rollup-plugin-typescript2": "0.34.1",
"ts-jest": "29.0.3",
"ts-proto": "1.131.0",
"typedoc": "0.23.20",
"typedoc-plugin-no-inherit": "1.4.0",
"typescript": "4.8.4",
"vite": "3.2.3"
},
"browserslist": [
"safari >= 11",
"ios_saf >= 11",
"chrome >= 64",
"and_chr >= 64",
"android >= 64",
"firefox >= 53",
"and_ff >= 53",
"edge >= 79",
"Opera >= 52",
"Samsung >= 9.2",
"not IE 11",
"not dead"
]
}