File tree Expand file tree Collapse file tree 3 files changed +2
-52
lines changed Expand file tree Collapse file tree 3 files changed +2
-52
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 6
6
"private" : true ,
7
7
"scripts" : {
8
8
"build" : " tsc" ,
9
- "pack" : " ncc build" ,
9
+ "pack" : " ncc build src/index.ts " ,
10
10
"test" : " echo \" Error: no test specified\" && exit 1" ,
11
11
"lint" : " eslint **/*.ts --cache" ,
12
12
"format" : " prettier --write **/*.ts" ,
Original file line number Diff line number Diff line change @@ -20,18 +20,7 @@ enum ForegroundColor {
20
20
White = "\x1b[37m"
21
21
}
22
22
23
- enum BackgroundColor {
24
- Black = "\x1b[40m" ,
25
- Red = "\x1b[41m" ,
26
- Green = "\x1b[42m" ,
27
- Yellow = "\x1b[43m" ,
28
- Blue = "\x1b[44m" ,
29
- Magenta = "\x1b[45m" ,
30
- Cyan = "\x1b[46m" ,
31
- White = "\x1b[47m"
32
- }
33
-
34
23
export function logInfo ( message : string ) : void {
35
- const textFormat = `${ TextEffect . Underscore } ${ ForegroundColor . Cyan } ${ BackgroundColor . Black } ` ;
24
+ const textFormat = `${ TextEffect . Underscore } ${ ForegroundColor . Cyan } ` ;
36
25
console . log ( `${ textFormat } ${ message } ${ ColorReset } ` ) ;
37
26
}
You can’t perform that action at this time.
0 commit comments