Skip to content

Commit

Permalink
Merge pull request #402 from HughePaul/feature-requirefordistdir
Browse files Browse the repository at this point in the history
Add index.js file that returns the dist location when require()d
  • Loading branch information
fehguy committed Mar 20, 2014
2 parents 1f6aa46 + 99b3f7d commit 579abd6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
var pack = require('./package');
var path = require('path');

module.exports = {
version: pack.version,
dist: path.resolve(__dirname, 'dist')
};

0 comments on commit 579abd6

Please sign in to comment.