diff --git a/bin/htdigest b/bin/htdigest index 4d33021..9e72932 100644 --- a/bin/htdigest +++ b/bin/htdigest @@ -1,3 +1,3 @@ #!/usr/bin/env node -node ../gensrc/htdigest.js \ No newline at end of file +require("../gensrc/htdigest"); \ No newline at end of file diff --git a/package.json b/package.json index 567e572..a27c758 100644 --- a/package.json +++ b/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": [ { @@ -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"]