Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed Jun 12, 2018
1 parent 8c60223 commit 5f6f6e1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 0 additions & 3 deletions bin/index.js

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.14.0",
"description": "Serves JSON files through REST routes.",
"main": "./lib/server/index.js",
"bin": "./bin/index.js",
"bin": "./lib/cli/bin.js",
"directories": {
"test": "test"
},
Expand Down
2 changes: 2 additions & 0 deletions src/cli/bin.js
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
#!/usr/bin/env node
require('please-upgrade-node')(require('../../package.json'))
require('./')()

0 comments on commit 5f6f6e1

Please sign in to comment.