brianmmaina 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +3 -3
  2. package/package.json +8 -3
package/index.js CHANGED
@@ -3,12 +3,12 @@
3
3
  import boxen from 'boxen';
4
4
  import chalk from 'chalk';
5
5
 
6
- const intro = chalk .bold.green('Hi, I\'m Brian Maina! I like watching movies, coding and playing video games.');
6
+ const intro = chalk.bold.green('Hi, I\'m Brian Maina! I like watching movies, coding and playing video games.');
7
7
  const links = [
8
8
  { name: chalk.hex("#fff").bgHex("#7B82AA")('Website:'), url: ''},
9
9
  ];
10
10
 
11
- const linklist = link => links.map(link => `${link.name} ${chalk.cyan(link.url)}`).join('\n');
11
+ const linklist = () => links.map(link => `${link.name} ${chalk.cyan(link.url)}`).join('\n');
12
12
 
13
13
  const options = {
14
14
  padding: 1,
@@ -17,6 +17,6 @@ const options = {
17
17
  borderColor: 'cyan'
18
18
  };
19
19
 
20
- const output = boxen(intro + '\n\n' + linklist(links), options);
20
+ const output = boxen(intro + '\n\n' + linklist(), options);
21
21
 
22
22
  console.log(output);
package/package.json CHANGED
@@ -1,15 +1,20 @@
1
1
  {
2
2
  "name": "brianmmaina",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "My terminal business card",
5
5
  "main": "index.js",
6
6
  "type": "module",
7
- "bin": "./index.js",
7
+ "bin": {
8
+ "brianmmaina": "index.js"
9
+ },
8
10
  "scripts": {
9
11
  "setup": "npm install",
10
12
  "start": "node index.js"
11
13
  },
12
14
  "keywords": [],
13
15
  "author": "",
14
- "license": "ISC"
16
+ "license": "ISC",
17
+ "dependencies": {
18
+ "boxen": "^8.0.1"
19
+ }
15
20
  }