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