Comparing version 1.1.0 to 2.0.0
16
index.js
#!/usr/bin/env node | ||
const pkgJSON = require('./package.json'); | ||
const welcome = require('cli-welcome'); | ||
const clearConsole = require('clear-any-console'); | ||
welcome({ | ||
title: pkgJSON.name, | ||
tagLine: `Howdy, nice to meet ya!`, | ||
description: pkgJSON.description, | ||
version: pkgJSON.version, | ||
bgColor: `#FADC00`, | ||
color: `#000000`, | ||
bold: true, | ||
clear: false, | ||
}); | ||
// Clears the console. | ||
clearConsole(); | ||
console.log(` | ||
@@ -9,0 +17,0 @@ Ahmad Awais |
{ | ||
"name": "awais", | ||
"version": "1.1.0", | ||
"version": "2.0.0", | ||
"description": "Get to know Awais via `npx awais`.", | ||
"bin": { | ||
@@ -8,4 +9,4 @@ "awais": "index.js" | ||
"dependencies": { | ||
"clear-any-console": "^1.16.0" | ||
"cli-welcome": "^2.2.0" | ||
} | ||
} |
979
21
+ Addedcli-welcome@^2.2.0
+ Addedansi-styles@3.2.1(transitive)
+ Addedchalk@2.4.2(transitive)
+ Addedcli-welcome@2.2.3(transitive)
+ Addedcolor-convert@1.9.3(transitive)
+ Addedcolor-name@1.1.3(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedhas-flag@3.0.0(transitive)
+ Addedsupports-color@5.5.0(transitive)
- Removedclear-any-console@^1.16.0