obi-sdk 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,66 @@
1
+ {
2
+ "name": "obi-sdk",
3
+ "version": "0.1.1",
4
+ "description": "JavaScript SDK for Obi",
5
+ "type": "module",
6
+ "main": "dist/obi-sdk.umd.js",
7
+ "module": "dist/obi-sdk.es.js",
8
+ "types": "dist/index.d.ts",
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "scripts": {
13
+ "dev": "vite",
14
+ "build": "tsc && vite build && tsc --emitDeclarationOnly",
15
+ "build:loader": "vite build --config vite.loader.config.js",
16
+ "build:standalone": "vite build --config vite.standalone.config.js",
17
+ "build:modular": "vite build --config vite.modular.config.js",
18
+ "build:all": "npm run build && npm run build:loader && npm run build:standalone && npm run build:modular",
19
+ "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
20
+ "format": "prettier --write \"src/**/*.{ts,tsx}\"",
21
+ "preview": "vite preview",
22
+ "types": "tsc --emitDeclarationOnly",
23
+ "prepublishOnly": "npm run build"
24
+ },
25
+ "keywords": [
26
+ "obi",
27
+ "sdk",
28
+ "voice",
29
+ "screen",
30
+ "assistant",
31
+ "onboarding",
32
+ "onboarding-assistant",
33
+ "onboarding-assistant-sdk"
34
+ ],
35
+ "author": "",
36
+ "license": "SEE LICENSE IN LICENSE.txt",
37
+ "dependencies": {
38
+ "lit": "^3.0.0",
39
+ "livekit-client": "^2.11.4",
40
+ "mitt": "^3.0.1",
41
+ "ts-pattern": "^5.0.6",
42
+ "zod": "^3.22.0"
43
+ },
44
+ "peerDependencies": {
45
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
46
+ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
47
+ },
48
+ "devDependencies": {
49
+ "@eslint/js": "^8.56.0",
50
+ "@types/react": "^18.0.0",
51
+ "@types/react-dom": "^18.0.0",
52
+ "@typescript-eslint/eslint-plugin": "^6.0.0",
53
+ "@typescript-eslint/parser": "^6.0.0",
54
+ "@vitejs/plugin-react": "^4.0.3",
55
+ "eslint": "^8.45.0",
56
+ "eslint-config-prettier": "^9.0.0",
57
+ "eslint-plugin-import": "^2.28.0",
58
+ "prettier": "^3.0.0",
59
+ "react": "^18.2.0",
60
+ "react-dom": "^18.2.0",
61
+ "rollup-plugin-visualizer": "^5.14.0",
62
+ "terser": "^5.39.0",
63
+ "typescript": "^5.0.2",
64
+ "vite": "^4.5.0"
65
+ }
66
+ }