UNPKG

5.69 kBJSONView Raw
1{
2 "name": "getstream-cli",
3 "description": "Configure & manage Stream applications from the command line. 🚀",
4 "version": "0.0.34",
5 "bin": {
6 "stream": "./bin/run"
7 },
8 "engines": {
9 "node": ">=10.0.0"
10 },
11 "main": "src/index.js",
12 "author": {
13 "name": "Nick Parsons",
14 "email": "nick@getstream.io",
15 "url": "https://getstream.io/"
16 },
17 "bugs": {
18 "url": "https://github.com/getstream/stream-cli/issues",
19 "email": "support@getstream.io"
20 },
21 "publishConfig": {
22 "registry": "https://registry.npmjs.org/"
23 },
24 "homepage": "https://github.com/GetStream/stream-cli/blob/master/README.md",
25 "keywords": [
26 "GetStream",
27 "Stream",
28 "CLI",
29 "Feed",
30 "Chat"
31 ],
32 "license": "BSD-3-Clause",
33 "scripts": {
34 "manifest": "rm -f oclif.manifest.json && oclif-dev manifest",
35 "readme": "oclif-dev readme --multi",
36 "test": "nyc report --reporter=text-lcov | coveralls mocha --exit --forbid-only \"test/**/*.test.js\"",
37 "lint": "yarn prettier --write --check --config ./.prettierrc \"**/*.js\" && eslint --fix ./src",
38 "build": "./build.sh",
39 "pre-release": "git pull origin master",
40 "mid-release": "git pull origin master && yarn manifest && yarn readme && yarn lint && git add . && git pull origin master && git commit -m 'New Release' && git push origin master",
41 "post-release": "yarn build",
42 "release": "release-it"
43 },
44 "dependencies": {
45 "@babel/runtime": "^7.6.3",
46 "@oclif/command": "^1",
47 "@oclif/config": "^1",
48 "@oclif/plugin-autocomplete": "^0.1.4",
49 "@oclif/plugin-commands": "^1.2.3",
50 "@oclif/plugin-help": "^2.2.1",
51 "@oclif/plugin-not-found": "^1.2.3",
52 "@oclif/plugin-warn-if-update-available": "^1.7.0",
53 "cardinal": "^2.1.1",
54 "chalk": "^2.4.2",
55 "cli-table": "^0.3.1",
56 "data-store": "^4.0.3",
57 "enquirer": "^2.3.2",
58 "fs-extra": "^8.1.0",
59 "globby": "^10.0.1",
60 "json-stringify-pretty-compact": "^2.0.0",
61 "jsonwebtoken": "^8.5.1",
62 "moment": "^2.24.0",
63 "node-emoji": "^1.10.0",
64 "node-notifier": "^6.0.0",
65 "numeral": "^2.0.6",
66 "stream-chat": "1.1.6",
67 "uuid": "^3.3.3"
68 },
69 "devDependencies": {
70 "@oclif/dev-cli": "^1",
71 "@oclif/test": "^1",
72 "babel-eslint": "^10.0.3",
73 "chai": "^4",
74 "coveralls": "^3.0.7",
75 "eslint": "^6.5",
76 "eslint-config-oclif": "^3.1",
77 "eslint-plugin-babel": "^5.3.0",
78 "husky": "^3.0.9",
79 "mocha": "^6.2.2",
80 "mocha-lcov-reporter": "^1.3.0",
81 "nyc": "^14",
82 "prettier": "^1.18.2",
83 "release-it": "^12.4.3"
84 },
85 "files": [
86 "/bin",
87 "/npm-shrinkwrap.json",
88 "/oclif.manifest.json",
89 "/src"
90 ],
91 "oclif": {
92 "bin": "stream",
93 "commands": "./src/commands",
94 "plugins": [
95 "@oclif/plugin-help",
96 "@oclif/plugin-autocomplete",
97 "@oclif/plugin-commands",
98 "@oclif/plugin-not-found",
99 "@oclif/plugin-warn-if-update-available"
100 ],
101 "warn-if-update-available": {
102 "timeoutInDays": 7,
103 "message": "NOTICE: <%= config.name %> update available from <%= chalk.greenBright(config.version) %> to <%= chalk.greenBright(latest) %>!"
104 },
105 "topics": {
106 "config": {
107 "description": "manage configuration variables"
108 },
109 "debug": {
110 "description": "debugging tools"
111 },
112 "debug:token": {
113 "description": "debug stream jwt tokens"
114 },
115 "chat": {
116 "description": "configure and manage all things related to chat"
117 },
118 "chat:push:get": {
119 "description": "retrieve all push settings for chat"
120 },
121 "chat:push:test": {
122 "description": "test notification templates for both push providers"
123 },
124 "chat:push:device:add": {
125 "description": "add a device to a user"
126 },
127 "chat:push:device:get": {
128 "description": "list all user devices"
129 },
130 "chat:push:device:delete": {
131 "description": "remove a device from a user"
132 },
133 "chat:push:apn": {
134 "description": "configure push notifications with apn for chat"
135 },
136 "chat:push:firebase": {
137 "description": "configure push notifications with firebase for chat"
138 },
139 "chat:push:webhook": {
140 "description": "configure push notifications with webhooks for chat"
141 },
142 "chat:channel": {
143 "description": "get and manage configurations for a channel"
144 },
145 "chat:channel:get": {
146 "description": "get details from a specific channel"
147 },
148 "chat:channel:update": {
149 "description": "update a configuration for a channel"
150 },
151 "chat:channel:create": {
152 "description": "create a new channel"
153 },
154 "chat:channel:list": {
155 "description": "get all channels"
156 },
157 "chat:channel:query": {
158 "description": "query all channels"
159 },
160 "chat:log": {
161 "description": "log events from a channel"
162 },
163 "chat:message": {
164 "description": "send and remove messages from a channel"
165 },
166 "chat:message:remove": {
167 "description": "remove a chat message"
168 },
169 "chat:message:create": {
170 "description": "create a new message with or without attachments"
171 },
172 "chat:message:update": {
173 "description": "update a chat message"
174 },
175 "chat:message:list": {
176 "description": "list messages for a specific channel"
177 },
178 "chat:message:flag": {
179 "description": "flag a chat message"
180 },
181 "chat:user": {
182 "description": "manage users within channels"
183 },
184 "chat:user:create": {
185 "description": "create a new user within a channel"
186 },
187 "chat:user:remove": {
188 "description": "remove a user from a channel"
189 },
190 "chat:user:ban": {
191 "description": "ban a user temporarily or based on a per minute timeout"
192 },
193 "chat:user:flag": {
194 "description": "flag a user for innapropriate comments or content"
195 },
196 "chat:user:mute": {
197 "description": "silence a user within a channel"
198 },
199 "chat:user:set": {
200 "description": "specify the current user for a channel"
201 }
202 }
203 }
204}