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'));