UNPKG

npm-npw

Version:

Wraps `npm 5` with extra commands and corrects line-endings in `package*.json` to match .git config.

12 lines (9 loc) 247 B
'use strict'; const updateNotifier = require('update-notifier'); const pkg = require('../package.json'); module.exports = function notifier() { updateNotifier({ pkg, updateCheckInterval: 1000 * 60 * 60 // 1 hour }).notify(); };