diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a98533a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+node_modules/
+docs/
+coverage/
+ts/typings/
\ No newline at end of file
diff --git a/dist/index.d.ts b/dist/index.d.ts
new file mode 100644
index 0000000..97b1fa4
--- /dev/null
+++ b/dist/index.d.ts
@@ -0,0 +1,2 @@
+export declare let start: (moduleStringArg: string) => void;
+export declare let stop: () => void;
diff --git a/dist/index.js b/dist/index.js
new file mode 100644
index 0000000..ba61398
--- /dev/null
+++ b/dist/index.js
@@ -0,0 +1,16 @@
+"use strict";
+///
+var ora = require("ora");
+var earlyOra;
+exports.start = function (moduleStringArg) {
+ earlyOra = ora({
+ text: "Loading " + moduleStringArg.green,
+ spinner: "bouncingBar"
+ });
+ earlyOra.start();
+};
+exports.stop = function () {
+ earlyOra.stop();
+};
+
+//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSw2Q0FBNkM7QUFDN0MsSUFBSSxHQUFHLEdBQUcsT0FBTyxDQUFDLEtBQUssQ0FBQyxDQUFDO0FBQ3pCLElBQUksUUFBUSxDQUFDO0FBRUYsYUFBSyxHQUFHLFVBQVMsZUFBc0I7SUFDOUMsUUFBUSxHQUFHLEdBQUcsQ0FBQztRQUNYLElBQUksRUFBQyxVQUFVLEdBQUcsZUFBZSxDQUFDLEtBQUs7UUFDdkMsT0FBTyxFQUFDLGFBQWE7S0FDeEIsQ0FBQyxDQUFDO0lBQ0gsUUFBUSxDQUFDLEtBQUssRUFBRSxDQUFDO0FBQ3JCLENBQUMsQ0FBQztBQUVTLFlBQUksR0FBRztJQUNkLFFBQVEsQ0FBQyxJQUFJLEVBQUUsQ0FBQztBQUNwQixDQUFDLENBQUMiLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLy8gPHJlZmVyZW5jZSBwYXRoPVwiLi90eXBpbmdzL2luZGV4LmQudHNcIiAvPlxyXG5sZXQgb3JhID0gcmVxdWlyZShcIm9yYVwiKTtcclxubGV0IGVhcmx5T3JhO1xyXG5cclxuZXhwb3J0IGxldCBzdGFydCA9IGZ1bmN0aW9uKG1vZHVsZVN0cmluZ0FyZzpzdHJpbmcpe1xyXG4gICAgZWFybHlPcmEgPSBvcmEoe1xyXG4gICAgICAgIHRleHQ6XCJMb2FkaW5nIFwiICsgbW9kdWxlU3RyaW5nQXJnLmdyZWVuLFxyXG4gICAgICAgIHNwaW5uZXI6XCJib3VuY2luZ0JhclwiXHJcbiAgICB9KTtcclxuICAgIGVhcmx5T3JhLnN0YXJ0KCk7XHJcbn07XHJcblxyXG5leHBvcnQgbGV0IHN0b3AgPSBmdW5jdGlvbigpe1xyXG4gICAgZWFybHlPcmEuc3RvcCgpO1xyXG59O1xyXG5cclxuIl19
diff --git a/package.json b/package.json
index 5c3dd9d..2fe12bc 100644
--- a/package.json
+++ b/package.json
@@ -18,5 +18,12 @@
"bugs": {
"url": "https://github.com/pushrocks/early/issues"
},
- "homepage": "https://github.com/pushrocks/early#readme"
+ "homepage": "https://github.com/pushrocks/early#readme",
+ "devDependencies": {
+ "npmts": "^5.1.8"
+ },
+ "dependencies": {
+ "colors": "^1.1.2",
+ "ora": "^0.2.3"
+ }
}
diff --git a/test/test.d.ts b/test/test.d.ts
new file mode 100644
index 0000000..e69de29
diff --git a/test/test.js b/test/test.js
new file mode 100644
index 0000000..20e00ec
--- /dev/null
+++ b/test/test.js
@@ -0,0 +1,15 @@
+"use strict";
+///
+var early = require("../dist/index.js");
+describe("early", function () {
+ it(".start()", function (done) {
+ this.timeout(10000);
+ early.start("early test");
+ setTimeout(done, 5000);
+ });
+ it(".stop()", function () {
+ early.stop();
+ });
+});
+
+//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInRlc3QudHMiXSwibm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378b30
--- /dev/null
+++ b/test/test.ts
@@ -0,0 +1,13 @@
+///
+import early = require("../dist/index.js");
+
+describe("early",function(){
+ it(".start()",function(done){
+ this.timeout(10000);
+ early.start("early test");
+ setTimeout(done,5000);
+ });
+ it(".stop()",function(){
+ early.stop();
+ })
+})
\ No newline at end of file
diff --git a/ts/index.ts b/ts/index.ts
new file mode 100644
index 0000000..a52722a
--- /dev/null
+++ b/ts/index.ts
@@ -0,0 +1,17 @@
+///
+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();
+};
+
diff --git a/ts/typings.json b/ts/typings.json
new file mode 100644
index 0000000..a19b7fa
--- /dev/null
+++ b/ts/typings.json
@@ -0,0 +1,6 @@
+{
+ "globalDependencies": {
+ "colors": "registry:dt/colors#0.6.0-1+20160501135139",
+ "node": "registry:dt/node#6.0.0+20160514165920"
+ }
+}