Skip to content

Commit ce77ef9

Browse files
committed
feat: figlet
1 parent 1c57dbd commit ce77ef9

2 files changed

Lines changed: 14 additions & 3 deletions

File tree

bin/proxy.js

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const connect = require('connect')
99
const bodyParser = require('body-parser')
1010
const morgan = require('morgan')
1111
const pug = require('pug')
12+
const figlet = require('figlet')
1213

1314
require('shelljs/global')
1415

@@ -61,6 +62,17 @@ function killps(cb) {
6162
}
6263

6364
function spawn() {
65+
figlet.text('Gon', {
66+
font: 'univers',
67+
}, (err, data) => {
68+
if (err) {
69+
console.error(err)
70+
return
71+
}
72+
73+
console.log(data)
74+
console.log('Okay dokey, ready to work…')
75+
})
6476
const gulp = path.join(__dirname, '../node_modules/gulp-cli/bin/gulp.js')
6577
const gulpfile = path.join(__dirname, 'gulpfile.babel.js')
6678

@@ -104,8 +116,6 @@ function spawn() {
104116
})
105117

106118
subApp.restart = true
107-
108-
console.log('starting app.js')
109119
}
110120

111121
function deputy(req, res, opts) {

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Gon",
3-
"version": "0.7.0",
3+
"version": "0.7.1",
44
"description": "yet another f2e build tool",
55
"private": false,
66
"bin": {
@@ -45,6 +45,7 @@
4545
"eslint-plugin-react": "6.8.0",
4646
"express": "4.14.0",
4747
"extract-text-webpack-plugin": "2.0.0-beta.4",
48+
"figlet": "1.2.0",
4849
"figlet-cli": "0.1.0",
4950
"ghooks": "1.3.2",
5051
"globby": "6.1.0",

0 commit comments

Comments
 (0)