diff --git a/.gitignore b/.gitignore
index 6dded14..e7ececf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,7 @@
.idea/
coverage/
docs/
-node_modules/
\ No newline at end of file
+node_modules/
+ts/typings/
+ts/**/*.js
+ts/**/*.js.map
\ No newline at end of file
diff --git a/dist/index.js b/dist/index.js
new file mode 100644
index 0000000..5c4badb
--- /dev/null
+++ b/dist/index.js
@@ -0,0 +1,4 @@
+"use strict";
+exports.check = require("./smartdeploy.check");
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFHYyxhQUFLLFdBQVcscUJBQXFCLENBQUMsQ0FBQyIsImZpbGUiOiJpbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vLyA8cmVmZXJlbmNlIHBhdGggPVwiLi90eXBpbmdzL21haW4uZC50c1wiIC8+XG5pbXBvcnQgcGx1Z2lucyA9IHJlcXVpcmUoXCIuL3NtYXJ0ZGVwbG95LnBsdWdpbnNcIik7XG5cbmV4cG9ydCBpbXBvcnQgY2hlY2sgPSByZXF1aXJlKFwiLi9zbWFydGRlcGxveS5jaGVja1wiKTsiXSwic291cmNlUm9vdCI6Ii9zb3VyY2UvIn0=
diff --git a/dist/smartdeploy.check.js b/dist/smartdeploy.check.js
new file mode 100644
index 0000000..5c6009a
--- /dev/null
+++ b/dist/smartdeploy.check.js
@@ -0,0 +1,9 @@
+"use strict";
+///
+var plugins = require("./smartdeploy.plugins");
+exports.dockerVersion = function () {
+ var versionInfo = plugins.shelljs.exec("docker version").stdout;
+ return versionInfo;
+};
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNtYXJ0ZGVwbG95LmNoZWNrLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSw2Q0FBNkM7QUFDN0MsSUFBTyxPQUFPLFdBQVcsdUJBQXVCLENBQUMsQ0FBQztBQUd2QyxxQkFBYSxHQUFHO0lBQ3ZCLElBQUksV0FBVyxHQUFHLE9BQU8sQ0FBQyxPQUFPLENBQUMsSUFBSSxDQUFDLGdCQUFnQixDQUFDLENBQUMsTUFBTSxDQUFDO0lBQ2hFLE1BQU0sQ0FBQyxXQUFXLENBQUM7QUFDdkIsQ0FBQyxDQUFDIiwiZmlsZSI6InNtYXJ0ZGVwbG95LmNoZWNrLmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8vIDxyZWZlcmVuY2UgcGF0aCA9XCIuL3R5cGluZ3MvbWFpbi5kLnRzXCIgLz5cbmltcG9ydCBwbHVnaW5zID0gcmVxdWlyZShcIi4vc21hcnRkZXBsb3kucGx1Z2luc1wiKTtcblxuXG5leHBvcnQgbGV0IGRvY2tlclZlcnNpb24gPSBmdW5jdGlvbigpe1xuICAgIGxldCB2ZXJzaW9uSW5mbyA9IHBsdWdpbnMuc2hlbGxqcy5leGVjKFwiZG9ja2VyIHZlcnNpb25cIikuc3Rkb3V0O1xuICAgIHJldHVybiB2ZXJzaW9uSW5mbztcbn07Il0sInNvdXJjZVJvb3QiOiIvc291cmNlLyJ9
diff --git a/dist/smartdeploy.plugins.js b/dist/smartdeploy.plugins.js
new file mode 100644
index 0000000..009aa34
--- /dev/null
+++ b/dist/smartdeploy.plugins.js
@@ -0,0 +1,6 @@
+"use strict";
+///
+exports.beautylog = require("beautylog");
+exports.shelljs = require("shelljs");
+
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNtYXJ0ZGVwbG95LnBsdWdpbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLDZDQUE2QztBQUNsQyxpQkFBUyxHQUFHLE9BQU8sQ0FBQyxXQUFXLENBQUMsQ0FBQztBQUNqQyxlQUFPLEdBQUcsT0FBTyxDQUFDLFNBQVMsQ0FBQyxDQUFDIiwiZmlsZSI6InNtYXJ0ZGVwbG95LnBsdWdpbnMuanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLy8gPHJlZmVyZW5jZSBwYXRoID1cIi4vdHlwaW5ncy9tYWluLmQudHNcIiAvPlxuZXhwb3J0IGxldCBiZWF1dHlsb2cgPSByZXF1aXJlKFwiYmVhdXR5bG9nXCIpO1xuZXhwb3J0IGxldCBzaGVsbGpzID0gcmVxdWlyZShcInNoZWxsanNcIik7Il0sInNvdXJjZVJvb3QiOiIvc291cmNlLyJ9
diff --git a/package.json b/package.json
index ff26d93..546e281 100644
--- a/package.json
+++ b/package.json
@@ -19,5 +19,13 @@
"bugs": {
"url": "https://github.com/pushrocks/smartdeploy/issues"
},
- "homepage": "https://github.com/pushrocks/smartdeploy#readme"
+ "homepage": "https://github.com/pushrocks/smartdeploy#readme",
+ "devDependencies": {
+ "npmts": "^5.0.3"
+ },
+ "dependencies": {
+ "beautylog": "^4.1.2",
+ "shelljs": "^0.6.0",
+ "smartfile": "^3.0.3"
+ }
}
diff --git a/test/test.js b/test/test.js
new file mode 100644
index 0000000..01af47d
--- /dev/null
+++ b/test/test.js
@@ -0,0 +1,12 @@
+///
+var smartDeploy = require("../dist/index.js");
+describe("smartdeploy", function () {
+ describe(".check", function () {
+ describe(".docker()", function () {
+ it("should display docker information", function () {
+ smartDeploy.check.docker();
+ });
+ });
+ });
+});
+//# sourceMappingURL=test.js.map
\ No newline at end of file
diff --git a/test/test.js.map b/test/test.js.map
new file mode 100644
index 0000000..c4fc7fe
--- /dev/null
+++ b/test/test.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,iDAAiD;AACjD,IAAI,WAAW,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;AAG9C,QAAQ,CAAC,aAAa,EAAC;IACnB,QAAQ,CAAC,QAAQ,EAAC;QACd,QAAQ,CAAC,WAAW,EAAC;YACjB,EAAE,CAAC,mCAAmC,EAAC;gBACnC,WAAW,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;YAC/B,CAAC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AAEP,CAAC,CAAC,CAAC"}
\ No newline at end of file
diff --git a/test/test.ts b/test/test.ts
new file mode 100644
index 0000000..8147e0e
--- /dev/null
+++ b/test/test.ts
@@ -0,0 +1,14 @@
+///
+let smartDeploy = require("../dist/index.js");
+
+
+describe("smartdeploy",function(){
+ describe(".check",function(){
+ describe(".docker()",function(){
+ it("should display docker information",function(){
+ smartDeploy.check.docker();
+ });
+ });
+ });
+
+});
\ No newline at end of file
diff --git a/ts/index.ts b/ts/index.ts
new file mode 100644
index 0000000..b131eff
--- /dev/null
+++ b/ts/index.ts
@@ -0,0 +1,4 @@
+///
+import plugins = require("./smartdeploy.plugins");
+
+export import check = require("./smartdeploy.check");
\ No newline at end of file
diff --git a/ts/smartdeploy.check.ts b/ts/smartdeploy.check.ts
new file mode 100644
index 0000000..cbda1bd
--- /dev/null
+++ b/ts/smartdeploy.check.ts
@@ -0,0 +1,16 @@
+///
+import plugins = require("./smartdeploy.plugins");
+
+let dockerVersion = undefined;
+let parseDockerVersion = function(){
+ if (typeof dockerVersion === "undefined") {
+ dockerVersion = plugins.shelljs.exec("docker version").stdout;
+ } else {
+
+ };
+};
+
+export let docker = function(){
+
+};
+
diff --git a/ts/smartdeploy.docker.ts b/ts/smartdeploy.docker.ts
new file mode 100644
index 0000000..e69de29
diff --git a/ts/smartdeploy.get.ts b/ts/smartdeploy.get.ts
new file mode 100644
index 0000000..c57bc67
--- /dev/null
+++ b/ts/smartdeploy.get.ts
@@ -0,0 +1,15 @@
+///
+import plugins = require("./smartdeploy.plugins");
+
+
+let parseDockerVersion = function(){
+ plugins.shelljs.exec("docker version").stdout;
+};
+
+let dockerInfoObject = undefined;
+export let dockerInfo = function(){
+ if (typeof dockerInfo === "undefined") {
+ dockerInfoObject = parseDockerVersion();
+ };
+ return dockerInfoObject
+};
diff --git a/ts/smartdeploy.plugins.ts b/ts/smartdeploy.plugins.ts
new file mode 100644
index 0000000..1fe9255
--- /dev/null
+++ b/ts/smartdeploy.plugins.ts
@@ -0,0 +1,3 @@
+///
+export let beautylog = require("beautylog");
+export let shelljs = require("shelljs");
\ No newline at end of file
diff --git a/ts/typings.json b/ts/typings.json
new file mode 100644
index 0000000..fb29375
--- /dev/null
+++ b/ts/typings.json
@@ -0,0 +1,10 @@
+{
+ "version": false,
+ "dependencies": {},
+ "ambientDependencies": {
+ "colors": "registry:dt/colors#0.6.0-1+20160317120654",
+ "mocha": "registry:dt/mocha#2.2.5+20160317120654",
+ "node": "registry:dt/node#4.0.0+20160330064709",
+ "should": "registry:dt/should#8.1.1+20160316155526"
+ }
+}