-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
131 lines (131 loc) · 4.35 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "@ably/chat",
"version": "0.4.0",
"description": "Ably Chat is a set of purpose-built APIs for a host of chat features enabling you to create 1:1, 1:Many, Many:1 and Many:Many chat rooms for any scale. It is designed to meet a wide range of chat use cases, such as livestreams, in-game communication, customer support, or social interactions in SaaS products.",
"type": "module",
"main": "dist/chat/ably-chat.umd.cjs",
"browser": "dist/chat/ably-chat.js",
"types": "dist/chat/index.d.ts",
"react-native": "dist/chat/ably-chat.umd.cjs",
"exports": {
".": {
"react-native": "./dist/chat/ably-chat.umd.cjs",
"types": "./dist/chat/index.d.ts",
"import": "./dist/chat/ably-chat.js",
"require": "./dist/chat/ably-chat.umd.cjs"
},
"./package.json": "./package.json"
},
"scripts": {
"lint": "eslint . && npm run cspell",
"lint:fix": "eslint --fix .; (npm run format > /dev/null)",
"format": "prettier --write src test __mocks__ demo/src",
"format:check": "prettier --check src test __mocks__ demo/src",
"test": "vitest run",
"test:chat": "vitest run --project chat",
"test:react": "vitest run --project react-hooks",
"test:unit": "vitest run --exclude \"test/**/*.integration.test.ts?(x)\"",
"test:chat-unit": "vitest run --project chat --exclude \"test/**/*.integration.test.ts?(x)\"",
"test:react-unit": "vitest run --project react-hooks --exclude \"test/**/*.integration.test.ts?(x)\"",
"test:watch": "vitest watch",
"build": "npm run build:chat && npm run build:core",
"build:chat": "vite build --config ./src/vite.config.ts --emptyOutDir",
"build:core": "vite build --config ./src/core/vite.config.ts --emptyOutDir",
"build:start-demo": "npm run build && (cd demo && npm start)",
"prepare": "npm run build",
"test:typescript": "tsc",
"demo:reload": "npm run build && cd demo && npm i file:../",
"docs": "typedoc",
"modulereport": "tsc --noEmit --esModuleInterop scripts/moduleReport.ts && esr scripts/moduleReport.ts",
"cspell": "cspell '{src,test}/**' './*.md'"
},
"files": [
"dist/**",
"src/**"
],
"repository": {
"type": "git",
"url": "git+https://github.com/ably/ably-chat-js.git"
},
"keywords": [
"chat",
"ably",
"ably-realtime",
"websockets"
],
"author": "Ably Realtime",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/ably/ably-chat-js/issues"
},
"homepage": "https://github.com/ably/ably-chat-js#readme",
"engines": {
"node": ">=18.0.0"
},
"peerDependencies": {
"ably": "^2.6.3",
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"react-dom": {
"optional": true
}
},
"devDependencies": {
"@eslint/compat": "^1.2.7",
"@eslint/eslintrc": "^3.3.0",
"@eslint/js": "^9.12.0",
"@testing-library/react": "^16.2.0",
"@types/jsonwebtoken": "^9.0.9",
"@types/lodash.clonedeep": "^4.5.9",
"@types/react": "^19.0.10",
"@types/react-dom": "^19.0.4",
"@typescript-eslint/eslint-plugin": "^8.26.1",
"@typescript-eslint/parser": "^8.26.1",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-v8": "^3.0.8",
"aws-sdk": "^2.1692.0",
"cspell": "^8.17.5",
"eslint": "^9.22.0",
"eslint-plugin-compat": "^6.0.2",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsdoc": "^50.6.6",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.19",
"eslint-plugin-security": "^3.0.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unicorn": "^57.0.0",
"globals": "^16.0.0",
"jsdom": "^26.0.0",
"jsonwebtoken": "^9.0.2",
"minimist": "^1.2.8",
"prettier": "^3.5.3",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"typedoc": "^0.27.9",
"typedoc-plugin-no-inherit": "^1.5.0",
"typescript": "^5.8.2",
"vite": "^6.2.1",
"vite-plugin-dts": "^4.5.3",
"vitest": "^3.0.8"
},
"dependencies": {
"async-mutex": "^0.5.0",
"dequal": "^2.0.3",
"lodash.clonedeep": "^4.5.0"
},
"optionalDependencies": {
"@rollup/rollup-darwin-arm64": "^4.18",
"@rollup/rollup-linux-x64-gnu": "^4.18"
},
"browserslist": [
"defaults",
"not op_mini all"
]
}