Skip to content

Commit

Permalink
compile .coffee to .js before publishing to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
aadityabhatia committed Dec 28, 2013
1 parent f10558f commit bab7f9e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
@@ -0,0 +1,2 @@
*.js

2 changes: 2 additions & 0 deletions .npmignore
@@ -0,0 +1,2 @@
*.coffee

20 changes: 16 additions & 4 deletions package.json
@@ -1,15 +1,27 @@
{
"name": "gitsha",
"version": "0.0.1",
"version": "0.1.0",
"description": "read git SHA1 value of a repository's HEAD revision",
"author": "Aaditya Bhatia <aadityabhatia@gmail.com>",
"main": "app.coffee",
"repository": "git://github.com/aadityabhatia/gitsha.git",
"repository": {
"type": "git",
"url": "https://github.com/aadityabhatia/gitsha.git"
},
"keywords": [
"git",
"sha1sum",
"sha",
"repository"
],
"license": "Apache"
"main": "app.js",
"scripts": {
"prepublish": "coffee -c ."
},
"engines": {
"node": ">=0.6.0"
},
"licenses": [{
"type": "Apache",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}]
}

0 comments on commit bab7f9e

Please sign in to comment.