Skip to content

Commit

Permalink
Clean up and add package.json for automatic dependencies
Browse files Browse the repository at this point in the history
Change-Id: I9bfa52d29ca2b96bbd9d20fbed33f2e70b90e4d7
  • Loading branch information
creationix committed Sep 15, 2011
1 parent 9529699 commit 8c92850
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
@@ -0,0 +1,2 @@
node_modules

18 changes: 18 additions & 0 deletions package.json
@@ -0,0 +1,18 @@
{
"author": "Tim Caswell <tim@creationix.com>",
"name": "gisty",
"description": "A Gist-like server but with a little more...",
"version": "0.0.0",
"repository": {
"type": "git",
"url": "git://github.com/creationix/gisty.git"
},
"engines": {
"node": ">=0.4.4"
},
"dependencies": {
"creationix": ">=0.1.5",
"stack": ">=0.0.3"
},
"devDependencies": {}
}
2 changes: 1 addition & 1 deletion server.js
Expand Up @@ -8,7 +8,7 @@ var handle = Stack(
Creationix.log(),
require('./lib/subApp')("/git/",
require('./lib/basicAuth')(require('./lib/myAuth'), "Git Repos"),
require('./lib/gitHttp')("/", "/home/tim/git")
require('./lib/gitHttp')("/", process.env.HOME + "/git")
),
Creationix.static("/", __dirname + "/www", "index.html")
);
Expand Down

0 comments on commit 8c92850

Please sign in to comment.