forked from GetStream/stream-chat-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
140 lines (140 loc) · 4.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
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
132
133
134
135
136
137
138
139
140
{
"name": "stream-chat",
"version": "8.14.4",
"description": "JS SDK for the Stream Chat API",
"author": "GetStream",
"homepage": "https://getstream.io/chat/",
"repository": "https://github.com/GetStream/stream-chat-js.git",
"main": "./dist/index.js",
"module": "./dist/index.es.js",
"jsnext:main": "./dist/index.es.js",
"types": "./dist/types/index.d.ts",
"browser": {
"./dist/index.es.js": "./dist/browser.es.js",
"./dist/index.js": "./dist/browser.js"
},
"react-native": {
"./dist/index.es.js": "./dist/browser.es.js",
"./dist/index.js": "./dist/browser.js"
},
"jsdelivr": "./dist/browser.full-bundle.min.js",
"license": "SEE LICENSE IN LICENSE",
"keywords": [
"chat",
"messaging",
"conversation",
"react",
"stream",
"getstream",
"getstream.io"
],
"files": [
"/dist",
"/src",
"readme.md",
"license"
],
"dependencies": {
"@babel/runtime": "^7.16.3",
"@types/jsonwebtoken": "~9.0.0",
"@types/ws": "^7.4.0",
"axios": "^1.6.0",
"base64-js": "^1.5.1",
"form-data": "^4.0.0",
"isomorphic-ws": "^4.0.1",
"jsonwebtoken": "~9.0.0",
"ws": "^7.4.4"
},
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.0",
"@babel/eslint-parser": "^7.17.0",
"@babel/node": "^7.16.0",
"@babel/plugin-proposal-class-properties": "^7.16.0",
"@babel/plugin-proposal-object-rest-spread": "^7.16.0",
"@babel/plugin-transform-async-to-generator": "^7.16.0",
"@babel/plugin-transform-object-assign": "^7.16.0",
"@babel/plugin-transform-runtime": "^7.16.4",
"@babel/preset-env": "^7.16.4",
"@babel/preset-typescript": "^7.16.0",
"@babel/register": "^7.16.0",
"@commitlint/cli": "^16.0.2",
"@commitlint/config-conventional": "^16.0.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.2.0",
"@rollup/plugin-replace": "^3.0.1",
"@types/babel__core": "^7.1.16",
"@types/base64-js": "^1.3.0",
"@types/chai": "^4.2.15",
"@types/chai-arrays": "^2.0.0",
"@types/chai-as-promised": "^7.1.4",
"@types/chai-like": "^1.1.1",
"@types/eslint": "7.2.7",
"@types/mocha": "^9.0.0",
"@types/node": "^16.11.11",
"@types/prettier": "^2.2.2",
"@types/rollup-plugin-json": "^3.0.2",
"@types/rollup-plugin-peer-deps-external": "^2.2.0",
"@types/rollup-plugin-url": "^2.2.0",
"@types/sinon": "^10.0.6",
"@typescript-eslint/eslint-plugin": "^4.17.0",
"@typescript-eslint/parser": "^4.17.0",
"chai": "^4.3.4",
"chai-arrays": "^2.2.0",
"chai-as-promised": "^7.1.1",
"chai-like": "^1.1.1",
"chai-sorted": "^0.2.0",
"dotenv": "^8.2.0",
"eslint": "7.21.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-markdown": "^2.0.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-sonarjs": "^0.6.0",
"eslint-plugin-typescript-sort-keys": "1.5.0",
"husky": "^4.3.8",
"lint-staged": "^10.5.4",
"mocha": "^9.1.3",
"nyc": "^15.1.0",
"prettier": "^2.2.1",
"rollup": "^2.41.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-terser": "^7.0.2",
"sinon": "^12.0.1",
"standard-version": "^9.3.2",
"typescript": "^4.2.3",
"uuid": "^8.3.2"
},
"scripts": {
"start": "yarn run compile -w",
"compile": "rollup -c",
"changelog": "standard-version --release-as $VERSION --skip.tag --skip.commit --tag-prefix=v",
"commitlinter": "commitlint",
"build": "rm -rf dist && yarn run types && yarn run compile",
"types": "tsc --emitDeclarationOnly true",
"prettier": "prettier --check '**/*.{js,ts,md,css,scss,json}' .eslintrc.json .prettierrc .babelrc",
"prettier-fix": "npx prettier --write '**/*.{js,ts,md,css,scss,json}' .eslintrc.json .prettierrc .babelrc",
"test-types": "node test/typescript/index.js && tsc --esModuleInterop true --noEmit true --strictNullChecks true --noImplicitAny true --strict true test/typescript/*.ts",
"eslint": "eslint '**/*.{js,md,ts}' --max-warnings 0 --ignore-path ./.eslintignore",
"eslint-fix": "npx eslint --fix '**/*.{js,md,ts}' --max-warnings 0 --ignore-path ./.eslintignore",
"test-unit": "NODE_ENV=test mocha --exit --bail --timeout 20000 --require ./babel-register test/unit/*.js",
"test-coverage": "nyc yarn test-unit",
"test": "yarn test-unit",
"testwatch": "NODE_ENV=test nodemon ./node_modules/.bin/mocha --timeout 20000 --require test-entry.js test/test.js",
"lint": "yarn run prettier && yarn run eslint",
"lint-fix": "yarn run prettier-fix && yarn run eslint-fix",
"prepare": "yarn run build",
"preversion": "yarn && yarn lint && yarn test-unit",
"version": "git add yarn.lock",
"postversion": "git push && git push --tags && npm publish"
},
"husky": {
"hooks": {
"pre-commit": "yarn run lint"
}
},
"engines": {
"node": ">=16"
}
}