├── .gitignore ├── .npmignore ├── LoggingModules ├── commandListLogging.js └── hexCodes.json ├── README.md ├── Scripts └── termux-install.sh ├── andronix-command-cli.iml ├── app.js ├── commands.js ├── firebaseConf.json ├── package-lock.json └── package.json /.gitignore: -------------------------------------------------------------------------------- 1 | # Created by .ignore support plugin (hsz.mobi) 2 | ### Node template 3 | # Logs 4 | logs 5 | *.log 6 | npm-debug.log* 7 | yarn-debug.log* 8 | yarn-error.log* 9 | lerna-debug.log* 10 | 11 | # Diagnostic reports (https://nodejs.org/api/report.html) 12 | report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json 13 | 14 | # Runtime data 15 | pids 16 | *.pid 17 | *.seed 18 | *.pid.lock 19 | 20 | # Directory for instrumented libs generated by jscoverage/JSCover 21 | lib-cov 22 | 23 | # Coverage directory used by tools like istanbul 24 | coverage 25 | *.lcov 26 | 27 | # nyc test coverage 28 | .nyc_output 29 | 30 | # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) 31 | .grunt 32 | 33 | # Bower dependency directory (https://bower.io/) 34 | bower_components 35 | 36 | # node-waf configuration 37 | .lock-wscript 38 | 39 | # Compiled binary addons (https://nodejs.org/api/addons.html) 40 | build/Release 41 | 42 | # Dependency directories 43 | node_modules/ 44 | jspm_packages/ 45 | 46 | # Snowpack dependency directory (https://snowpack.dev/) 47 | web_modules/ 48 | 49 | # TypeScript cache 50 | *.tsbuildinfo 51 | 52 | # Optional npm cache directory 53 | .npm 54 | 55 | # Optional eslint cache 56 | .eslintcache 57 | 58 | # Microbundle cache 59 | .rpt2_cache/ 60 | .rts2_cache_cjs/ 61 | .rts2_cache_es/ 62 | .rts2_cache_umd/ 63 | 64 | # Optional REPL history 65 | .node_repl_history 66 | 67 | # Output of 'npm pack' 68 | *.tgz 69 | 70 | # Yarn Integrity file 71 | .yarn-integrity 72 | 73 | # dotenv environment variables file 74 | .env 75 | .env.test 76 | 77 | # parcel-bundler cache (https://parceljs.org/) 78 | .cache 79 | .parcel-cache 80 | 81 | # Next.js build output 82 | .next 83 | 84 | # Nuxt.js build / generate output 85 | .nuxt 86 | dist 87 | 88 | # Gatsby files 89 | .cache/ 90 | # Comment in the public line in if your project uses Gatsby and not Next.js 91 | # https://nextjs.org/blog/next-9-1#public-directory-support 92 | # public 93 | 94 | # vuepress build output 95 | .vuepress/dist 96 | 97 | # Serverless directories 98 | .serverless/ 99 | 100 | # FuseBox cache 101 | .fusebox/ 102 | 103 | # DynamoDB Local files 104 | .dynamodb/ 105 | 106 | # TernJS port file 107 | .tern-port 108 | 109 | # Stores VSCode versions used for testing VSCode extensions 110 | .vscode-test 111 | 112 | # yarn v2 113 | 114 | .yarn/cache 115 | .yarn/unplugged 116 | .yarn/build-state.yml 117 | .pnp.* 118 | /.idea/ 119 | 120 | .idea/.gitignore 121 | .idea/dictionaries/ 122 | .idea/inspectionProfiles/ 123 | .idea/jsLibraryMappings.xml 124 | .idea/misc.xml 125 | .idea/modules.xml 126 | 127 | JsonModules/ 128 | conf/ 129 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | # Created by .ignore support plugin (hsz.mobi) 2 | ### Node template 3 | # Logs 4 | logs 5 | *.log 6 | npm-debug.log* 7 | yarn-debug.log* 8 | yarn-error.log* 9 | lerna-debug.log* 10 | 11 | # Diagnostic reports (https://nodejs.org/api/report.html) 12 | report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json 13 | 14 | # Runtime data 15 | pids 16 | *.pid 17 | *.seed 18 | *.pid.lock 19 | 20 | # Directory for instrumented libs generated by jscoverage/JSCover 21 | lib-cov 22 | 23 | # Coverage directory used by tools like istanbul 24 | coverage 25 | *.lcov 26 | 27 | # nyc test coverage 28 | .nyc_output 29 | 30 | # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) 31 | .grunt 32 | 33 | # Bower dependency directory (https://bower.io/) 34 | bower_components 35 | 36 | # node-waf configuration 37 | .lock-wscript 38 | 39 | # Compiled binary addons (https://nodejs.org/api/addons.html) 40 | build/Release 41 | 42 | # Dependency directories 43 | node_modules/ 44 | jspm_packages/ 45 | 46 | # Snowpack dependency directory (https://snowpack.dev/) 47 | web_modules/ 48 | 49 | # TypeScript cache 50 | *.tsbuildinfo 51 | 52 | # Optional npm cache directory 53 | .npm 54 | 55 | # Optional eslint cache 56 | .eslintcache 57 | 58 | # Microbundle cache 59 | .rpt2_cache/ 60 | .rts2_cache_cjs/ 61 | .rts2_cache_es/ 62 | .rts2_cache_umd/ 63 | 64 | # Optional REPL history 65 | .node_repl_history 66 | 67 | # Output of 'npm pack' 68 | *.tgz 69 | 70 | # Yarn Integrity file 71 | .yarn-integrity 72 | 73 | # dotenv environment variables file 74 | .env 75 | .env.test 76 | 77 | # parcel-bundler cache (https://parceljs.org/) 78 | .cache 79 | .parcel-cache 80 | 81 | # Next.js build output 82 | .next 83 | 84 | # Nuxt.js build / generate output 85 | .nuxt 86 | dist 87 | 88 | # Gatsby files 89 | .cache/ 90 | # Comment in the public line in if your project uses Gatsby and not Next.js 91 | # https://nextjs.org/blog/next-9-1#public-directory-support 92 | # public 93 | 94 | # vuepress build output 95 | .vuepress/dist 96 | 97 | # Serverless directories 98 | .serverless/ 99 | 100 | # FuseBox cache 101 | .fusebox/ 102 | 103 | # DynamoDB Local files 104 | .dynamodb/ 105 | 106 | # TernJS port file 107 | .tern-port 108 | 109 | # Stores VSCode versions used for testing VSCode extensions 110 | .vscode-test 111 | 112 | # yarn v2 113 | 114 | .yarn/cache 115 | .yarn/unplugged 116 | .yarn/build-state.yml 117 | .pnp.* 118 | 119 | /Scripts 120 | /conf/ 121 | 122 | -------------------------------------------------------------------------------- /LoggingModules/commandListLogging.js: -------------------------------------------------------------------------------- 1 | const chalk = require('chalk'); 2 | 3 | 4 | function isHex(color) { 5 | return color.startsWith("#") && color.length === 7 6 | } 7 | 8 | const styleCommandLog = (commandObj, isFirst, isLast) => { 9 | let command = commandObj.com.trim() 10 | let description = commandObj.dis.trim() 11 | let color = commandObj.color.trim() 12 | let id = commandObj.id.trim() 13 | if (isHex(color)) { 14 | console.log("") 15 | if (isFirst) { 16 | console.log("___________________________________________") 17 | console.log("") 18 | } 19 | console.log('Command- ' + chalk.hex(color).bold(command)) 20 | console.log('Description- ' + chalk.hex(color)(description)) 21 | console.log('ID- ' + chalk.white(id)) 22 | console.log("___________________________________________") 23 | } else { 24 | styleErrorLog({error: "Hex Invalid"}) 25 | } 26 | 27 | } 28 | 29 | const styleErrorLog = (errorObj) => { 30 | console.log(chalk.red.bold(errorObj.error)) 31 | } 32 | 33 | 34 | module.exports = { 35 | styleErrorLog, styleCommandLog 36 | } -------------------------------------------------------------------------------- /LoggingModules/hexCodes.json: -------------------------------------------------------------------------------- 1 | { 2 | "blue": "#299AD4", 3 | "violet": "#740CEB", 4 | "black": "#1E1E1E", 5 | "green": "#2DEE0F", 6 | "red": "#EE0F0F", 7 | "orange": "#FF8B25" 8 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

2 | 3 |

4 | 5 |

6 | 7 | 8 | 9 | 10 | 11 | 12 |

Andronix Commands | CLI 🔥

13 | 14 | Andronix Commands CLI makes it easy for you to access Andronix Commands on your machines, be it **Linux, Windows, Mac, Termux or even a remote machine you're SSHing into**. It's easy to install and realtime. 15 | 16 | ## Installation 17 | Since this CLI is made with NodeJS, you will need NodeJS and NPM installed on your machine. 18 | 19 | ### Termux 20 | If you're on Termux, just copy and paste the command given below. This will install everything you need including Andronix Command CLI itself. 21 | 22 | ``` 23 | pkg install -y curl && curl https://raw.githubusercontent.com/AndronixApp/andronix-command-cli/master/Scripts/termux-install.sh > install_andronix_cli.sh && chmod +x install_andronix_cli.sh && bash install_andronix_cli.sh 24 | ``` 25 | 26 | ### Windows or Mac 27 | 28 | #### 1. Install NodeJS 29 | 1. **Windows** - You can follow this [tutorial written by NodeSource](https://nodesource.com/blog/installing-nodejs-tutorial-windows/) 30 | 2. **Linux or Mac** - You can use either [Node Version Manager (NVM)](https://github.com/nvm-sh/nvm#installing-and-updating) or use your default package manager (*Remember that this app needs NodeJS version greater than 6*) 31 | 32 | #### 2. Install Andronix Command CLI 33 | After you've installed NodeJS and verified that both Node and NPM are properly working, just run the command below. 34 | ``` 35 | npm i -g andronix-command-cli 36 | ``` 37 | #### 3. Verification 38 | After the package has been installed (if there was no error during the installation), you can verify the installation by running 39 | ``` 40 | acommands hello 41 | ``` 42 | This should print out the following line- 43 | `Hello! Andronix Commands seems to be working okay.` 44 | 45 | **Note** - If you get some error or something other than this, just uninstall and reinstall the package with 46 | ``` 47 | npm remove -g andronix-command-cli && npm i -g andronix-command-cli 48 | ``` 49 | 50 | ## Get Started 51 | Now that you've installed everything, our next step this to login into Andronix. 52 | 53 | #### Login- 54 | In order to access anything, you need to login into your Andronix Premium account. To login just enter the following command in your terminal 55 | ``` 56 | acommands login 57 | ``` 58 | This will open up https://cli-login.andronix.app, login there with your Premium account and click the copy button to **copy a token**. Paste that token back in the CLI app and press enter. 59 | You should see login confirmation with your email. If not please follow 60 | ``` 61 | npm remove -g andronix-command-cli && npm i -g andronix-command-cli 62 | ``` 63 | #### Usage - 64 | After getting logged in the app, you're good to go. To get a quick reference about all the commands you can use with the CLI type, 65 | ``` 66 | acommands 67 | ``` 68 | 69 | #### List Commands - 70 | You can list all the commands that you've uploaded to Andronix Commands or filter based on a colour. Use 71 | ``` 72 | acommands list 73 | ``` 74 | or filter based on a colour with, 75 | ``` 76 | acommands list -c blue 77 | ``` 78 | 79 | > **The CLI is supposed to show the exact hex colours as you see in the Andronix app or web app but if your terminal doesn't support colours or supports very limited colours, the accuracy of the colours will take a hit.** 80 | 81 | You can use one out of these colours **[blue, black, red, green, orange, violet]** 82 | 83 | To view all the available options, run, 84 | ``` 85 | acommands list --help 86 | ``` 87 | #### Add Commands 88 | Adding commands is quite simple, just run 89 | ``` 90 | acommands add 91 | ``` 92 | and the app will ask you the command, a description and a colour to choose. Just complete the quick form and the command should be uploaded with a confirmation containing the ID of the command. 93 | 94 | #### Remove a command 95 | You can remove a command by running, 96 | ``` 97 | acommands remove 98 | ``` 99 | and then entering the ID of the command. 100 | You will see the ID of every command when you list then like this, 101 | ``` 102 | Command- gjj gg 103 | Description- gxgoxu00 104 | ID- y9YE7JZPkFITpw4NXlPU 105 | ``` 106 | The command should be deleted with a confirming message following it. 107 | 108 | #### Logout - 109 | You can logout of your current account by running, 110 | ``` 111 | acommaands logout 112 | ``` 113 | #### User Info - 114 | Get the email of your current logged in user by running, 115 | ``` 116 | acommands info 117 | ``` 118 | #### Help - 119 | You can get all this info by just running, 120 | ``` 121 | acommands 122 | ``` 123 | or 124 | ``` 125 | acommands help 126 | ``` 127 | If you want to get a more in depth info on a single command, use 128 | ``` 129 | acommands help 130 | ``` 131 | -------------------------------------------------------------------------------- /Scripts/termux-install.sh: -------------------------------------------------------------------------------- 1 | echo "Please wait while we install Andronix Commands CLI" 2 | echo "Installing Node JS..." 3 | pkg install nodejs 4 | echo "Installing Andronix Commands CLI" 5 | npm i -g andronix-command-cli 6 | acommands hello 7 | -------------------------------------------------------------------------------- /andronix-command-cli.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /app.js: -------------------------------------------------------------------------------- 1 | const firebase = require('firebase') 2 | const firebaseConfig = require('./firebaseConf.json') 3 | // Initialize Firebase 4 | firebase.initializeApp(firebaseConfig); 5 | const firestore = firebase.firestore() 6 | const auth = firebase.auth() 7 | const chalk = require('chalk'); 8 | const fs = require('fs'); 9 | let allColors = "blue, black, red, green, orange, violet" 10 | const open = require('open'); 11 | const axios = require('axios'); 12 | const {prompt} = require('inquirer') 13 | const {styleCommandLog, styleErrorLog} = require('./LoggingModules/commandListLogging') 14 | const userJsonFilePath = "./conf/user.json" 15 | const configJsonFilePath = "./conf/config.json" 16 | const hexCodes = require('./LoggingModules/hexCodes.json'); 17 | 18 | 19 | const getUserInfo = () => { 20 | 21 | try { 22 | signInIfUserExists().then(r => { 23 | successLog(chalk.green(`User Email -> ${auth.currentUser.email}`)) 24 | stop() 25 | }).catch(e => { 26 | errorLog(e) 27 | stop() 28 | }) 29 | 30 | } catch (e) { 31 | errorLog("Please login in before adding commands with 'acommands login'.") 32 | } 33 | 34 | } 35 | 36 | const logout = (forced) => { 37 | auth.signOut().then(() => { 38 | if (!forced) 39 | successLog("Logged out!") 40 | else 41 | errorLog("Login has expired. Please login again with 'acommands login' to continue.") 42 | //deleting the user record 43 | try { 44 | fs.unlinkSync(userJsonFilePath) 45 | stop() 46 | //file removed 47 | } catch (err) { 48 | console.error(err) 49 | } 50 | }).catch(e => { 51 | errorLog("Error logging out :(") 52 | }) 53 | } 54 | 55 | 56 | const signInIfUserExists = function (isVerbose) { 57 | return new Promise((resolve, reject) => { 58 | 59 | if (fs.existsSync(userJsonFilePath)) { 60 | fs.readFile(userJsonFilePath, (err, userDataString) => { 61 | if (err) { 62 | reject("No logged in user detected. Please use 'acommands login' to login into your andronix account.") 63 | console.error(err) 64 | } 65 | const userData = JSON.parse(userDataString.toString()) 66 | const user = new firebase.User(userData, userData.stsTokenManager, userData) 67 | firebase.auth().updateCurrentUser(user).then(r => { 68 | if (isVerbose) { 69 | resolve("User Logged in with " + user.email) 70 | } else { 71 | resolve("") 72 | } 73 | }).catch(e => { 74 | errorLog(e) 75 | reject("Login failed") 76 | }) 77 | }) 78 | } else { 79 | reject("No logged in user detected. Please use 'acommands login' to login into your andronix account.") 80 | } 81 | }) 82 | } 83 | 84 | const getCommands = (color) => { 85 | let uid = auth.currentUser.uid 86 | if (!color) { 87 | //fetch all the commands 88 | firestore.collection("users").doc(uid).collection("commands").orderBy("com").get().then(function (querySnapshot) { 89 | let counter = 0 90 | if (querySnapshot.size === 0) { 91 | errorLog("No commands found.") 92 | stop() 93 | } 94 | querySnapshot.forEach(function (doc) { 95 | let commandData = Object.assign(doc.data(), {id: doc.id}) 96 | if (counter === 0) { 97 | styleCommandLog(commandData, true) 98 | ++counter 99 | } else 100 | styleCommandLog(commandData, false) 101 | }) 102 | stop() 103 | }) 104 | .catch(function (error) { 105 | errorLog("Error getting commands."); 106 | }); 107 | } else { 108 | let hex = hexCodes[color.toString().toLowerCase()] 109 | if (hex) { 110 | firestore.collection("users") 111 | .doc(uid) 112 | .collection("commands") 113 | .orderBy("com") 114 | .where("color", "==", hex).get().then(function (querySnapshot) { 115 | let counter = 0 116 | if (querySnapshot.size === 0) { 117 | errorLog("No commands found.") 118 | stop() 119 | } 120 | querySnapshot.forEach(function (doc) { 121 | let commandData = Object.assign(doc.data(), {id: doc.id}) 122 | if (counter === 0) { 123 | styleCommandLog(commandData, true) 124 | ++counter 125 | } else 126 | styleCommandLog(commandData, false) 127 | }) 128 | stop() 129 | }) 130 | .catch(function (error) { 131 | errorLog("Error getting documents: ", error); 132 | stop() 133 | }); 134 | } else { 135 | //wrong color flag 136 | errorLog(`Please pass the correct color i.e from ${allColors}`) 137 | stop() 138 | } 139 | } 140 | 141 | } 142 | 143 | const addCommands = async (commandObj) => { 144 | try { 145 | let isLoginValid = await checkIfLoginValid() 146 | if (isLoginValid) { 147 | let uid = auth.currentUser.uid 148 | if (isObjFilled(commandObj)) { 149 | try { 150 | let docReference = await firestore.collection("users").doc(uid).collection("commands").add({ 151 | com: commandObj.command.toString(), 152 | dis: commandObj.description.toString(), 153 | color: hexCodes[(commandObj.color).toString().toLowerCase()] 154 | }) 155 | successLog(`Command Added ${docReference.id}`) 156 | stop() 157 | } catch (e) { 158 | errorLog("Error adding command!") 159 | } 160 | } else { 161 | errorLog("Please provide all the values i.e a command, a description and a color of your choice.") 162 | stop() 163 | } 164 | } 165 | } catch (e) { 166 | errorLog(e) 167 | } 168 | } 169 | const login = async () => { 170 | runAll() 171 | try { 172 | processingLog("Opening the browser to login. If you can't use a browser on this device, please visit" + 173 | " https://cli-login.andronix.app manually.") 174 | setTimeout(openBrowser, 3000) 175 | 176 | async function openBrowser() { 177 | await open('https://cli-login.andronix.app/'); 178 | // ask the user for the token now 179 | let tokenQuestion = [{ 180 | type: 'input', 181 | message: 'Please enter the token here.', 182 | name: 'token' 183 | }] 184 | prompt(tokenQuestion).then(tokenObj => { 185 | const token = tokenObj.token 186 | loginUser(token) 187 | }) 188 | } 189 | } catch (e) { 190 | errorLog("Logging while logging in the user.") 191 | } 192 | } 193 | 194 | async function checkDirectory() { 195 | let mkdirp = require('mkdirp'); 196 | return new Promise((resolve, reject) => { 197 | let configDirectory = "./conf" 198 | try { 199 | if (fs.existsSync(configDirectory)) { 200 | resolve(true) 201 | } else { 202 | mkdirp(configDirectory).then(r => { 203 | resolve(true) 204 | }).catch(e => { 205 | console.error(e) 206 | reject(false) 207 | }) 208 | } 209 | } catch (err) { 210 | console.error(err) 211 | reject(false) 212 | } 213 | }) 214 | } 215 | 216 | async function loginUser(token) { 217 | let tokenPassed = token.toString() 218 | if (!tokenPassed) { 219 | errorLog("Token not detected. Please enter the token and then press enter.") 220 | } else { 221 | try { 222 | let res = await axios.get("https://us-central1-andronix-techriz.cloudfunctions.net/authTokenFetch", { 223 | params: { 224 | token: tokenPassed, 225 | } 226 | }) 227 | let token = res.data.token 228 | auth.signInWithCustomToken(token).then(async user => { 229 | const userJson = JSON.stringify(auth.currentUser.toJSON()) 230 | try { 231 | await checkDirectory() 232 | fs.writeFileSync(userJsonFilePath, userJson) 233 | successLog("User logged in") 234 | successLog(`Welcome ${auth.currentUser.email}`) 235 | let currentTime = new Date().valueOf().toString() 236 | await writeToConfig("loginTime", currentTime) 237 | stop() 238 | } catch (e) { 239 | errorLog(`Error logging in the user. ${e}`) 240 | stop() 241 | } 242 | }).catch(e => { 243 | errorLog(`Error logging in the user. ${e}`) 244 | stop() 245 | }) 246 | } catch (e) { 247 | errorLog(`Error logging in the user. ${e}`) 248 | stop() 249 | } 250 | } 251 | } 252 | 253 | const removeCommands = async (id) => { 254 | let uid = auth.currentUser.uid 255 | if (isFilled(id)) { 256 | await firestore.collection("users").doc(uid).collection("commands").doc(id.docID).delete().then(r => { 257 | successLog(`Command Deleted`) 258 | stop() 259 | }).catch(e => { 260 | errorLog("Something went wrong or incorrect command ID.") 261 | stop() 262 | }) 263 | } else { 264 | errorLog("Please supply the ID of the command you want to delete.") 265 | stop() 266 | } 267 | } 268 | 269 | function isFilled(string) { 270 | return string.length !== 0 || string 271 | } 272 | 273 | function isObjFilled(object) { 274 | let temp = true 275 | for (let element in object) { 276 | if (object.hasOwnProperty(element)) { 277 | let val = object[element]; 278 | if (!val || val.toString().length === 0) 279 | temp = false 280 | } 281 | } 282 | return temp 283 | 284 | } 285 | 286 | const checkIfLoginValid = async function checkIfLoginValid() { 287 | return new Promise(async (resolve, reject) => { 288 | fs.readFile(configJsonFilePath, async (err, data) => { 289 | if (err) { 290 | errorLog("Error reading the login config.") 291 | reject(false) 292 | } 293 | let dataFromFile = JSON.parse(data.toString()); 294 | let loginTime = dataFromFile.loginTime; 295 | let currentTime = new Date().valueOf() 296 | //4 days 297 | if (currentTime - loginTime >= 345600000) { 298 | logout(true) 299 | reject(false) 300 | } else { 301 | resolve(true) 302 | } 303 | }); 304 | } 305 | ) 306 | } 307 | 308 | async function writeToConfig(key, value) { 309 | let dataToWrite = JSON.stringify({[key]: value}) 310 | try { 311 | await checkDirectory() 312 | fs.writeFileSync(configJsonFilePath, dataToWrite); 313 | } catch (e) { 314 | errorLog(e) 315 | } 316 | } 317 | 318 | const errorLog = function errorLog(e) { 319 | console.log(chalk.red(e)) 320 | 321 | } 322 | 323 | const successLog = function successLog(s) { 324 | console.log(chalk.green(s)) 325 | } 326 | 327 | const processingLog = function processingLog(l) { 328 | console.log(chalk.yellow(l)) 329 | } 330 | 331 | function updateNotifier() { 332 | const updateNotifier = require('update-notifier'); 333 | const pkg = require('./package.json'); 334 | updateNotifier({pkg}).notify(); 335 | } 336 | 337 | function runAll() { 338 | updateNotifier() 339 | } 340 | 341 | 342 | function stop() { 343 | process.exit(-1); 344 | process.exit(-1); 345 | } 346 | 347 | module.exports = { 348 | addCommands, 349 | getCommands, 350 | removeCommands, 351 | login, 352 | getUserInfo, 353 | logout, 354 | signInIfUserExists, 355 | errorLog, 356 | successLog, 357 | processingLog, 358 | checkIfLoginValid 359 | } -------------------------------------------------------------------------------- /commands.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | const program = require('commander') 4 | const {prompt} = require('inquirer') 5 | const packageJson = require('./package.json'); 6 | 7 | let allColors = "blue, black, red, green, orange, violet" 8 | 9 | const { 10 | getCommands, 11 | addCommands, 12 | removeCommands, 13 | logout, 14 | signInIfUserExists, 15 | getUserInfo, 16 | successLog, 17 | errorLog, 18 | processingLog, 19 | login, 20 | checkIfLoginValid 21 | } = require('./app') 22 | 23 | const questions = [ 24 | { 25 | type: 'input', 26 | name: "command", 27 | message: "Enter the command..." 28 | }, 29 | { 30 | type: 'input', 31 | name: "description", 32 | message: "Enter what does this command do..." 33 | }, 34 | { 35 | type: 'list', 36 | name: "color", 37 | message: "What color you want your command to be associated with...", 38 | choices: ['Blue', 'Red', 'Green', 'Black', 'Violet', 'Orange'], 39 | } 40 | ] 41 | const removeQuestion = { 42 | name: 'docID', 43 | type: 'input', 44 | message: 'Please enter the ID of the command you want to delete.', 45 | } 46 | 47 | program 48 | .command('login') 49 | .description('Login into your Andronix account.') 50 | .action(() => login()) 51 | program 52 | .command('logout') 53 | .description('Logout of your Andronix account.') 54 | .action(() => logout()) 55 | program 56 | .command('info') 57 | .description('Get some basic info about the current signed in user.') 58 | .action(() => getUserInfo()) 59 | program 60 | .command('hello') 61 | .description('Nothing fancy...Just a sweet little hello! 🖐') 62 | .action(async () => { 63 | processingLog("Hello! Andronix Commands seems to be working okay.") 64 | }) 65 | 66 | program 67 | .version(packageJson.version) 68 | .description('Andronix Commands CLI') 69 | 70 | program 71 | .command('remove') 72 | .alias('r') 73 | .description("Remove a command") 74 | .action(async () => { 75 | try { 76 | await signInIfUserExists() 77 | let isLoginValid = await checkIfLoginValid() 78 | if (isLoginValid) 79 | prompt(removeQuestion).then(docID => removeCommands(docID)) 80 | } catch (e) { 81 | errorLog("Please login in before listing commands with 'acommands login'.") 82 | } 83 | }) 84 | 85 | program 86 | .command('list') 87 | .alias('l') 88 | .option('-c, --color [value]', `Filter with colors | ${allColors}`) 89 | .description(`Get all the commands or filter with -c [${allColors}]`) 90 | .action(async (args) => { 91 | try { 92 | await signInIfUserExists() 93 | let isLoginValid = await checkIfLoginValid() 94 | if (isLoginValid) 95 | getCommands(args.color) 96 | } catch (e) { 97 | errorLog("Please login in before listing commands with 'acommands login'.") 98 | } 99 | }) 100 | 101 | 102 | program 103 | .command('add') 104 | .alias('a') 105 | .description('Add commands') 106 | .action(async () => { 107 | try { 108 | await signInIfUserExists() 109 | let isLoginValid = await checkIfLoginValid() 110 | if (isLoginValid) 111 | prompt(questions).then(answers => addCommands(answers)) 112 | } catch (e) { 113 | errorLog("Please login in before listing commands with 'acommands login'.") 114 | } 115 | }) 116 | 117 | 118 | program.parse(process.argv) 119 | 120 | let NO_COMMAND_SPECIFIED = program.args.length === 0; 121 | 122 | // Handle it however you like 123 | if (NO_COMMAND_SPECIFIED) { 124 | // e.g. display usage 125 | program.help(); 126 | } 127 | -------------------------------------------------------------------------------- /firebaseConf.json: -------------------------------------------------------------------------------- 1 | { 2 | "apiKey": "AIzaSyB_VelAX2Fwtz2YE3tQUdkOUvvTP3aPpCw", 3 | "authDomain": "andronix-techriz.firebaseapp.com", 4 | "databaseURL": "https://andronix-techriz.firebaseio.com", 5 | "projectId": "andronix-techriz", 6 | "storageBucket": "andronix-techriz.appspot.com", 7 | "messagingSenderId": "83697300023", 8 | "appId": "1:83697300023:web:258d65414f41837f9a45b2", 9 | "measurementId": "G-XVNNGL5GZ6" 10 | } -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "andronix-command-cli", 3 | "version": "1.0.6", 4 | "lockfileVersion": 1, 5 | "requires": true, 6 | "dependencies": { 7 | "@firebase/analytics": { 8 | "version": "0.4.2", 9 | "resolved": "https://registry.npmjs.org/@firebase/analytics/-/analytics-0.4.2.tgz", 10 | "integrity": "sha512-WCoeUAO3lP6ikHJ3/XYptV90fpTidzTS9VpAfiVQK8gl9w1zvvKSavY9U3+EVG3frOPCFdE5DBO4MYrUw4gaqw==", 11 | "requires": { 12 | "@firebase/analytics-types": "0.3.1", 13 | "@firebase/component": "0.1.18", 14 | "@firebase/installations": "0.4.16", 15 | "@firebase/logger": "0.2.6", 16 | "@firebase/util": "0.3.1", 17 | "tslib": "^1.11.1" 18 | } 19 | }, 20 | "@firebase/analytics-types": { 21 | "version": "0.3.1", 22 | "resolved": "https://registry.npmjs.org/@firebase/analytics-types/-/analytics-types-0.3.1.tgz", 23 | "integrity": "sha512-63vVJ5NIBh/JF8l9LuPrQYSzFimk7zYHySQB4Dk9rVdJ8kV/vGQoVTvRu1UW05sEc2Ug5PqtEChtTHU+9hvPcA==" 24 | }, 25 | "@firebase/app": { 26 | "version": "0.6.10", 27 | "resolved": "https://registry.npmjs.org/@firebase/app/-/app-0.6.10.tgz", 28 | "integrity": "sha512-USg/AbgqBERhY0LayrKmmp7pka08WPa7OlFI46kaNW1pA2mUNf/ifTaxhCr2hGg/eWI0zPhpbEvtGQhSJ/QqWg==", 29 | "requires": { 30 | "@firebase/app-types": "0.6.1", 31 | "@firebase/component": "0.1.18", 32 | "@firebase/logger": "0.2.6", 33 | "@firebase/util": "0.3.1", 34 | "dom-storage": "2.1.0", 35 | "tslib": "^1.11.1", 36 | "xmlhttprequest": "1.8.0" 37 | } 38 | }, 39 | "@firebase/app-types": { 40 | "version": "0.6.1", 41 | "resolved": "https://registry.npmjs.org/@firebase/app-types/-/app-types-0.6.1.tgz", 42 | "integrity": "sha512-L/ZnJRAq7F++utfuoTKX4CLBG5YR7tFO3PLzG1/oXXKEezJ0kRL3CMRoueBEmTCzVb/6SIs2Qlaw++uDgi5Xyg==" 43 | }, 44 | "@firebase/auth": { 45 | "version": "0.14.9", 46 | "resolved": "https://registry.npmjs.org/@firebase/auth/-/auth-0.14.9.tgz", 47 | "integrity": "sha512-PxYa2r5qUEdheXTvqROFrMstK8W4uPiP7NVfp+2Bec+AjY5PxZapCx/YFDLkU0D7YBI82H74PtZrzdJZw7TJ4w==", 48 | "requires": { 49 | "@firebase/auth-types": "0.10.1" 50 | } 51 | }, 52 | "@firebase/auth-interop-types": { 53 | "version": "0.1.5", 54 | "resolved": "https://registry.npmjs.org/@firebase/auth-interop-types/-/auth-interop-types-0.1.5.tgz", 55 | "integrity": "sha512-88h74TMQ6wXChPA6h9Q3E1Jg6TkTHep2+k63OWg3s0ozyGVMeY+TTOti7PFPzq5RhszQPQOoCi59es4MaRvgCw==" 56 | }, 57 | "@firebase/auth-types": { 58 | "version": "0.10.1", 59 | "resolved": "https://registry.npmjs.org/@firebase/auth-types/-/auth-types-0.10.1.tgz", 60 | "integrity": "sha512-/+gBHb1O9x/YlG7inXfxff/6X3BPZt4zgBv4kql6HEmdzNQCodIRlEYnI+/da+lN+dha7PjaFH7C7ewMmfV7rw==" 61 | }, 62 | "@firebase/component": { 63 | "version": "0.1.18", 64 | "resolved": "https://registry.npmjs.org/@firebase/component/-/component-0.1.18.tgz", 65 | "integrity": "sha512-c8gd1k/e0sbBTR0xkLIYUN8nVkA0zWxcXGIvdfYtGEsNw6n7kh5HkcxKXOPB8S7bcPpqZkGgBIfvd94IyG2gaQ==", 66 | "requires": { 67 | "@firebase/util": "0.3.1", 68 | "tslib": "^1.11.1" 69 | } 70 | }, 71 | "@firebase/database": { 72 | "version": "0.6.11", 73 | "resolved": "https://registry.npmjs.org/@firebase/database/-/database-0.6.11.tgz", 74 | "integrity": "sha512-QOHhB7+CdjVhEXG9CyX0roA9ARJcEuwbozz0Bix+ULuZqjQ58KUFHMH1apW6EEiUP22d/mYD7dNXsUGshjL9PA==", 75 | "requires": { 76 | "@firebase/auth-interop-types": "0.1.5", 77 | "@firebase/component": "0.1.18", 78 | "@firebase/database-types": "0.5.2", 79 | "@firebase/logger": "0.2.6", 80 | "@firebase/util": "0.3.1", 81 | "faye-websocket": "0.11.3", 82 | "tslib": "^1.11.1" 83 | } 84 | }, 85 | "@firebase/database-types": { 86 | "version": "0.5.2", 87 | "resolved": "https://registry.npmjs.org/@firebase/database-types/-/database-types-0.5.2.tgz", 88 | "integrity": "sha512-ap2WQOS3LKmGuVFKUghFft7RxXTyZTDr0Xd8y2aqmWsbJVjgozi0huL/EUMgTjGFrATAjcf2A7aNs8AKKZ2a8g==", 89 | "requires": { 90 | "@firebase/app-types": "0.6.1" 91 | } 92 | }, 93 | "@firebase/firestore": { 94 | "version": "1.16.5", 95 | "resolved": "https://registry.npmjs.org/@firebase/firestore/-/firestore-1.16.5.tgz", 96 | "integrity": "sha512-GjCL4Ngy46qSdXAg9obXBuIKG2m/7a21dQktqRPaPH9xpHnymq8LxUK7sdUfyY8FBIQp6Si6O61e9fko4FjSMw==", 97 | "requires": { 98 | "@firebase/component": "0.1.18", 99 | "@firebase/firestore-types": "1.12.0", 100 | "@firebase/logger": "0.2.6", 101 | "@firebase/util": "0.3.1", 102 | "@firebase/webchannel-wrapper": "0.3.0", 103 | "@grpc/grpc-js": "^1.0.0", 104 | "@grpc/proto-loader": "^0.5.0", 105 | "node-fetch": "2.6.0", 106 | "tslib": "^1.11.1" 107 | } 108 | }, 109 | "@firebase/firestore-types": { 110 | "version": "1.12.0", 111 | "resolved": "https://registry.npmjs.org/@firebase/firestore-types/-/firestore-types-1.12.0.tgz", 112 | "integrity": "sha512-OqNxVb63wPZdUc7YnpacAW1WNIMSKERSewCRi+unCQ0YI0KNfrDSypyGCyel+S3GdOtKMk9KnvDknaGbnaFX4g==" 113 | }, 114 | "@firebase/functions": { 115 | "version": "0.4.50", 116 | "resolved": "https://registry.npmjs.org/@firebase/functions/-/functions-0.4.50.tgz", 117 | "integrity": "sha512-eBsNrUm/Jfc/xsQXmxQRSkEg6pwHlMd2hice8N90/EeqgwqS/SCvC+O9cJITLlXroAghb9jWDWRvAkDU/TOhpw==", 118 | "requires": { 119 | "@firebase/component": "0.1.18", 120 | "@firebase/functions-types": "0.3.17", 121 | "@firebase/messaging-types": "0.5.0", 122 | "isomorphic-fetch": "2.2.1", 123 | "tslib": "^1.11.1" 124 | } 125 | }, 126 | "@firebase/functions-types": { 127 | "version": "0.3.17", 128 | "resolved": "https://registry.npmjs.org/@firebase/functions-types/-/functions-types-0.3.17.tgz", 129 | "integrity": "sha512-DGR4i3VI55KnYk4IxrIw7+VG7Q3gA65azHnZxo98Il8IvYLr2UTBlSh72dTLlDf25NW51HqvJgYJDKvSaAeyHQ==" 130 | }, 131 | "@firebase/installations": { 132 | "version": "0.4.16", 133 | "resolved": "https://registry.npmjs.org/@firebase/installations/-/installations-0.4.16.tgz", 134 | "integrity": "sha512-gqv3IrBUmPWKpH8wLJ0fZcAH1NEXwQhqjqnK3cQXRcIkEARP430cmIAaj7CcPdgdemHX9HqwJG+So/yBHIYXPA==", 135 | "requires": { 136 | "@firebase/component": "0.1.18", 137 | "@firebase/installations-types": "0.3.4", 138 | "@firebase/util": "0.3.1", 139 | "idb": "3.0.2", 140 | "tslib": "^1.11.1" 141 | } 142 | }, 143 | "@firebase/installations-types": { 144 | "version": "0.3.4", 145 | "resolved": "https://registry.npmjs.org/@firebase/installations-types/-/installations-types-0.3.4.tgz", 146 | "integrity": "sha512-RfePJFovmdIXb6rYwtngyxuEcWnOrzdZd9m7xAW0gRxDIjBT20n3BOhjpmgRWXo/DAxRmS7bRjWAyTHY9cqN7Q==" 147 | }, 148 | "@firebase/logger": { 149 | "version": "0.2.6", 150 | "resolved": "https://registry.npmjs.org/@firebase/logger/-/logger-0.2.6.tgz", 151 | "integrity": "sha512-KIxcUvW/cRGWlzK9Vd2KB864HlUnCfdTH0taHE0sXW5Xl7+W68suaeau1oKNEqmc3l45azkd4NzXTCWZRZdXrw==" 152 | }, 153 | "@firebase/messaging": { 154 | "version": "0.7.0", 155 | "resolved": "https://registry.npmjs.org/@firebase/messaging/-/messaging-0.7.0.tgz", 156 | "integrity": "sha512-PTD5pQw9QremOjiWWZYOkzcX6OKByMvlG+NQXdTnyL3kLbE01Bdp9iWhkH6ipNpHYMiwcK1RZD4TLkYVBviBsw==", 157 | "requires": { 158 | "@firebase/component": "0.1.18", 159 | "@firebase/installations": "0.4.16", 160 | "@firebase/messaging-types": "0.5.0", 161 | "@firebase/util": "0.3.1", 162 | "idb": "3.0.2", 163 | "tslib": "^1.11.1" 164 | } 165 | }, 166 | "@firebase/messaging-types": { 167 | "version": "0.5.0", 168 | "resolved": "https://registry.npmjs.org/@firebase/messaging-types/-/messaging-types-0.5.0.tgz", 169 | "integrity": "sha512-QaaBswrU6umJYb/ZYvjR5JDSslCGOH6D9P136PhabFAHLTR4TWjsaACvbBXuvwrfCXu10DtcjMxqfhdNIB1Xfg==" 170 | }, 171 | "@firebase/performance": { 172 | "version": "0.4.0", 173 | "resolved": "https://registry.npmjs.org/@firebase/performance/-/performance-0.4.0.tgz", 174 | "integrity": "sha512-LZG89G2wAjTRsIcuewIx152+DyRzQf8UtPCAjifkFiMcAY4GmZZKeIbIC3b4oQDwTgH5i0IKKd4EOv7dLD97gw==", 175 | "requires": { 176 | "@firebase/component": "0.1.18", 177 | "@firebase/installations": "0.4.16", 178 | "@firebase/logger": "0.2.6", 179 | "@firebase/performance-types": "0.0.13", 180 | "@firebase/util": "0.3.1", 181 | "tslib": "^1.11.1" 182 | } 183 | }, 184 | "@firebase/performance-types": { 185 | "version": "0.0.13", 186 | "resolved": "https://registry.npmjs.org/@firebase/performance-types/-/performance-types-0.0.13.tgz", 187 | "integrity": "sha512-6fZfIGjQpwo9S5OzMpPyqgYAUZcFzZxHFqOyNtorDIgNXq33nlldTL/vtaUZA8iT9TT5cJlCrF/jthKU7X21EA==" 188 | }, 189 | "@firebase/polyfill": { 190 | "version": "0.3.36", 191 | "resolved": "https://registry.npmjs.org/@firebase/polyfill/-/polyfill-0.3.36.tgz", 192 | "integrity": "sha512-zMM9oSJgY6cT2jx3Ce9LYqb0eIpDE52meIzd/oe/y70F+v9u1LDqk5kUF5mf16zovGBWMNFmgzlsh6Wj0OsFtg==", 193 | "requires": { 194 | "core-js": "3.6.5", 195 | "promise-polyfill": "8.1.3", 196 | "whatwg-fetch": "2.0.4" 197 | }, 198 | "dependencies": { 199 | "whatwg-fetch": { 200 | "version": "2.0.4", 201 | "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz", 202 | "integrity": "sha512-dcQ1GWpOD/eEQ97k66aiEVpNnapVj90/+R+SXTPYGHpYBBypfKJEQjLrvMZ7YXbKm21gXd4NcuxUTjiv1YtLng==" 203 | } 204 | } 205 | }, 206 | "@firebase/remote-config": { 207 | "version": "0.1.27", 208 | "resolved": "https://registry.npmjs.org/@firebase/remote-config/-/remote-config-0.1.27.tgz", 209 | "integrity": "sha512-BGjmQomRKNf+yGJ/3/5Kw6zNLM5jY9oTVjLmYsQXf6U+HMgz6J2H6EVGc1bZW7YSsvak8f6DomxegQtvfvwaMw==", 210 | "requires": { 211 | "@firebase/component": "0.1.18", 212 | "@firebase/installations": "0.4.16", 213 | "@firebase/logger": "0.2.6", 214 | "@firebase/remote-config-types": "0.1.9", 215 | "@firebase/util": "0.3.1", 216 | "tslib": "^1.11.1" 217 | } 218 | }, 219 | "@firebase/remote-config-types": { 220 | "version": "0.1.9", 221 | "resolved": "https://registry.npmjs.org/@firebase/remote-config-types/-/remote-config-types-0.1.9.tgz", 222 | "integrity": "sha512-G96qnF3RYGbZsTRut7NBX0sxyczxt1uyCgXQuH/eAfUCngxjEGcZQnBdy6mvSdqdJh5mC31rWPO4v9/s7HwtzA==" 223 | }, 224 | "@firebase/storage": { 225 | "version": "0.3.42", 226 | "resolved": "https://registry.npmjs.org/@firebase/storage/-/storage-0.3.42.tgz", 227 | "integrity": "sha512-FqHDWZPhATQeOFBQUZPsQO7xhnGBxprYVDb9eIjCnh1yRl6WAv/OQGHOF+JU5+H+YkjsKTtr/5VjyDl3Y0UHxw==", 228 | "requires": { 229 | "@firebase/component": "0.1.18", 230 | "@firebase/storage-types": "0.3.13", 231 | "@firebase/util": "0.3.1", 232 | "tslib": "^1.11.1" 233 | } 234 | }, 235 | "@firebase/storage-types": { 236 | "version": "0.3.13", 237 | "resolved": "https://registry.npmjs.org/@firebase/storage-types/-/storage-types-0.3.13.tgz", 238 | "integrity": "sha512-pL7b8d5kMNCCL0w9hF7pr16POyKkb3imOW7w0qYrhBnbyJTdVxMWZhb0HxCFyQWC0w3EiIFFmxoz8NTFZDEFog==" 239 | }, 240 | "@firebase/util": { 241 | "version": "0.3.1", 242 | "resolved": "https://registry.npmjs.org/@firebase/util/-/util-0.3.1.tgz", 243 | "integrity": "sha512-zjVd9rfL08dRRdZILFn1RZTHb1euCcnD9N/9P56gdBcm2bvT5XsCC4G6t5toQBpE/H/jYe5h6MZMqfLu3EQLXw==", 244 | "requires": { 245 | "tslib": "^1.11.1" 246 | } 247 | }, 248 | "@firebase/webchannel-wrapper": { 249 | "version": "0.3.0", 250 | "resolved": "https://registry.npmjs.org/@firebase/webchannel-wrapper/-/webchannel-wrapper-0.3.0.tgz", 251 | "integrity": "sha512-VniCGPIgSGNEgOkh5phb3iKmSGIzcwrccy3IomMFRWPCMiCk2y98UQNJEoDs1yIHtZMstVjYWKYxnunIGzC5UQ==" 252 | }, 253 | "@grpc/grpc-js": { 254 | "version": "1.1.5", 255 | "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.1.5.tgz", 256 | "integrity": "sha512-2huf5z85TdZI4nLmJQ9Zdfd+6vmIyBDs7B4L71bTaHKA9pRsGKAH24XaktMk/xneKJIqAgeIZtg1cyivVZtvrg==", 257 | "requires": { 258 | "@grpc/proto-loader": "^0.6.0-pre14", 259 | "@types/node": "^12.12.47", 260 | "google-auth-library": "^6.0.0", 261 | "semver": "^6.2.0" 262 | }, 263 | "dependencies": { 264 | "@grpc/proto-loader": { 265 | "version": "0.6.0-pre9", 266 | "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.6.0-pre9.tgz", 267 | "integrity": "sha512-oM+LjpEjNzW5pNJjt4/hq1HYayNeQT+eGrOPABJnYHv7TyNPDNzkQ76rDYZF86X5swJOa4EujEMzQ9iiTdPgww==", 268 | "requires": { 269 | "@types/long": "^4.0.1", 270 | "lodash.camelcase": "^4.3.0", 271 | "long": "^4.0.0", 272 | "protobufjs": "^6.9.0", 273 | "yargs": "^15.3.1" 274 | } 275 | } 276 | } 277 | }, 278 | "@grpc/proto-loader": { 279 | "version": "0.5.5", 280 | "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.5.5.tgz", 281 | "integrity": "sha512-WwN9jVNdHRQoOBo9FDH7qU+mgfjPc8GygPYms3M+y3fbQLfnCe/Kv/E01t7JRgnrsOHH8euvSbed3mIalXhwqQ==", 282 | "requires": { 283 | "lodash.camelcase": "^4.3.0", 284 | "protobufjs": "^6.8.6" 285 | } 286 | }, 287 | "@protobufjs/aspromise": { 288 | "version": "1.1.2", 289 | "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", 290 | "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=" 291 | }, 292 | "@protobufjs/base64": { 293 | "version": "1.1.2", 294 | "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", 295 | "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" 296 | }, 297 | "@protobufjs/codegen": { 298 | "version": "2.0.4", 299 | "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", 300 | "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" 301 | }, 302 | "@protobufjs/eventemitter": { 303 | "version": "1.1.0", 304 | "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", 305 | "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=" 306 | }, 307 | "@protobufjs/fetch": { 308 | "version": "1.1.0", 309 | "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", 310 | "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", 311 | "requires": { 312 | "@protobufjs/aspromise": "^1.1.1", 313 | "@protobufjs/inquire": "^1.1.0" 314 | } 315 | }, 316 | "@protobufjs/float": { 317 | "version": "1.0.2", 318 | "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", 319 | "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=" 320 | }, 321 | "@protobufjs/inquire": { 322 | "version": "1.1.0", 323 | "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", 324 | "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=" 325 | }, 326 | "@protobufjs/path": { 327 | "version": "1.1.2", 328 | "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", 329 | "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=" 330 | }, 331 | "@protobufjs/pool": { 332 | "version": "1.1.0", 333 | "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", 334 | "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=" 335 | }, 336 | "@protobufjs/utf8": { 337 | "version": "1.1.0", 338 | "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", 339 | "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" 340 | }, 341 | "@sindresorhus/is": { 342 | "version": "0.14.0", 343 | "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz", 344 | "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==" 345 | }, 346 | "@szmarczak/http-timer": { 347 | "version": "1.1.2", 348 | "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz", 349 | "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==", 350 | "requires": { 351 | "defer-to-connect": "^1.0.1" 352 | } 353 | }, 354 | "@types/color-name": { 355 | "version": "1.1.1", 356 | "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz", 357 | "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==" 358 | }, 359 | "@types/long": { 360 | "version": "4.0.1", 361 | "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", 362 | "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" 363 | }, 364 | "@types/node": { 365 | "version": "12.12.54", 366 | "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.54.tgz", 367 | "integrity": "sha512-ge4xZ3vSBornVYlDnk7yZ0gK6ChHf/CHB7Gl1I0Jhah8DDnEQqBzgohYG4FX4p81TNirSETOiSyn+y1r9/IR6w==" 368 | }, 369 | "abort-controller": { 370 | "version": "3.0.0", 371 | "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", 372 | "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", 373 | "requires": { 374 | "event-target-shim": "^5.0.0" 375 | } 376 | }, 377 | "agent-base": { 378 | "version": "6.0.1", 379 | "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.1.tgz", 380 | "integrity": "sha512-01q25QQDwLSsyfhrKbn8yuur+JNw0H+0Y4JiGIKd3z9aYk/w/2kxD/Upc+t2ZBBSUNff50VjPsSW2YxM8QYKVg==", 381 | "requires": { 382 | "debug": "4" 383 | } 384 | }, 385 | "ansi-align": { 386 | "version": "3.0.0", 387 | "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.0.tgz", 388 | "integrity": "sha512-ZpClVKqXN3RGBmKibdfWzqCY4lnjEuoNzU5T0oEFpfd/z5qJHVarukridD4juLO2FXMiwUQxr9WqQtaYa8XRYw==", 389 | "requires": { 390 | "string-width": "^3.0.0" 391 | }, 392 | "dependencies": { 393 | "ansi-regex": { 394 | "version": "4.1.0", 395 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", 396 | "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==" 397 | }, 398 | "emoji-regex": { 399 | "version": "7.0.3", 400 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", 401 | "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==" 402 | }, 403 | "is-fullwidth-code-point": { 404 | "version": "2.0.0", 405 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", 406 | "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" 407 | }, 408 | "string-width": { 409 | "version": "3.1.0", 410 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", 411 | "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", 412 | "requires": { 413 | "emoji-regex": "^7.0.1", 414 | "is-fullwidth-code-point": "^2.0.0", 415 | "strip-ansi": "^5.1.0" 416 | } 417 | }, 418 | "strip-ansi": { 419 | "version": "5.2.0", 420 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", 421 | "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", 422 | "requires": { 423 | "ansi-regex": "^4.1.0" 424 | } 425 | } 426 | } 427 | }, 428 | "ansi-escapes": { 429 | "version": "4.3.1", 430 | "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.1.tgz", 431 | "integrity": "sha512-JWF7ocqNrp8u9oqpgV+wH5ftbt+cfvv+PTjOvKLT3AdYly/LmORARfEVT1iyjwN+4MqE5UmVKoAdIBqeoCHgLA==", 432 | "requires": { 433 | "type-fest": "^0.11.0" 434 | } 435 | }, 436 | "ansi-regex": { 437 | "version": "5.0.0", 438 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", 439 | "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==" 440 | }, 441 | "ansi-styles": { 442 | "version": "4.2.1", 443 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", 444 | "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", 445 | "requires": { 446 | "@types/color-name": "^1.1.1", 447 | "color-convert": "^2.0.1" 448 | } 449 | }, 450 | "arrify": { 451 | "version": "2.0.1", 452 | "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", 453 | "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==" 454 | }, 455 | "axios": { 456 | "version": "0.20.0", 457 | "resolved": "https://registry.npmjs.org/axios/-/axios-0.20.0.tgz", 458 | "integrity": "sha512-ANA4rr2BDcmmAQLOKft2fufrtuvlqR+cXNNinUmvfeSNCOF98PZL+7M/v1zIdGo7OLjEA9J2gXJL+j4zGsl0bA==", 459 | "requires": { 460 | "follow-redirects": "^1.10.0" 461 | } 462 | }, 463 | "base64-js": { 464 | "version": "1.3.1", 465 | "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.1.tgz", 466 | "integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g==" 467 | }, 468 | "bignumber.js": { 469 | "version": "9.0.0", 470 | "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.0.tgz", 471 | "integrity": "sha512-t/OYhhJ2SD+YGBQcjY8GzzDHEk9f3nerxjtfa6tlMXfe7frs/WozhvCNoGvpM0P3bNf3Gq5ZRMlGr5f3r4/N8A==" 472 | }, 473 | "boxen": { 474 | "version": "4.2.0", 475 | "resolved": "https://registry.npmjs.org/boxen/-/boxen-4.2.0.tgz", 476 | "integrity": "sha512-eB4uT9RGzg2odpER62bBwSLvUeGC+WbRjjyyFhGsKnc8wp/m0+hQsMUvUe3H2V0D5vw0nBdO1hCJoZo5mKeuIQ==", 477 | "requires": { 478 | "ansi-align": "^3.0.0", 479 | "camelcase": "^5.3.1", 480 | "chalk": "^3.0.0", 481 | "cli-boxes": "^2.2.0", 482 | "string-width": "^4.1.0", 483 | "term-size": "^2.1.0", 484 | "type-fest": "^0.8.1", 485 | "widest-line": "^3.1.0" 486 | }, 487 | "dependencies": { 488 | "chalk": { 489 | "version": "3.0.0", 490 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", 491 | "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", 492 | "requires": { 493 | "ansi-styles": "^4.1.0", 494 | "supports-color": "^7.1.0" 495 | } 496 | }, 497 | "type-fest": { 498 | "version": "0.8.1", 499 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", 500 | "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==" 501 | } 502 | } 503 | }, 504 | "buffer-equal-constant-time": { 505 | "version": "1.0.1", 506 | "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", 507 | "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=" 508 | }, 509 | "cacheable-request": { 510 | "version": "6.1.0", 511 | "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz", 512 | "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==", 513 | "requires": { 514 | "clone-response": "^1.0.2", 515 | "get-stream": "^5.1.0", 516 | "http-cache-semantics": "^4.0.0", 517 | "keyv": "^3.0.0", 518 | "lowercase-keys": "^2.0.0", 519 | "normalize-url": "^4.1.0", 520 | "responselike": "^1.0.2" 521 | }, 522 | "dependencies": { 523 | "get-stream": { 524 | "version": "5.2.0", 525 | "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", 526 | "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", 527 | "requires": { 528 | "pump": "^3.0.0" 529 | } 530 | }, 531 | "lowercase-keys": { 532 | "version": "2.0.0", 533 | "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", 534 | "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==" 535 | } 536 | } 537 | }, 538 | "camelcase": { 539 | "version": "5.3.1", 540 | "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", 541 | "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==" 542 | }, 543 | "chalk": { 544 | "version": "4.1.0", 545 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", 546 | "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", 547 | "requires": { 548 | "ansi-styles": "^4.1.0", 549 | "supports-color": "^7.1.0" 550 | } 551 | }, 552 | "chardet": { 553 | "version": "0.7.0", 554 | "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", 555 | "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==" 556 | }, 557 | "ci-info": { 558 | "version": "2.0.0", 559 | "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", 560 | "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==" 561 | }, 562 | "cli-boxes": { 563 | "version": "2.2.0", 564 | "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.0.tgz", 565 | "integrity": "sha512-gpaBrMAizVEANOpfZp/EEUixTXDyGt7DFzdK5hU+UbWt/J0lB0w20ncZj59Z9a93xHb9u12zF5BS6i9RKbtg4w==" 566 | }, 567 | "cli-cursor": { 568 | "version": "3.1.0", 569 | "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", 570 | "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", 571 | "requires": { 572 | "restore-cursor": "^3.1.0" 573 | } 574 | }, 575 | "cli-width": { 576 | "version": "3.0.0", 577 | "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", 578 | "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==" 579 | }, 580 | "cliui": { 581 | "version": "6.0.0", 582 | "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", 583 | "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", 584 | "requires": { 585 | "string-width": "^4.2.0", 586 | "strip-ansi": "^6.0.0", 587 | "wrap-ansi": "^6.2.0" 588 | } 589 | }, 590 | "clone-response": { 591 | "version": "1.0.2", 592 | "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz", 593 | "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=", 594 | "requires": { 595 | "mimic-response": "^1.0.0" 596 | } 597 | }, 598 | "color-convert": { 599 | "version": "2.0.1", 600 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 601 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 602 | "requires": { 603 | "color-name": "~1.1.4" 604 | } 605 | }, 606 | "color-name": { 607 | "version": "1.1.4", 608 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 609 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" 610 | }, 611 | "commander": { 612 | "version": "6.0.0", 613 | "resolved": "https://registry.npmjs.org/commander/-/commander-6.0.0.tgz", 614 | "integrity": "sha512-s7EA+hDtTYNhuXkTlhqew4txMZVdszBmKWSPEMxGr8ru8JXR7bLUFIAtPhcSuFdJQ0ILMxnJi8GkQL0yvDy/YA==" 615 | }, 616 | "configstore": { 617 | "version": "5.0.1", 618 | "resolved": "https://registry.npmjs.org/configstore/-/configstore-5.0.1.tgz", 619 | "integrity": "sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA==", 620 | "requires": { 621 | "dot-prop": "^5.2.0", 622 | "graceful-fs": "^4.1.2", 623 | "make-dir": "^3.0.0", 624 | "unique-string": "^2.0.0", 625 | "write-file-atomic": "^3.0.0", 626 | "xdg-basedir": "^4.0.0" 627 | } 628 | }, 629 | "core-js": { 630 | "version": "3.6.5", 631 | "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.6.5.tgz", 632 | "integrity": "sha512-vZVEEwZoIsI+vPEuoF9Iqf5H7/M3eeQqWlQnYa8FSKKePuYTf5MWnxb5SDAzCa60b3JBRS5g9b+Dq7b1y/RCrA==" 633 | }, 634 | "crypto-random-string": { 635 | "version": "2.0.0", 636 | "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz", 637 | "integrity": "sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==" 638 | }, 639 | "debug": { 640 | "version": "4.1.1", 641 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", 642 | "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", 643 | "requires": { 644 | "ms": "^2.1.1" 645 | } 646 | }, 647 | "decamelize": { 648 | "version": "1.2.0", 649 | "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", 650 | "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=" 651 | }, 652 | "decompress-response": { 653 | "version": "3.3.0", 654 | "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz", 655 | "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=", 656 | "requires": { 657 | "mimic-response": "^1.0.0" 658 | } 659 | }, 660 | "deep-extend": { 661 | "version": "0.6.0", 662 | "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", 663 | "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==" 664 | }, 665 | "defer-to-connect": { 666 | "version": "1.1.3", 667 | "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz", 668 | "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==" 669 | }, 670 | "dom-storage": { 671 | "version": "2.1.0", 672 | "resolved": "https://registry.npmjs.org/dom-storage/-/dom-storage-2.1.0.tgz", 673 | "integrity": "sha512-g6RpyWXzl0RR6OTElHKBl7nwnK87GUyZMYC7JWsB/IA73vpqK2K6LT39x4VepLxlSsWBFrPVLnsSR5Jyty0+2Q==" 674 | }, 675 | "dot-prop": { 676 | "version": "5.2.0", 677 | "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.2.0.tgz", 678 | "integrity": "sha512-uEUyaDKoSQ1M4Oq8l45hSE26SnTxL6snNnqvK/VWx5wJhmff5z0FUVJDKDanor/6w3kzE3i7XZOk+7wC0EXr1A==", 679 | "requires": { 680 | "is-obj": "^2.0.0" 681 | } 682 | }, 683 | "duplexer3": { 684 | "version": "0.1.4", 685 | "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz", 686 | "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=" 687 | }, 688 | "ecdsa-sig-formatter": { 689 | "version": "1.0.11", 690 | "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", 691 | "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", 692 | "requires": { 693 | "safe-buffer": "^5.0.1" 694 | } 695 | }, 696 | "emoji-regex": { 697 | "version": "8.0.0", 698 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 699 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" 700 | }, 701 | "encoding": { 702 | "version": "0.1.13", 703 | "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", 704 | "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", 705 | "requires": { 706 | "iconv-lite": "^0.6.2" 707 | }, 708 | "dependencies": { 709 | "iconv-lite": { 710 | "version": "0.6.2", 711 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.2.tgz", 712 | "integrity": "sha512-2y91h5OpQlolefMPmUlivelittSWy0rP+oYVpn6A7GwVHNE8AWzoYOBNmlwks3LobaJxgHCYZAnyNo2GgpNRNQ==", 713 | "requires": { 714 | "safer-buffer": ">= 2.1.2 < 3.0.0" 715 | } 716 | } 717 | } 718 | }, 719 | "end-of-stream": { 720 | "version": "1.4.4", 721 | "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", 722 | "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", 723 | "requires": { 724 | "once": "^1.4.0" 725 | } 726 | }, 727 | "escape-goat": { 728 | "version": "2.1.1", 729 | "resolved": "https://registry.npmjs.org/escape-goat/-/escape-goat-2.1.1.tgz", 730 | "integrity": "sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q==" 731 | }, 732 | "escape-string-regexp": { 733 | "version": "1.0.5", 734 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", 735 | "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" 736 | }, 737 | "event-target-shim": { 738 | "version": "5.0.1", 739 | "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", 740 | "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==" 741 | }, 742 | "extend": { 743 | "version": "3.0.2", 744 | "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", 745 | "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" 746 | }, 747 | "external-editor": { 748 | "version": "3.1.0", 749 | "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", 750 | "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", 751 | "requires": { 752 | "chardet": "^0.7.0", 753 | "iconv-lite": "^0.4.24", 754 | "tmp": "^0.0.33" 755 | } 756 | }, 757 | "fast-text-encoding": { 758 | "version": "1.0.3", 759 | "resolved": "https://registry.npmjs.org/fast-text-encoding/-/fast-text-encoding-1.0.3.tgz", 760 | "integrity": "sha512-dtm4QZH9nZtcDt8qJiOH9fcQd1NAgi+K1O2DbE6GG1PPCK/BWfOH3idCTRQ4ImXRUOyopDEgDEnVEE7Y/2Wrig==" 761 | }, 762 | "faye-websocket": { 763 | "version": "0.11.3", 764 | "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.3.tgz", 765 | "integrity": "sha512-D2y4bovYpzziGgbHYtGCMjlJM36vAl/y+xUyn1C+FVx8szd1E+86KwVw6XvYSzOP8iMpm1X0I4xJD+QtUb36OA==", 766 | "requires": { 767 | "websocket-driver": ">=0.5.1" 768 | } 769 | }, 770 | "figures": { 771 | "version": "3.2.0", 772 | "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", 773 | "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", 774 | "requires": { 775 | "escape-string-regexp": "^1.0.5" 776 | } 777 | }, 778 | "find-up": { 779 | "version": "4.1.0", 780 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", 781 | "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", 782 | "requires": { 783 | "locate-path": "^5.0.0", 784 | "path-exists": "^4.0.0" 785 | } 786 | }, 787 | "firebase": { 788 | "version": "7.19.0", 789 | "resolved": "https://registry.npmjs.org/firebase/-/firebase-7.19.0.tgz", 790 | "integrity": "sha512-gS0nFagMfDLEucgcMD/tCfpLH+crnTurpyMsh6JEvith7GA8cRA4S3T3300xPL6dSZliI7EiGsCNBXBil6sAUw==", 791 | "requires": { 792 | "@firebase/analytics": "0.4.2", 793 | "@firebase/app": "0.6.10", 794 | "@firebase/app-types": "0.6.1", 795 | "@firebase/auth": "0.14.9", 796 | "@firebase/database": "0.6.11", 797 | "@firebase/firestore": "1.16.5", 798 | "@firebase/functions": "0.4.50", 799 | "@firebase/installations": "0.4.16", 800 | "@firebase/messaging": "0.7.0", 801 | "@firebase/performance": "0.4.0", 802 | "@firebase/polyfill": "0.3.36", 803 | "@firebase/remote-config": "0.1.27", 804 | "@firebase/storage": "0.3.42", 805 | "@firebase/util": "0.3.1" 806 | } 807 | }, 808 | "follow-redirects": { 809 | "version": "1.13.0", 810 | "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.13.0.tgz", 811 | "integrity": "sha512-aq6gF1BEKje4a9i9+5jimNFIpq4Q1WiwBToeRK5NvZBd/TRsmW8BsJfOEGkr76TbOyPVD3OVDN910EcUNtRYEA==" 812 | }, 813 | "gaxios": { 814 | "version": "3.1.0", 815 | "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-3.1.0.tgz", 816 | "integrity": "sha512-DDTn3KXVJJigtz+g0J3vhcfbDbKtAroSTxauWsdnP57sM5KZ3d2c/3D9RKFJ86s43hfw6WULg6TXYw/AYiBlpA==", 817 | "requires": { 818 | "abort-controller": "^3.0.0", 819 | "extend": "^3.0.2", 820 | "https-proxy-agent": "^5.0.0", 821 | "is-stream": "^2.0.0", 822 | "node-fetch": "^2.3.0" 823 | } 824 | }, 825 | "gcp-metadata": { 826 | "version": "4.1.4", 827 | "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-4.1.4.tgz", 828 | "integrity": "sha512-5J/GIH0yWt/56R3dNaNWPGQ/zXsZOddYECfJaqxFWgrZ9HC2Kvc5vl9upOgUUHKzURjAVf2N+f6tEJiojqXUuA==", 829 | "requires": { 830 | "gaxios": "^3.0.0", 831 | "json-bigint": "^1.0.0" 832 | } 833 | }, 834 | "get-caller-file": { 835 | "version": "2.0.5", 836 | "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", 837 | "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" 838 | }, 839 | "get-stream": { 840 | "version": "4.1.0", 841 | "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", 842 | "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", 843 | "requires": { 844 | "pump": "^3.0.0" 845 | } 846 | }, 847 | "global-dirs": { 848 | "version": "2.0.1", 849 | "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-2.0.1.tgz", 850 | "integrity": "sha512-5HqUqdhkEovj2Of/ms3IeS/EekcO54ytHRLV4PEY2rhRwrHXLQjeVEES0Lhka0xwNDtGYn58wyC4s5+MHsOO6A==", 851 | "requires": { 852 | "ini": "^1.3.5" 853 | } 854 | }, 855 | "google-auth-library": { 856 | "version": "6.0.6", 857 | "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-6.0.6.tgz", 858 | "integrity": "sha512-fWYdRdg55HSJoRq9k568jJA1lrhg9i2xgfhVIMJbskUmbDpJGHsbv9l41DGhCDXM21F9Kn4kUwdysgxSYBYJUw==", 859 | "requires": { 860 | "arrify": "^2.0.0", 861 | "base64-js": "^1.3.0", 862 | "ecdsa-sig-formatter": "^1.0.11", 863 | "fast-text-encoding": "^1.0.0", 864 | "gaxios": "^3.0.0", 865 | "gcp-metadata": "^4.1.0", 866 | "gtoken": "^5.0.0", 867 | "jws": "^4.0.0", 868 | "lru-cache": "^6.0.0" 869 | } 870 | }, 871 | "google-p12-pem": { 872 | "version": "3.0.2", 873 | "resolved": "https://registry.npmjs.org/google-p12-pem/-/google-p12-pem-3.0.2.tgz", 874 | "integrity": "sha512-tbjzndQvSIHGBLzHnhDs3cL4RBjLbLXc2pYvGH+imGVu5b4RMAttUTdnmW2UH0t11QeBTXZ7wlXPS7hrypO/tg==", 875 | "requires": { 876 | "node-forge": "^0.9.0" 877 | } 878 | }, 879 | "got": { 880 | "version": "9.6.0", 881 | "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz", 882 | "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==", 883 | "requires": { 884 | "@sindresorhus/is": "^0.14.0", 885 | "@szmarczak/http-timer": "^1.1.2", 886 | "cacheable-request": "^6.0.0", 887 | "decompress-response": "^3.3.0", 888 | "duplexer3": "^0.1.4", 889 | "get-stream": "^4.1.0", 890 | "lowercase-keys": "^1.0.1", 891 | "mimic-response": "^1.0.1", 892 | "p-cancelable": "^1.0.0", 893 | "to-readable-stream": "^1.0.0", 894 | "url-parse-lax": "^3.0.0" 895 | } 896 | }, 897 | "graceful-fs": { 898 | "version": "4.2.4", 899 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", 900 | "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==" 901 | }, 902 | "gtoken": { 903 | "version": "5.0.3", 904 | "resolved": "https://registry.npmjs.org/gtoken/-/gtoken-5.0.3.tgz", 905 | "integrity": "sha512-Nyd1wZCMRc2dj/mAD0LlfQLcAO06uKdpKJXvK85SGrF5+5+Bpfil9u/2aw35ltvEHjvl0h5FMKN5knEU+9JrOg==", 906 | "requires": { 907 | "gaxios": "^3.0.0", 908 | "google-p12-pem": "^3.0.0", 909 | "jws": "^4.0.0", 910 | "mime": "^2.2.0" 911 | } 912 | }, 913 | "has-flag": { 914 | "version": "4.0.0", 915 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 916 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" 917 | }, 918 | "has-yarn": { 919 | "version": "2.1.0", 920 | "resolved": "https://registry.npmjs.org/has-yarn/-/has-yarn-2.1.0.tgz", 921 | "integrity": "sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw==" 922 | }, 923 | "http-cache-semantics": { 924 | "version": "4.1.0", 925 | "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", 926 | "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==" 927 | }, 928 | "http-parser-js": { 929 | "version": "0.5.2", 930 | "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.5.2.tgz", 931 | "integrity": "sha512-opCO9ASqg5Wy2FNo7A0sxy71yGbbkJJXLdgMK04Tcypw9jr2MgWbyubb0+WdmDmGnFflO7fRbqbaihh/ENDlRQ==" 932 | }, 933 | "https-proxy-agent": { 934 | "version": "5.0.0", 935 | "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", 936 | "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", 937 | "requires": { 938 | "agent-base": "6", 939 | "debug": "4" 940 | } 941 | }, 942 | "iconv-lite": { 943 | "version": "0.4.24", 944 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", 945 | "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", 946 | "requires": { 947 | "safer-buffer": ">= 2.1.2 < 3" 948 | } 949 | }, 950 | "idb": { 951 | "version": "3.0.2", 952 | "resolved": "https://registry.npmjs.org/idb/-/idb-3.0.2.tgz", 953 | "integrity": "sha512-+FLa/0sTXqyux0o6C+i2lOR0VoS60LU/jzUo5xjfY6+7sEEgy4Gz1O7yFBXvjd7N0NyIGWIRg8DcQSLEG+VSPw==" 954 | }, 955 | "import-lazy": { 956 | "version": "2.1.0", 957 | "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz", 958 | "integrity": "sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM=" 959 | }, 960 | "imurmurhash": { 961 | "version": "0.1.4", 962 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", 963 | "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=" 964 | }, 965 | "ini": { 966 | "version": "1.3.5", 967 | "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", 968 | "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==" 969 | }, 970 | "inquirer": { 971 | "version": "7.3.3", 972 | "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.3.3.tgz", 973 | "integrity": "sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA==", 974 | "requires": { 975 | "ansi-escapes": "^4.2.1", 976 | "chalk": "^4.1.0", 977 | "cli-cursor": "^3.1.0", 978 | "cli-width": "^3.0.0", 979 | "external-editor": "^3.0.3", 980 | "figures": "^3.0.0", 981 | "lodash": "^4.17.19", 982 | "mute-stream": "0.0.8", 983 | "run-async": "^2.4.0", 984 | "rxjs": "^6.6.0", 985 | "string-width": "^4.1.0", 986 | "strip-ansi": "^6.0.0", 987 | "through": "^2.3.6" 988 | } 989 | }, 990 | "is-ci": { 991 | "version": "2.0.0", 992 | "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", 993 | "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", 994 | "requires": { 995 | "ci-info": "^2.0.0" 996 | } 997 | }, 998 | "is-docker": { 999 | "version": "2.1.1", 1000 | "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.1.1.tgz", 1001 | "integrity": "sha512-ZOoqiXfEwtGknTiuDEy8pN2CfE3TxMHprvNer1mXiqwkOT77Rw3YVrUQ52EqAOU3QAWDQ+bQdx7HJzrv7LS2Hw==" 1002 | }, 1003 | "is-fullwidth-code-point": { 1004 | "version": "3.0.0", 1005 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 1006 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" 1007 | }, 1008 | "is-installed-globally": { 1009 | "version": "0.3.2", 1010 | "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.3.2.tgz", 1011 | "integrity": "sha512-wZ8x1js7Ia0kecP/CHM/3ABkAmujX7WPvQk6uu3Fly/Mk44pySulQpnHG46OMjHGXApINnV4QhY3SWnECO2z5g==", 1012 | "requires": { 1013 | "global-dirs": "^2.0.1", 1014 | "is-path-inside": "^3.0.1" 1015 | } 1016 | }, 1017 | "is-npm": { 1018 | "version": "4.0.0", 1019 | "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-4.0.0.tgz", 1020 | "integrity": "sha512-96ECIfh9xtDDlPylNPXhzjsykHsMJZ18ASpaWzQyBr4YRTcVjUvzaHayDAES2oU/3KpljhHUjtSRNiDwi0F0ig==" 1021 | }, 1022 | "is-obj": { 1023 | "version": "2.0.0", 1024 | "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", 1025 | "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==" 1026 | }, 1027 | "is-path-inside": { 1028 | "version": "3.0.2", 1029 | "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.2.tgz", 1030 | "integrity": "sha512-/2UGPSgmtqwo1ktx8NDHjuPwZWmHhO+gj0f93EkhLB5RgW9RZevWYYlIkS6zePc6U2WpOdQYIwHe9YC4DWEBVg==" 1031 | }, 1032 | "is-stream": { 1033 | "version": "2.0.0", 1034 | "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", 1035 | "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==" 1036 | }, 1037 | "is-typedarray": { 1038 | "version": "1.0.0", 1039 | "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", 1040 | "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" 1041 | }, 1042 | "is-wsl": { 1043 | "version": "2.2.0", 1044 | "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", 1045 | "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", 1046 | "requires": { 1047 | "is-docker": "^2.0.0" 1048 | } 1049 | }, 1050 | "is-yarn-global": { 1051 | "version": "0.3.0", 1052 | "resolved": "https://registry.npmjs.org/is-yarn-global/-/is-yarn-global-0.3.0.tgz", 1053 | "integrity": "sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw==" 1054 | }, 1055 | "isomorphic-fetch": { 1056 | "version": "2.2.1", 1057 | "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz", 1058 | "integrity": "sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=", 1059 | "requires": { 1060 | "node-fetch": "^1.0.1", 1061 | "whatwg-fetch": ">=0.10.0" 1062 | }, 1063 | "dependencies": { 1064 | "is-stream": { 1065 | "version": "1.1.0", 1066 | "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", 1067 | "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" 1068 | }, 1069 | "node-fetch": { 1070 | "version": "1.7.3", 1071 | "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", 1072 | "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", 1073 | "requires": { 1074 | "encoding": "^0.1.11", 1075 | "is-stream": "^1.0.1" 1076 | } 1077 | } 1078 | } 1079 | }, 1080 | "json-bigint": { 1081 | "version": "1.0.0", 1082 | "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-1.0.0.tgz", 1083 | "integrity": "sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==", 1084 | "requires": { 1085 | "bignumber.js": "^9.0.0" 1086 | } 1087 | }, 1088 | "json-buffer": { 1089 | "version": "3.0.0", 1090 | "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz", 1091 | "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=" 1092 | }, 1093 | "jwa": { 1094 | "version": "2.0.0", 1095 | "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.0.tgz", 1096 | "integrity": "sha512-jrZ2Qx916EA+fq9cEAeCROWPTfCwi1IVHqT2tapuqLEVVDKFDENFw1oL+MwrTvH6msKxsd1YTDVw6uKEcsrLEA==", 1097 | "requires": { 1098 | "buffer-equal-constant-time": "1.0.1", 1099 | "ecdsa-sig-formatter": "1.0.11", 1100 | "safe-buffer": "^5.0.1" 1101 | } 1102 | }, 1103 | "jws": { 1104 | "version": "4.0.0", 1105 | "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.0.tgz", 1106 | "integrity": "sha512-KDncfTmOZoOMTFG4mBlG0qUIOlc03fmzH+ru6RgYVZhPkyiy/92Owlt/8UEN+a4TXR1FQetfIpJE8ApdvdVxTg==", 1107 | "requires": { 1108 | "jwa": "^2.0.0", 1109 | "safe-buffer": "^5.0.1" 1110 | } 1111 | }, 1112 | "keyv": { 1113 | "version": "3.1.0", 1114 | "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz", 1115 | "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==", 1116 | "requires": { 1117 | "json-buffer": "3.0.0" 1118 | } 1119 | }, 1120 | "latest-version": { 1121 | "version": "5.1.0", 1122 | "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-5.1.0.tgz", 1123 | "integrity": "sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA==", 1124 | "requires": { 1125 | "package-json": "^6.3.0" 1126 | } 1127 | }, 1128 | "locate-path": { 1129 | "version": "5.0.0", 1130 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", 1131 | "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", 1132 | "requires": { 1133 | "p-locate": "^4.1.0" 1134 | } 1135 | }, 1136 | "lodash": { 1137 | "version": "4.17.20", 1138 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", 1139 | "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==" 1140 | }, 1141 | "lodash.camelcase": { 1142 | "version": "4.3.0", 1143 | "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", 1144 | "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" 1145 | }, 1146 | "long": { 1147 | "version": "4.0.0", 1148 | "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", 1149 | "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" 1150 | }, 1151 | "lowercase-keys": { 1152 | "version": "1.0.1", 1153 | "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", 1154 | "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==" 1155 | }, 1156 | "lru-cache": { 1157 | "version": "6.0.0", 1158 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", 1159 | "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", 1160 | "requires": { 1161 | "yallist": "^4.0.0" 1162 | } 1163 | }, 1164 | "make-dir": { 1165 | "version": "3.1.0", 1166 | "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", 1167 | "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", 1168 | "requires": { 1169 | "semver": "^6.0.0" 1170 | } 1171 | }, 1172 | "mime": { 1173 | "version": "2.4.6", 1174 | "resolved": "https://registry.npmjs.org/mime/-/mime-2.4.6.tgz", 1175 | "integrity": "sha512-RZKhC3EmpBchfTGBVb8fb+RL2cWyw/32lshnsETttkBAyAUXSGHxbEJWWRXc751DrIxG1q04b8QwMbAwkRPpUA==" 1176 | }, 1177 | "mimic-fn": { 1178 | "version": "2.1.0", 1179 | "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", 1180 | "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==" 1181 | }, 1182 | "mimic-response": { 1183 | "version": "1.0.1", 1184 | "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz", 1185 | "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==" 1186 | }, 1187 | "minimist": { 1188 | "version": "1.2.5", 1189 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", 1190 | "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" 1191 | }, 1192 | "mkdirp": { 1193 | "version": "1.0.4", 1194 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", 1195 | "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" 1196 | }, 1197 | "ms": { 1198 | "version": "2.1.2", 1199 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 1200 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" 1201 | }, 1202 | "mute-stream": { 1203 | "version": "0.0.8", 1204 | "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", 1205 | "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==" 1206 | }, 1207 | "node-fetch": { 1208 | "version": "2.6.0", 1209 | "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz", 1210 | "integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==" 1211 | }, 1212 | "node-forge": { 1213 | "version": "0.9.1", 1214 | "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.9.1.tgz", 1215 | "integrity": "sha512-G6RlQt5Sb4GMBzXvhfkeFmbqR6MzhtnT7VTHuLadjkii3rdYHNdw0m8zA4BTxVIh68FicCQ2NSUANpsqkr9jvQ==" 1216 | }, 1217 | "normalize-url": { 1218 | "version": "4.5.0", 1219 | "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.0.tgz", 1220 | "integrity": "sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ==" 1221 | }, 1222 | "once": { 1223 | "version": "1.4.0", 1224 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 1225 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", 1226 | "requires": { 1227 | "wrappy": "1" 1228 | } 1229 | }, 1230 | "onetime": { 1231 | "version": "5.1.2", 1232 | "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", 1233 | "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", 1234 | "requires": { 1235 | "mimic-fn": "^2.1.0" 1236 | } 1237 | }, 1238 | "open": { 1239 | "version": "7.2.0", 1240 | "resolved": "https://registry.npmjs.org/open/-/open-7.2.0.tgz", 1241 | "integrity": "sha512-4HeyhxCvBTI5uBePsAdi55C5fmqnWZ2e2MlmvWi5KW5tdH5rxoiv/aMtbeVxKZc3eWkT1GymMnLG8XC4Rq4TDQ==", 1242 | "requires": { 1243 | "is-docker": "^2.0.0", 1244 | "is-wsl": "^2.1.1" 1245 | } 1246 | }, 1247 | "os-tmpdir": { 1248 | "version": "1.0.2", 1249 | "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", 1250 | "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=" 1251 | }, 1252 | "p-cancelable": { 1253 | "version": "1.1.0", 1254 | "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz", 1255 | "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==" 1256 | }, 1257 | "p-limit": { 1258 | "version": "2.3.0", 1259 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", 1260 | "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", 1261 | "requires": { 1262 | "p-try": "^2.0.0" 1263 | } 1264 | }, 1265 | "p-locate": { 1266 | "version": "4.1.0", 1267 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", 1268 | "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", 1269 | "requires": { 1270 | "p-limit": "^2.2.0" 1271 | } 1272 | }, 1273 | "p-try": { 1274 | "version": "2.2.0", 1275 | "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", 1276 | "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==" 1277 | }, 1278 | "package-json": { 1279 | "version": "6.5.0", 1280 | "resolved": "https://registry.npmjs.org/package-json/-/package-json-6.5.0.tgz", 1281 | "integrity": "sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ==", 1282 | "requires": { 1283 | "got": "^9.6.0", 1284 | "registry-auth-token": "^4.0.0", 1285 | "registry-url": "^5.0.0", 1286 | "semver": "^6.2.0" 1287 | } 1288 | }, 1289 | "path-exists": { 1290 | "version": "4.0.0", 1291 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", 1292 | "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==" 1293 | }, 1294 | "prepend-http": { 1295 | "version": "2.0.0", 1296 | "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz", 1297 | "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=" 1298 | }, 1299 | "promise-polyfill": { 1300 | "version": "8.1.3", 1301 | "resolved": "https://registry.npmjs.org/promise-polyfill/-/promise-polyfill-8.1.3.tgz", 1302 | "integrity": "sha512-MG5r82wBzh7pSKDRa9y+vllNHz3e3d4CNj1PQE4BQYxLme0gKYYBm9YENq+UkEikyZ0XbiGWxYlVw3Rl9O/U8g==" 1303 | }, 1304 | "protobufjs": { 1305 | "version": "6.10.1", 1306 | "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.10.1.tgz", 1307 | "integrity": "sha512-pb8kTchL+1Ceg4lFd5XUpK8PdWacbvV5SK2ULH2ebrYtl4GjJmS24m6CKME67jzV53tbJxHlnNOSqQHbTsR9JQ==", 1308 | "requires": { 1309 | "@protobufjs/aspromise": "^1.1.2", 1310 | "@protobufjs/base64": "^1.1.2", 1311 | "@protobufjs/codegen": "^2.0.4", 1312 | "@protobufjs/eventemitter": "^1.1.0", 1313 | "@protobufjs/fetch": "^1.1.0", 1314 | "@protobufjs/float": "^1.0.2", 1315 | "@protobufjs/inquire": "^1.1.0", 1316 | "@protobufjs/path": "^1.1.2", 1317 | "@protobufjs/pool": "^1.1.0", 1318 | "@protobufjs/utf8": "^1.1.0", 1319 | "@types/long": "^4.0.1", 1320 | "@types/node": "^13.7.0", 1321 | "long": "^4.0.0" 1322 | }, 1323 | "dependencies": { 1324 | "@types/node": { 1325 | "version": "13.13.15", 1326 | "resolved": "https://registry.npmjs.org/@types/node/-/node-13.13.15.tgz", 1327 | "integrity": "sha512-kwbcs0jySLxzLsa2nWUAGOd/s21WU1jebrEdtzhsj1D4Yps1EOuyI1Qcu+FD56dL7NRNIJtDDjcqIG22NwkgLw==" 1328 | } 1329 | } 1330 | }, 1331 | "pump": { 1332 | "version": "3.0.0", 1333 | "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", 1334 | "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", 1335 | "requires": { 1336 | "end-of-stream": "^1.1.0", 1337 | "once": "^1.3.1" 1338 | } 1339 | }, 1340 | "pupa": { 1341 | "version": "2.0.1", 1342 | "resolved": "https://registry.npmjs.org/pupa/-/pupa-2.0.1.tgz", 1343 | "integrity": "sha512-hEJH0s8PXLY/cdXh66tNEQGndDrIKNqNC5xmrysZy3i5C3oEoLna7YAOad+7u125+zH1HNXUmGEkrhb3c2VriA==", 1344 | "requires": { 1345 | "escape-goat": "^2.0.0" 1346 | } 1347 | }, 1348 | "rc": { 1349 | "version": "1.2.8", 1350 | "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", 1351 | "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", 1352 | "requires": { 1353 | "deep-extend": "^0.6.0", 1354 | "ini": "~1.3.0", 1355 | "minimist": "^1.2.0", 1356 | "strip-json-comments": "~2.0.1" 1357 | } 1358 | }, 1359 | "registry-auth-token": { 1360 | "version": "4.2.0", 1361 | "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.2.0.tgz", 1362 | "integrity": "sha512-P+lWzPrsgfN+UEpDS3U8AQKg/UjZX6mQSJueZj3EK+vNESoqBSpBUD3gmu4sF9lOsjXWjF11dQKUqemf3veq1w==", 1363 | "requires": { 1364 | "rc": "^1.2.8" 1365 | } 1366 | }, 1367 | "registry-url": { 1368 | "version": "5.1.0", 1369 | "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-5.1.0.tgz", 1370 | "integrity": "sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw==", 1371 | "requires": { 1372 | "rc": "^1.2.8" 1373 | } 1374 | }, 1375 | "require-directory": { 1376 | "version": "2.1.1", 1377 | "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", 1378 | "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" 1379 | }, 1380 | "require-main-filename": { 1381 | "version": "2.0.0", 1382 | "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", 1383 | "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==" 1384 | }, 1385 | "responselike": { 1386 | "version": "1.0.2", 1387 | "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz", 1388 | "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=", 1389 | "requires": { 1390 | "lowercase-keys": "^1.0.0" 1391 | } 1392 | }, 1393 | "restore-cursor": { 1394 | "version": "3.1.0", 1395 | "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", 1396 | "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", 1397 | "requires": { 1398 | "onetime": "^5.1.0", 1399 | "signal-exit": "^3.0.2" 1400 | } 1401 | }, 1402 | "run-async": { 1403 | "version": "2.4.1", 1404 | "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", 1405 | "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==" 1406 | }, 1407 | "rxjs": { 1408 | "version": "6.6.2", 1409 | "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.2.tgz", 1410 | "integrity": "sha512-BHdBMVoWC2sL26w//BCu3YzKT4s2jip/WhwsGEDmeKYBhKDZeYezVUnHatYB7L85v5xs0BAQmg6BEYJEKxBabg==", 1411 | "requires": { 1412 | "tslib": "^1.9.0" 1413 | } 1414 | }, 1415 | "safe-buffer": { 1416 | "version": "5.2.1", 1417 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 1418 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" 1419 | }, 1420 | "safer-buffer": { 1421 | "version": "2.1.2", 1422 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 1423 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" 1424 | }, 1425 | "semver": { 1426 | "version": "6.3.0", 1427 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", 1428 | "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" 1429 | }, 1430 | "semver-diff": { 1431 | "version": "3.1.1", 1432 | "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-3.1.1.tgz", 1433 | "integrity": "sha512-GX0Ix/CJcHyB8c4ykpHGIAvLyOwOobtM/8d+TQkAd81/bEjgPHrfba41Vpesr7jX/t8Uh+R3EX9eAS5be+jQYg==", 1434 | "requires": { 1435 | "semver": "^6.3.0" 1436 | } 1437 | }, 1438 | "set-blocking": { 1439 | "version": "2.0.0", 1440 | "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", 1441 | "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=" 1442 | }, 1443 | "signal-exit": { 1444 | "version": "3.0.3", 1445 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", 1446 | "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==" 1447 | }, 1448 | "string-width": { 1449 | "version": "4.2.0", 1450 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", 1451 | "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", 1452 | "requires": { 1453 | "emoji-regex": "^8.0.0", 1454 | "is-fullwidth-code-point": "^3.0.0", 1455 | "strip-ansi": "^6.0.0" 1456 | } 1457 | }, 1458 | "strip-ansi": { 1459 | "version": "6.0.0", 1460 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", 1461 | "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", 1462 | "requires": { 1463 | "ansi-regex": "^5.0.0" 1464 | } 1465 | }, 1466 | "strip-json-comments": { 1467 | "version": "2.0.1", 1468 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", 1469 | "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=" 1470 | }, 1471 | "supports-color": { 1472 | "version": "7.1.0", 1473 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", 1474 | "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==", 1475 | "requires": { 1476 | "has-flag": "^4.0.0" 1477 | } 1478 | }, 1479 | "term-size": { 1480 | "version": "2.2.0", 1481 | "resolved": "https://registry.npmjs.org/term-size/-/term-size-2.2.0.tgz", 1482 | "integrity": "sha512-a6sumDlzyHVJWb8+YofY4TW112G6p2FCPEAFk+59gIYHv3XHRhm9ltVQ9kli4hNWeQBwSpe8cRN25x0ROunMOw==" 1483 | }, 1484 | "through": { 1485 | "version": "2.3.8", 1486 | "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", 1487 | "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" 1488 | }, 1489 | "tmp": { 1490 | "version": "0.0.33", 1491 | "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", 1492 | "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", 1493 | "requires": { 1494 | "os-tmpdir": "~1.0.2" 1495 | } 1496 | }, 1497 | "to-readable-stream": { 1498 | "version": "1.0.0", 1499 | "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz", 1500 | "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==" 1501 | }, 1502 | "tslib": { 1503 | "version": "1.13.0", 1504 | "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.13.0.tgz", 1505 | "integrity": "sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q==" 1506 | }, 1507 | "type-fest": { 1508 | "version": "0.11.0", 1509 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.11.0.tgz", 1510 | "integrity": "sha512-OdjXJxnCN1AvyLSzeKIgXTXxV+99ZuXl3Hpo9XpJAv9MBcHrrJOQ5kV7ypXOuQie+AmWG25hLbiKdwYTifzcfQ==" 1511 | }, 1512 | "typedarray-to-buffer": { 1513 | "version": "3.1.5", 1514 | "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", 1515 | "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", 1516 | "requires": { 1517 | "is-typedarray": "^1.0.0" 1518 | } 1519 | }, 1520 | "unique-string": { 1521 | "version": "2.0.0", 1522 | "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz", 1523 | "integrity": "sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==", 1524 | "requires": { 1525 | "crypto-random-string": "^2.0.0" 1526 | } 1527 | }, 1528 | "update-notifier": { 1529 | "version": "4.1.1", 1530 | "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-4.1.1.tgz", 1531 | "integrity": "sha512-9y+Kds0+LoLG6yN802wVXoIfxYEwh3FlZwzMwpCZp62S2i1/Jzeqb9Eeeju3NSHccGGasfGlK5/vEHbAifYRDg==", 1532 | "requires": { 1533 | "boxen": "^4.2.0", 1534 | "chalk": "^3.0.0", 1535 | "configstore": "^5.0.1", 1536 | "has-yarn": "^2.1.0", 1537 | "import-lazy": "^2.1.0", 1538 | "is-ci": "^2.0.0", 1539 | "is-installed-globally": "^0.3.1", 1540 | "is-npm": "^4.0.0", 1541 | "is-yarn-global": "^0.3.0", 1542 | "latest-version": "^5.0.0", 1543 | "pupa": "^2.0.1", 1544 | "semver-diff": "^3.1.1", 1545 | "xdg-basedir": "^4.0.0" 1546 | }, 1547 | "dependencies": { 1548 | "chalk": { 1549 | "version": "3.0.0", 1550 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", 1551 | "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", 1552 | "requires": { 1553 | "ansi-styles": "^4.1.0", 1554 | "supports-color": "^7.1.0" 1555 | } 1556 | } 1557 | } 1558 | }, 1559 | "url-parse-lax": { 1560 | "version": "3.0.0", 1561 | "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz", 1562 | "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=", 1563 | "requires": { 1564 | "prepend-http": "^2.0.0" 1565 | } 1566 | }, 1567 | "websocket-driver": { 1568 | "version": "0.7.4", 1569 | "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.4.tgz", 1570 | "integrity": "sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg==", 1571 | "requires": { 1572 | "http-parser-js": ">=0.5.1", 1573 | "safe-buffer": ">=5.1.0", 1574 | "websocket-extensions": ">=0.1.1" 1575 | } 1576 | }, 1577 | "websocket-extensions": { 1578 | "version": "0.1.4", 1579 | "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.4.tgz", 1580 | "integrity": "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg==" 1581 | }, 1582 | "whatwg-fetch": { 1583 | "version": "3.4.0", 1584 | "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.4.0.tgz", 1585 | "integrity": "sha512-rsum2ulz2iuZH08mJkT0Yi6JnKhwdw4oeyMjokgxd+mmqYSd9cPpOQf01TIWgjxG/U4+QR+AwKq6lSbXVxkyoQ==" 1586 | }, 1587 | "which-module": { 1588 | "version": "2.0.0", 1589 | "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", 1590 | "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=" 1591 | }, 1592 | "widest-line": { 1593 | "version": "3.1.0", 1594 | "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-3.1.0.tgz", 1595 | "integrity": "sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==", 1596 | "requires": { 1597 | "string-width": "^4.0.0" 1598 | } 1599 | }, 1600 | "wrap-ansi": { 1601 | "version": "6.2.0", 1602 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", 1603 | "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", 1604 | "requires": { 1605 | "ansi-styles": "^4.0.0", 1606 | "string-width": "^4.1.0", 1607 | "strip-ansi": "^6.0.0" 1608 | } 1609 | }, 1610 | "wrappy": { 1611 | "version": "1.0.2", 1612 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 1613 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" 1614 | }, 1615 | "write-file-atomic": { 1616 | "version": "3.0.3", 1617 | "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", 1618 | "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", 1619 | "requires": { 1620 | "imurmurhash": "^0.1.4", 1621 | "is-typedarray": "^1.0.0", 1622 | "signal-exit": "^3.0.2", 1623 | "typedarray-to-buffer": "^3.1.5" 1624 | } 1625 | }, 1626 | "xdg-basedir": { 1627 | "version": "4.0.0", 1628 | "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz", 1629 | "integrity": "sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==" 1630 | }, 1631 | "xmlhttprequest": { 1632 | "version": "1.8.0", 1633 | "resolved": "https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz", 1634 | "integrity": "sha1-Z/4HXFwk/vOfnWX197f+dRcZaPw=" 1635 | }, 1636 | "y18n": { 1637 | "version": "4.0.0", 1638 | "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz", 1639 | "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==" 1640 | }, 1641 | "yallist": { 1642 | "version": "4.0.0", 1643 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", 1644 | "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" 1645 | }, 1646 | "yargs": { 1647 | "version": "15.4.1", 1648 | "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", 1649 | "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", 1650 | "requires": { 1651 | "cliui": "^6.0.0", 1652 | "decamelize": "^1.2.0", 1653 | "find-up": "^4.1.0", 1654 | "get-caller-file": "^2.0.1", 1655 | "require-directory": "^2.1.1", 1656 | "require-main-filename": "^2.0.0", 1657 | "set-blocking": "^2.0.0", 1658 | "string-width": "^4.2.0", 1659 | "which-module": "^2.0.0", 1660 | "y18n": "^4.0.0", 1661 | "yargs-parser": "^18.1.2" 1662 | } 1663 | }, 1664 | "yargs-parser": { 1665 | "version": "18.1.3", 1666 | "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", 1667 | "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", 1668 | "requires": { 1669 | "camelcase": "^5.0.0", 1670 | "decamelize": "^1.2.0" 1671 | } 1672 | } 1673 | } 1674 | } 1675 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "andronix-command-cli", 3 | "version": "1.1.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "bin": { 10 | "acommands": "./commands.js" 11 | }, 12 | "repository": { 13 | "type": "git", 14 | "url": "https://github.com/imprakharshukla/andronix-command-cli/tree/master" 15 | }, 16 | "keywords": [], 17 | "engines": { 18 | "node": ">=6.0.0" 19 | }, 20 | "author": "", 21 | "license": "MIT", 22 | "dependencies": { 23 | "axios": "^0.20.0", 24 | "chalk": "^4.1.0", 25 | "commander": "^6.0.0", 26 | "firebase": "^7.19.0", 27 | "inquirer": "^7.3.3", 28 | "mkdirp": "^1.0.4", 29 | "open": "^7.2.0", 30 | "update-notifier": "^4.1.1" 31 | } 32 | } 33 | --------------------------------------------------------------------------------