-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpackage.json
More file actions
110 lines (110 loc) · 3.17 KB
/
package.json
File metadata and controls
110 lines (110 loc) · 3.17 KB
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
106
107
108
109
110
{
"name": "@vapi-ai/client-sdk-react",
"description": "Vapi Client React SDK",
"version": "0.1.1",
"type": "module",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./widget": {
"import": "./dist/embed/widget.js",
"require": "./dist/embed/widget.cjs"
},
"./styles": "./dist/client-sdk-react.css"
},
"scripts": {
"dev": "cd example && npm run dev",
"dev:widget": "vite",
"build": "tsc && vite build",
"build:widget": "vite build --config vite.widget.config.ts",
"build:all": "npm run build && npm run build:widget",
"preview": "vite preview",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint:fix": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"type-check": "tsc --noEmit",
"test": "npm run test:widget",
"test:widget": "npm run build:widget && playwright test",
"test:widget:ui": "npm run build:widget && playwright test --ui",
"test:serve": "serve -l 4200 .",
"test:ci": "npm run build:widget && playwright test --reporter=list",
"test:ci:only": "playwright test --reporter=list"
},
"author": {
"name": "Vapi AI",
"url": "https://vapi.ai"
},
"contributors": [
{
"name": "ramsrib",
"url": "https://github.com/ramsrib"
}
],
"homepage": "https://github.com/VapiAI/client-sdk-react#readme",
"repository": "https://github.com/VapiAI/client-sdk-react",
"bugs": {
"url": "https://github.com/VapiAI/client-sdk-react/issues"
},
"keywords": [
"vapi",
"react",
"components",
"widget",
"embeddable",
"library"
],
"license": "",
"peerDependencies": {
"@vapi-ai/web": "^2.5.0",
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"devDependencies": {
"@playwright/test": "^1.53.1",
"@types/js-cookie": "^3.0.6",
"@types/node": "^24.0.6",
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"@vitejs/plugin-react": "^4.3.0",
"autoprefixer": "^10.4.19",
"eslint": "^8.57.0",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-prettier": "^5.5.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.6",
"playwright": "^1.53.1",
"postcss": "^8.4.38",
"postcss-prefix-selector": "^2.1.1",
"prettier": "^3.6.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"serve": "^14.2.4",
"tailwindcss": "3.4.14",
"typescript": "^5.2.2",
"vite": "^7.0.0",
"vite-plugin-css-injected-by-js": "^3.5.2",
"vite-plugin-dts": "^3.9.1"
},
"dependencies": {
"@microsoft/fetch-event-source": "^2.0.1",
"@phosphor-icons/react": "^2.1.10",
"js-cookie": "^3.0.5",
"react-colorful": "^5.6.1",
"react-markdown": "^10.1.0"
}
}