Skip to content

Commit

Permalink
update notifier
Browse files Browse the repository at this point in the history
  • Loading branch information
sadorlovsky committed Dec 17, 2016
1 parent 1892b51 commit 46af7e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
"promise.any": "^0.1.0",
"read-pkg": "^2.0.0",
"read-pkg-up": "^2.0.0",
"update-notifier": "^1.0.3",
"user-email": "^1.0.1",
"user-fullname": "^0.3.0"
}
Expand Down
4 changes: 4 additions & 0 deletions src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

import meow from 'meow'
import chalk from 'chalk'
import updateNotifier from 'update-notifier'
import map from 'lodash/fp/map'
import pkg from '../package.json'
import license, { list } from './lissie'

const cli = meow(`
Expand Down Expand Up @@ -39,6 +41,8 @@ if (cli.input[0] === 'list') {
.then(() => process.exit())
}

updateNotifier({ pkg }).notify()

license(cli.input[0] || 'mit', {
author: cli.flags.author,
year: cli.flags.year,
Expand Down

0 comments on commit 46af7e1

Please sign in to comment.