Skip to content

Commit

Permalink
Doing bin file in proper way.
Browse files Browse the repository at this point in the history
  • Loading branch information
gevorg committed Jun 4, 2015
1 parent 1793b2c commit fe6b8d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/htdigest
@@ -1,3 +1,3 @@
#!/usr/bin/env node

node ../gensrc/htdigest.js
require("../gensrc/htdigest");
4 changes: 2 additions & 2 deletions package.json
@@ -1,7 +1,7 @@
{
"name": "htdigest",
"description": "Node.js package for HTTP Digest Authentication password file utility.",
"version": "2.0.6",
"version": "2.0.7",
"author": "Gevorg Harutyunyan (http://github.com/gevorg)",
"maintainers": [
{
Expand Down Expand Up @@ -40,7 +40,7 @@
},
"scripts": {
"test": "node ./node_modules/nodeunit/bin/nodeunit tests",
"prepublish": "rm -rf gensrc && node ./node_modules/coffee-script/bin/coffee --compile -o gensrc src && echo #!/usr/bin/env node >> gensrc/htdigest.js",
"prepublish": "rm -rf gensrc && node ./node_modules/coffee-script/bin/coffee --compile -o gensrc src",
"pretest": "npm run prepublish"
},
"keywords": ["node", "htdigest", "http", "server", "digest", "access", "authentication"]
Expand Down

0 comments on commit fe6b8d0

Please sign in to comment.