Remove colors dependency

This commit is contained in:
brunosimon
2017-12-26 14:31:44 +01:00
parent 73bc3e174a
commit ecd144e216
4 changed files with 3 additions and 4 deletions
-1
View File
@@ -2,7 +2,6 @@
const express = require('express')
const helmet = require('helmet')
const http = require('http')
const colors = require('colors')
const path = require('path')
const chalk = require('chalk')
+1 -1
View File
@@ -68,7 +68,7 @@ class Watcher
this.socket.on('started', () =>
{
const url = this.config.domain
console.log('app'.green.bold + ' - ' + url.yellow)
console.log(`${chalk.green.bold('app')} - ${chalk.yellow.underline(url)}`)
if(this.config.open)
{
+2 -1
View File
@@ -1537,7 +1537,8 @@
"colors": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/colors/-/colors-1.1.2.tgz",
"integrity": "sha1-FopHAXVran9RoSzgyXv6KMCE7WM="
"integrity": "sha1-FopHAXVran9RoSzgyXv6KMCE7WM=",
"dev": true
},
"commander": {
"version": "2.11.0",
-1
View File
@@ -34,7 +34,6 @@
"dependencies": {
"chalk": "^2.3.0",
"chokidar": "^1.7.0",
"colors": "^1.1.2",
"diff": "^3.3.0",
"express": "^4.15.3",
"glob": "^7.1.2",