From 7d345c1bbd988a6fb463f13fa05be4679cb23a14 Mon Sep 17 00:00:00 2001 From: "Harish.K" Date: Wed, 7 Dec 2016 14:31:23 +0530 Subject: [PATCH] Examples --- example/app/config/default.json | 3 +++ example/app/config/production.json | 3 +++ example/app/package.json | 11 +++++++++++ example/app/xyz.js | 2 ++ 4 files changed, 19 insertions(+) create mode 100644 example/app/config/default.json create mode 100644 example/app/config/production.json create mode 100644 example/app/package.json create mode 100644 example/app/xyz.js diff --git a/example/app/config/default.json b/example/app/config/default.json new file mode 100644 index 0000000..fa2b2eb --- /dev/null +++ b/example/app/config/default.json @@ -0,0 +1,3 @@ +{ + "port":3000 +} diff --git a/example/app/config/production.json b/example/app/config/production.json new file mode 100644 index 0000000..582a088 --- /dev/null +++ b/example/app/config/production.json @@ -0,0 +1,3 @@ +{ + "port":5000 +} diff --git a/example/app/package.json b/example/app/package.json new file mode 100644 index 0000000..c9e31f7 --- /dev/null +++ b/example/app/package.json @@ -0,0 +1,11 @@ +{ + "name": "app", + "version": "1.0.0", + "description": "", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "", + "license": "ISC" +} diff --git a/example/app/xyz.js b/example/app/xyz.js new file mode 100644 index 0000000..e4d8d0f --- /dev/null +++ b/example/app/xyz.js @@ -0,0 +1,2 @@ + +console.log( require('tconfig'));