➖ Remove colors dependency
This commit is contained in:
@@ -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
@@ -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)
|
||||
{
|
||||
|
||||
Generated
+2
-1
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user