-
Notifications
You must be signed in to change notification settings - Fork 163
/
package.json
105 lines (105 loc) · 3.86 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
{
"name": "livekit-client",
"version": "2.7.5",
"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"
},
"./e2ee-worker": {
"types": "./dist/src/e2ee/worker/e2ee.worker.d.ts",
"import": "./dist/livekit-client.e2ee.worker.mjs",
"require": "./dist/livekit-client.e2ee.worker.js"
}
},
"files": [
"dist",
"src"
],
"types": "dist/src/index.d.ts",
"typesVersions": {
"<4.8": {
"./dist/src/index.d.ts": [
"./dist/ts4.2/src/index.d.ts"
],
"./dist/src/e2ee/worker/e2ee.worker.d.ts": [
"./dist/ts4.2/dist/src/e2ee/worker/e2ee.worker.d.ts"
]
}
},
"repository": "[email protected]:livekit/client-sdk-js.git",
"author": "David Zhao <[email protected]>",
"license": "Apache-2.0",
"scripts": {
"build": "rollup --config --bundleConfigAsCjs && rollup --config rollup.config.worker.js --bundleConfigAsCjs && pnpm downlevel-dts",
"build:watch": "rollup --watch --config --bundleConfigAsCjs",
"build:worker:watch": "rollup --watch --config rollup.config.worker.js --bundleConfigAsCjs",
"build-docs": "typedoc && mkdir -p docs/assets/github && cp .github/*.png docs/assets/github/ && find docs -name '*.html' -type f -exec sed -i.bak 's|=\"/.github/|=\"assets/github/|g' {} + && find docs -name '*.bak' -delete",
"proto": "protoc --es_out src/proto --es_opt target=ts -I./protocol ./protocol/livekit_rtc.proto ./protocol/livekit_models.proto",
"examples:demo": "vite examples/demo -c vite.config.mjs",
"lint": "eslint src",
"test": "vitest run src",
"deploy": "gh-pages -d examples/demo/dist",
"format": "prettier --write src examples/**/*.ts",
"format:check": "prettier --check src examples/**/*.ts",
"ci:publish": "pnpm build && pnpm compat && changeset publish",
"downlevel-dts": "downlevel-dts ./dist/ ./dist/ts4.2 --to=4.2",
"compat": "eslint --no-eslintrc --config ./.eslintrc.dist.cjs ./dist/livekit-client.umd.js",
"size-limit": "size-limit"
},
"dependencies": {
"@livekit/mutex": "1.0.0",
"@livekit/protocol": "1.29.4",
"events": "^3.3.0",
"loglevel": "^1.8.0",
"sdp-transform": "^2.14.1",
"ts-debounce": "^4.0.0",
"tslib": "2.7.0",
"typed-emitter": "^2.1.0",
"webrtc-adapter": "^9.0.0"
},
"devDependencies": {
"@babel/core": "7.25.2",
"@babel/preset-env": "7.25.4",
"@bufbuild/protoc-gen-es": "^1.3.0",
"@changesets/cli": "2.27.8",
"@livekit/changesets-changelog-github": "^0.0.4",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-commonjs": "28.0.0",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "15.3.0",
"@rollup/plugin-terser": "^0.4.0",
"@size-limit/file": "^8.2.4",
"@size-limit/webpack": "^8.2.4",
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
"@types/events": "^3.0.0",
"@types/sdp-transform": "2.4.9",
"@types/ua-parser-js": "0.7.39",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"downlevel-dts": "^0.11.0",
"eslint": "8.57.1",
"eslint-config-airbnb-typescript": "18.0.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-ecmascript-compat": "^3.0.0",
"eslint-plugin-import": "2.30.0",
"gh-pages": "6.1.1",
"happy-dom": "^15.7.4",
"prettier": "^3.0.0",
"rollup": "4.24.0",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-typescript2": "0.36.0",
"size-limit": "^8.2.4",
"typedoc": "0.26.7",
"typedoc-plugin-no-inherit": "1.4.0",
"typescript": "5.6.2",
"vite": "5.4.8",
"vitest": "^1.0.0"
},
"packageManager": "[email protected]"
}