-
Notifications
You must be signed in to change notification settings - Fork 111
/
package.json
149 lines (149 loc) · 4.75 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
141
142
143
144
145
146
147
148
149
{
"author": {
"name": "Thierry Schellenbach",
"company": "Stream.io Inc"
},
"name": "getstream",
"description": "The official low-level GetStream.io client for Node.js and the browser.",
"main": "./lib/index.js",
"module": "./lib/index.js",
"types": "./lib/index.d.ts",
"homepage": "https://getstream.io/docs/?language=js",
"email": "support@getstream.io",
"license": "BSD-3-Clause",
"version": "8.4.1",
"scripts": {
"changelog": "standard-version --release-as $VERSION --skip.tag --skip.commit --tag-prefix=v",
"commitlinter": "commitlint",
"transpile": "babel src --out-dir lib --extensions '.ts'",
"types": "tsc --emitDeclarationOnly",
"build": "rm -rf lib && yarn run transpile && yarn run types",
"dist": "webpack && webpack --env minify",
"eslint": "eslint '**/*.{js,ts}' --max-warnings 0",
"prettier": "prettier --list-different '**/*.{js,ts}'",
"lint": "yarn run prettier && yarn run eslint",
"lint-fix": "prettier --write '**/*.{js,ts}' && eslint --fix '**/*.{js,ts}'",
"test": "yarn run test-unit-node",
"test-types": "tsc --skipLibCheck --target es2020 --esModuleInterop true --noEmit true test/typescript/*.ts",
"test-unit-node": "mocha --require ./babel-register.js test/unit/common test/unit/node",
"test-integration-node": "mocha --require ./babel-register.js test/integration/common test/integration/node --exit",
"test-cloud": "mocha --require ./babel-register.js test/integration/cloud --timeout 40000",
"test-cloud-local": "LOCAL=true mocha --require ./babel-register.js test/integration/cloud --timeout 40000 --ignore 'test/integration/cloud/{personalized_feed,files,images}.js'",
"test-browser": "karma start karma.config.js",
"prepare": "yarn run build",
"preversion": "yarn run test-unit-node",
"version": "yarn run dist && yarn run build && git add dist",
"postversion": "git push && git push --tags && npm publish"
},
"husky": {
"hooks": {
"pre-commit": "yarn run lint"
}
},
"browser": {
"crypto": false,
"jsonwebtoken": false,
"./lib/batch_operations.js": false,
"./lib/redirect_url.js": false,
"qs": false,
"url": false,
"http": false,
"https": false
},
"react-native": {
"crypto": false,
"jsonwebtoken": false,
"./lib/batch_operations.js": false,
"./lib/redirect_url.js": false,
"qs": false,
"url": false
},
"devDependencies": {
"@babel/cli": "^7.23.0",
"@babel/core": "^7.23.3",
"@babel/eslint-parser": "^7.23.3",
"@babel/node": "^7.22.19",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-object-rest-spread": "^7.16.7",
"@babel/plugin-transform-object-assign": "^7.23.3",
"@babel/plugin-transform-runtime": "^7.23.3",
"@babel/preset-env": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@babel/register": "^7.22.15",
"@commitlint/cli": "^18.4.1",
"@commitlint/config-conventional": "^18.4.0",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"babel-loader": "^9.1.2",
"chai": "^4.3.10",
"dotenv": "^16.0.3",
"eslint": "^8.53.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-chai-friendly": "^0.7.2",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-sonarjs": "^0.23.0",
"eslint-plugin-typescript-sort-keys": "^3.1.0",
"expect.js": "^0.3.1",
"husky": "^8.0.3",
"json-loader": "~0.5.7",
"karma": "^6.3.9",
"karma-chrome-launcher": "^3.1.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "~2.2.5",
"karma-sauce-launcher": "^4.3.6",
"karma-sourcemap-loader": "~0.4.0",
"karma-webpack": "^5.0.0",
"mocha": "^10.2.0",
"null-loader": "^4.0.1",
"nyc": "^15.1.0",
"prettier": "^3.1.0",
"puppeteer": "^21.5.1",
"puppeteer-core": "^21.5.1",
"request": "^2.88.2",
"standard-version": "^9.3.2",
"testdouble": "3.20.0",
"typescript": "^5.2.2",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.1"
},
"dependencies": {
"@babel/runtime": "^7.23.2",
"@types/jsonwebtoken": "^9.0.5",
"@types/qs": "^6.9.10",
"axios": "0.x",
"faye": "^1.4.0",
"follow-redirects": "1.15.6",
"form-data": "^4.0.0",
"jsonwebtoken": "^9.0.2",
"jwt-decode": "^4.0.0",
"qs": "^6.10.2"
},
"peerDependencies": {
"@types/node": ">=10"
},
"repository": {
"type": "git",
"url": "git://github.com/GetStream/stream-js.git"
},
"files": [
"src",
"dist",
"types",
"lib"
],
"engines": {
"node": ">=16"
},
"keywords": [
"stream",
"get",
"get-stream",
"chat",
"notification",
"feed",
"stream.io",
"getstream"
]
}