-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
119 lines (119 loc) · 4.02 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
{
"name": "@ably/chat",
"version": "0.2.1",
"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/react/ably-chat-react.umd.cjs",
"exports": {
".": {
"types": "./dist/chat/index.d.ts",
"import": "./dist/chat/ably-chat.js",
"require": "./dist/chat/ably-chat.umd.cjs",
"react-native": "./dist/chat/ably-chat.umd.cjs"
},
"./react": {
"types": "./dist/react/index.d.ts",
"import": "./dist/react/ably-chat-react.js",
"require": "./dist/react/ably-chat-react.umd.cjs",
"react-native": "./dist/react/ably-chat-react.umd.cjs"
},
"./package.json": "./package.json"
},
"scripts": {
"lint": "eslint . && npm run cspell",
"lint:fix": "eslint --fix .",
"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:watch": "vitest watch",
"build": "npm run build:chat && npm run build:react",
"build:chat": "vite build --config ./src/core/vite.config.ts --emptyOutDir",
"build:react": "vite build --config ./src/react/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",
"peerDependencies": {
"ably": "ably/ably-js#mutable-messages-with-submodule-test"
},
"devDependencies": {
"@eslint/compat": "^1.2.0",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.12.0",
"@testing-library/react": "^16.0.0",
"@types/jsonwebtoken": "^9.0.6",
"@types/lodash.clonedeep": "^4.5.9",
"@types/react": "^18.3.3",
"@typescript-eslint/eslint-plugin": "^8.9.0",
"@typescript-eslint/parser": "^8.9.0",
"@vitejs/plugin-react": "^4.3.1",
"@vitest/coverage-v8": "^2.1.3",
"aws-sdk": "^2.1656.0",
"cspell": "^8.10.1",
"eslint": "^9.12.0",
"eslint-plugin-compat": "^6.0.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsdoc": "^50.4.1",
"eslint-plugin-react": "^7.37.0",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.7",
"eslint-plugin-security": "^3.0.1",
"eslint-plugin-simple-import-sort": "^12.1.0",
"eslint-plugin-unicorn": "^56.0.0",
"globals": "^15.11.0",
"jsdom": "^25.0.1",
"jsonwebtoken": "^9.0.2",
"minimist": "^1.2.8",
"prettier": "^3.3.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typedoc": "^0.26.3",
"typedoc-plugin-no-inherit": "^1.4.0",
"typescript": "^5.5.2",
"vite": "^5.3.2",
"vite-plugin-dts": "^4.2.4",
"vitest": "^2.1.3"
},
"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"
]
}