➖ Remove colors dependency
This commit is contained in:
@@ -2,7 +2,6 @@
|
|||||||
const express = require('express')
|
const express = require('express')
|
||||||
const helmet = require('helmet')
|
const helmet = require('helmet')
|
||||||
const http = require('http')
|
const http = require('http')
|
||||||
const colors = require('colors')
|
|
||||||
const path = require('path')
|
const path = require('path')
|
||||||
const chalk = require('chalk')
|
const chalk = require('chalk')
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -68,7 +68,7 @@ class Watcher
|
|||||||
this.socket.on('started', () =>
|
this.socket.on('started', () =>
|
||||||
{
|
{
|
||||||
const url = this.config.domain
|
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)
|
if(this.config.open)
|
||||||
{
|
{
|
||||||
|
|||||||
Generated
+2
-1
@@ -1537,7 +1537,8 @@
|
|||||||
"colors": {
|
"colors": {
|
||||||
"version": "1.1.2",
|
"version": "1.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/colors/-/colors-1.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/colors/-/colors-1.1.2.tgz",
|
||||||
"integrity": "sha1-FopHAXVran9RoSzgyXv6KMCE7WM="
|
"integrity": "sha1-FopHAXVran9RoSzgyXv6KMCE7WM=",
|
||||||
|
"dev": true
|
||||||
},
|
},
|
||||||
"commander": {
|
"commander": {
|
||||||
"version": "2.11.0",
|
"version": "2.11.0",
|
||||||
|
|||||||
@@ -34,7 +34,6 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chalk": "^2.3.0",
|
"chalk": "^2.3.0",
|
||||||
"chokidar": "^1.7.0",
|
"chokidar": "^1.7.0",
|
||||||
"colors": "^1.1.2",
|
|
||||||
"diff": "^3.3.0",
|
"diff": "^3.3.0",
|
||||||
"express": "^4.15.3",
|
"express": "^4.15.3",
|
||||||
"glob": "^7.1.2",
|
"glob": "^7.1.2",
|
||||||
|
|||||||
Reference in New Issue
Block a user