Skip to content

Commit

Permalink
Merge pull request swagger-api#402 from HughePaul/feature-requireford…
Browse files Browse the repository at this point in the history
…istdir

Add index.js file that returns the dist location when require()d
  • Loading branch information
fehguy committed Mar 20, 2014
2 parents 650665d + 66ecaad commit ced4e28
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 ced4e28

Please sign in to comment.