Skip to content

Commit

Permalink
Merge pull request #13 from crazyfactory/11-build-has-error
Browse files Browse the repository at this point in the history
fix(cli): fix path
  • Loading branch information
cyberhck authored Nov 8, 2018
2 parents 6829cad + e5b4021 commit e9c5beb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ node_modules/
*.tgz
npm-debug.log*
yarn.lock
!lib/cli.js
4 changes: 0 additions & 4 deletions bin/index.js

This file was deleted.

4 changes: 4 additions & 0 deletions lib/cli.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env node

// fallback to global only if local doesn't exist!
require('fallback-cli')('@crazyfactory/uptrans/lib/index.js', "./index.js");
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"main": "./lib/index.js",
"bin": {
"uptrans": "./bin/index.js"
"uptrans": "./lib/cli.js"
},
"typings": "./lib/index",
"module": "./lib.es2015/index.js",
Expand Down

0 comments on commit e9c5beb

Please sign in to comment.