Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dependency on deprecated gulp-util #24

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
node_modules
package-lock.json
5 changes: 3 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
var http = require('http');
var https = require('https');
var fs = require('fs');
var colors = require('ansi-colors');
var log = require('fancy-log');
var path = require('path');
var util = require('gulp-util');
var connect = require('connect');
var serveStatic = require('serve-static');

Expand Down Expand Up @@ -59,7 +60,7 @@ module.exports = function (config) {
var address = addr.address;
var port = addr.port;
var scheme = 'http' + (config.https ? 's' : '');
util.log(util.colors.blue('Server started at ' + scheme + '://' + address + ':' + port));
log(colors.blueBright('Server started at ' + scheme + '://' + address + ':' + port));
};

if (config.https) {
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
"license": "MIT",
"readmeFilename": "README.md",
"dependencies": {
"ansi-colors": "^4.1.1",
"connect": "^3.4.1",
"gulp-util": "^3.0.7",
"fancy-log": "^1.3.3",
"serve-static": "^1.11.1"
},
"devDependencies": {
Expand Down