Skip to content

Commit

Permalink
Add update-notifier #27
Browse files Browse the repository at this point in the history
  • Loading branch information
VovanR committed Jan 4, 2016
1 parent d63a471 commit 6dd7eb0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions bin/bemstyla.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ var program = require('commander');
var _ = require('lodash');
var pkg = require('../package.json');
var fs = require('fs');
var updateNotifier = require('update-notifier');

program
.version(pkg.version)
Expand All @@ -26,6 +27,8 @@ program
})
.parse(process.argv);

updateNotifier({pkg: pkg}).notify();

if (program.args.length < 1) {
program.help();
}
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"fs": "0.0.2",
"lodash": "^3.10.1",
"mkdirp": "^0.5.1",
"path": "^0.12.7"
"path": "^0.12.7",
"update-notifier": "^0.6.0"
}
}

0 comments on commit 6dd7eb0

Please sign in to comment.