initial
This commit is contained in:
17
ts/index.ts
Normal file
17
ts/index.ts
Normal file
@ -0,0 +1,17 @@
|
||||
/// <reference path="./typings/index.d.ts" />
|
||||
let colors = require("colors");
|
||||
let ora = require("ora");
|
||||
let earlyOra;
|
||||
|
||||
export let start = function(moduleStringArg:string){
|
||||
earlyOra = ora({
|
||||
text:"Loading " + moduleStringArg.green,
|
||||
spinner:"bouncingBar"
|
||||
});
|
||||
earlyOra.start();
|
||||
};
|
||||
|
||||
export let stop = function(){
|
||||
earlyOra.stop();
|
||||
};
|
||||
|
6
ts/typings.json
Normal file
6
ts/typings.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"globalDependencies": {
|
||||
"colors": "registry:dt/colors#0.6.0-1+20160501135139",
|
||||
"node": "registry:dt/node#6.0.0+20160514165920"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user