-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.js
27 lines (22 loc) · 840 Bytes
/
build.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/env node
'use strict';
const boxen = require('boxen');
const chalk = require('chalk').default;
const fs = require('fs');
const path = require('path');
const lines = [
`${chalk.white.bold('Simon Golms')} / ${chalk.hex('#0094C6')('@simongolms')}`,
`${chalk.hex('#d4d4d4')('App & Website Developer')}`,
'',
`${chalk.white.bold('Web')} ${chalk.hex('#0094C6').underline('https://gol.ms')}`,
`${chalk.white.bold('GitHub')} ${chalk.hex('#0094C6').underline('https://github.com/simongolms')}`,
`${chalk.white.bold('LinkedIn')} ${chalk.hex('#0094C6').underline('https://linkedin.com/in/simongolms/')}`
];
const output = boxen(lines.join('\n'), {
backgroundColor: '#141414',
borderColor: '#d4d4d4',
borderStyle: 'single',
margin: 1,
padding: 1
});
fs.writeFileSync(path.join(__dirname, 'bin/output'), output);