-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to allow install as global NPM package
- Loading branch information
1 parent
128cea2
commit 07389be
Showing
5 changed files
with
31 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
.idea | ||
node_modules | ||
npm-debug.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.npmignore | ||
.test | ||
coffeelint.json | ||
etc/dep-graph |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
#!/usr/bin/env coffee | ||
require('es6-promise').polyfill() | ||
require 'colors' | ||
_ = require 'lodash' | ||
stacker = require '../lib/stacker_lib' | ||
#!/usr/bin/env node | ||
require('coffee-script/register'); | ||
require('es6-promise').polyfill(); | ||
require('colors'); | ||
|
||
process.on 'uncaughtException', (error) -> | ||
console.log 'unhandled exception!'.red | ||
console.log error | ||
console.log error.stack | ||
process.on('uncaughtException', function(error) { | ||
console.log('unhandled exception!'.red); | ||
console.log(error); | ||
console.log(error.stack); | ||
}); | ||
|
||
# DO IT! | ||
stacker.boot() | ||
require('../lib/stacker_lib').boot(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters