-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
87 lines (87 loc) · 2.9 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
{
"name": "@sendbird/chat-ai-widget",
"version": "1.8.6",
"description": "Sendbird Chat AI Widget,\n Detailed documentation can be found at https://github.com/sendbird/chat-ai-widget#readme",
"main": "./dist/index.umd.js",
"module": "./dist/index.es.js",
"types": "./dist/src/index.d.ts",
"type": "module",
"files": [
"dist",
"README.md"
],
"repository": {
"type": "git",
"url": "https://github.com/sendbird/chat-ai-widget.git"
},
"scripts": {
"install:deps": "git submodule update --init --recursive && yarn install",
"dev": "vite",
"prebuild": "rm -rf ./dist && mv .env .env_temp || true",
"postbuild": "mv .env_temp .env || true",
"build": "yarn prebuild && tsc-silent -p './tsconfig.json' --suppress @ && vite build && yarn postbuild",
"build:npm": "node scripts/prebuild.mjs && yarn build",
"build:pages": "rm -rf ./dist && tsc-silent -p './tsconfig.json' --suppress @ && vite build --config vite.config.pages.ts",
"format": "yarn prettier:fix && yarn lint:fix",
"format:check": "yarn prettier src __visual_tests__ --check && yarn eslint src __visual_tests__",
"lint:fix": "yarn eslint src __visual_tests__ --fix",
"prettier:fix": "yarn prettier src __visual_tests__ --write",
"preview": "vite preview",
"test": "vitest run"
},
"dependencies": {
"styled-components": "^5.3.11"
},
"devDependencies": {
"@linaria/atomic": "^6.2.0",
"@linaria/core": "^6.2.0",
"@linaria/react": "^6.2.1",
"@playwright/test": "^1.48.1",
"@types/dompurify": "^3.0.5",
"@types/node": "^22.7.9",
"@types/react": "^18.0.37",
"@types/react-dom": "^18.0.11",
"@types/styled-components": "^5.1.26",
"@typescript-eslint/eslint-plugin": "^5.60.1",
"@typescript-eslint/parser": "^5.60.1",
"@vitejs/plugin-react": "^4.2.1",
"@wyw-in-js/babel-preset": "^0.5.3",
"@wyw-in-js/vite": "^0.5.3",
"date-fns": "^3.6.0",
"eslint": "^8.44.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-styled-components-a11y": "^2.1.32",
"jsdom": "^24.1.0",
"prettier": "^3.3.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-visualizer": "^5.12.0",
"ts-pattern": "^5.1.1",
"tsc-silent": "^1.2.2",
"typescript": "5.0.2",
"vite": "5.2.14",
"vite-plugin-dts": "^3.7.0",
"vite-plugin-svgr": "^4.2.0",
"vitest": "^1.6.0"
},
"peerDependencies": {
"date-fns": "^3.6.0",
"react": "^16.8.6 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.6 || ^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"date-fns": {
"optional": true
}
},
"workspaces": [
"packages/*"
],
"packageManager": "[email protected]"
}