Skip to content

Commit

Permalink
autogrunt when installing as a npm package. main.js to reveal informa…
Browse files Browse the repository at this point in the history
…tion about package contents
  • Loading branch information
juhazi committed Dec 21, 2012
1 parent 2212883 commit 34cde76
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 7 additions & 0 deletions main.js
@@ -0,0 +1,7 @@
path = require('path');

var steroidsJSPath = path.join(__dirname, "dist", "steroids.js");

module.exports = {
steroidsJSPath: steroidsJSPath
}
7 changes: 5 additions & 2 deletions package.json
Expand Up @@ -18,5 +18,8 @@
"gdocs": "find ./src -name '*.coffee' |xargs echo|xargs docco"

},
"private": true
}
"private": true,
"scripts": {
"install": "./grunt"
}
}

0 comments on commit 34cde76

Please sign in to comment.