Skip to content

Commit

Permalink
Add binary
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfiana Sibuea committed Aug 14, 2014
1 parent 77cc87f commit 1f4f48b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions bin/situs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env node

require('../src/main.js');
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
"name": "situs",
"version": "0.1.0",
"description": "Simple static site generator",
"main": "src/main.js",
"main": "./src/main.js",
"scripts": {
"test": "mocha"
},
"bin": {
"situs": "src/main.js"
"situs": "./bin/situs"
},
"preferGlobal": "true",
"repository": {
"type": "git",
"url": "git://github.com/fians/situs.git"
Expand Down

0 comments on commit 1f4f48b

Please sign in to comment.