-
Notifications
You must be signed in to change notification settings - Fork 80
Expand file tree
/
Copy pathpackage.json
More file actions
121 lines (121 loc) · 3.49 KB
/
Copy pathpackage.json
File metadata and controls
121 lines (121 loc) · 3.49 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
111
112
113
114
115
116
117
118
119
120
121
{
"name": "stream-chat",
"version": "0.0.0-development",
"description": "JS SDK for the Stream Chat API",
"homepage": "https://getstream.io/chat/",
"author": {
"name": "GetStream.io, Inc.",
"url": "https://getstream.io/team/"
},
"repository": {
"type": "git",
"url": "https://github.com/GetStream/stream-chat-js.git"
},
"types": "./dist/types/index.d.ts",
"main": "./dist/esm/index.mjs",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"browser": {
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.browser.js"
},
"react-native": {
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.browser.js"
},
"node": "./dist/cjs/index.node.js",
"default": "./dist/esm/index.mjs"
}
},
"browser": {
"crypto": false,
"https": false,
"jsonwebtoken": false,
"ws": false,
"zlib": false
},
"license": "SEE LICENSE IN LICENSE",
"keywords": [
"chat",
"messaging",
"conversation",
"react",
"stream",
"getstream",
"getstream.io"
],
"files": [
"/dist",
"/src"
],
"dependencies": {
"@types/jsonwebtoken": "^9.0.8",
"@types/ws": "^8.18.1",
"axios": "^1.16.1",
"base64-js": "^1.5.1",
"form-data": "^4.0.5",
"isomorphic-ws": "^5.0.0",
"jsonwebtoken": "^9.0.3",
"linkifyjs": "^4.3.3",
"ws": "^8.20.1"
},
"devDependencies": {
"@commitlint/cli": "^21.0.1",
"@commitlint/config-conventional": "^21.0.1",
"@eslint/js": "^9.39.4",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/node": "^22.19.19",
"@types/sinon": "^10.0.6",
"@vitest/coverage-v8": "^4.1.7",
"concurrently": "^9.2.1",
"conventional-changelog-conventionalcommits": "^9.3.1",
"dotenv": "^17.4.2",
"esbuild": "^0.28.0",
"eslint": "^9.39.4",
"eslint-plugin-import": "^2.32.0",
"globals": "^17.6.0",
"husky": "^9.1.7",
"lint-staged": "^17.0.5",
"prettier": "^3.8.3",
"semantic-release": "^25.0.3",
"sinon": "^12.0.1",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.4",
"vitest": "^4.1.7"
},
"scripts": {
"build": "rm -rf dist && concurrently 'tsc' './scripts/bundle.mjs'",
"start": "concurrently 'tsc --watch' './scripts/bundle.mjs --watch'",
"types": "tsc --noEmit",
"lint": "yarn run prettier && yarn run eslint",
"lint-fix": "yarn run prettier-fix && yarn run eslint-fix",
"prettier": "prettier '**/*.{json,js,mjs,ts,yml,md}' --check",
"prettier-fix": "yarn run prettier --write",
"eslint": "eslint --max-warnings 0",
"eslint-fix": "yarn run eslint --fix",
"test": "yarn test-unit",
"test-types": "yarn run-test-types && yarn run-types-gen",
"run-test-types": "node test/typescript/index.js",
"run-types-gen": "tsc --esModuleInterop true --noEmit true --strictNullChecks true --noImplicitAny true --strict true test/typescript/*.ts",
"test-unit": "vitest",
"test-coverage": "vitest run --coverage",
"fix-staged": "lint-staged --config .lintstagedrc.fix.json --concurrent 1",
"semantic-release": "semantic-release",
"postinstall": "node -e \"require('fs').existsSync('scripts/install-husky.mjs') && import('./scripts/install-husky.mjs')\"",
"prepare": "yarn run build"
},
"engines": {
"node": ">=18"
},
"packageManager": "yarn@4.15.0",
"dependenciesMeta": {
"esbuild": {
"built": true
},
"husky": {
"built": true
}
}
}