From 37f9f30dc268b25cd55aa17ff5ecffe39f0477ae Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Wed, 16 Mar 2016 10:40:27 +0000 Subject: [PATCH] Restructured folders --- index.js | 3 +++ md-validator.js => lib/md-validator.js | 0 test/jshint.spec.js | 2 +- test/md-validator.js | 2 +- test/phone-validator.js | 2 +- 5 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 index.js rename md-validator.js => lib/md-validator.js (100%) diff --git a/index.js b/index.js new file mode 100644 index 0000000..4330291 --- /dev/null +++ b/index.js @@ -0,0 +1,3 @@ +'use strict'; + +module.exports = require('./lib/md-validator'); diff --git a/md-validator.js b/lib/md-validator.js similarity index 100% rename from md-validator.js rename to lib/md-validator.js diff --git a/test/jshint.spec.js b/test/jshint.spec.js index 414d894..3d1ed67 100644 --- a/test/jshint.spec.js +++ b/test/jshint.spec.js @@ -5,4 +5,4 @@ * Time: 13:42 * */ -require('mocha-jshint')({paths:['md-validator.js']}); +require('mocha-jshint')({paths:['lib']}); diff --git a/test/md-validator.js b/test/md-validator.js index 17a0d96..ec65db6 100644 --- a/test/md-validator.js +++ b/test/md-validator.js @@ -6,7 +6,7 @@ * */ "use strict"; -var mdValidate = require('../md-validator'); +var mdValidate = require('../lib/md-validator'); var assert = require('assert'); diff --git a/test/phone-validator.js b/test/phone-validator.js index 9991ce4..e744b76 100644 --- a/test/phone-validator.js +++ b/test/phone-validator.js @@ -1,5 +1,5 @@ "use strict"; -var $V = require('../md-validator'); +var $V = require('../lib/md-validator'); var assert = require('assert');