Skip to content

Commit

Permalink
add version
Browse files Browse the repository at this point in the history
  • Loading branch information
aheckmann committed Feb 9, 2012
1 parent 3b907fd commit 5cd20d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/index.js
Expand Up @@ -65,4 +65,6 @@ module.exports = exports = function keywordize (schema, options) {
* Expose version.
*/

exports.version = '0.0.1';
exports.version = JSON.parse(
require('fs').readFileSync(__dirname + '/../package.json')
).version;

0 comments on commit 5cd20d7

Please sign in to comment.