You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add ability to bypass isNpm check with shouldNotifyInNpmScript option (#127)
* Added ability to bypass isNpm with 'shouldNotifyInNpmScript' option
* Updated readme with option
* Fixed grammatical error in readme
* Rename skipIsNpmCheck to shouldNotifyInNpmScript
* Refactored test to use renamed shouldNotifyInNpmScript property
Options object that will be passed to [`boxen`](https://github.com/sindresorhus/boxen).
155
155
156
+
##### shouldNotifyInNpmScript
157
+
158
+
Type: `boolean`<br>
159
+
Default: `false`
160
+
161
+
Allows notification to be shown when running as an npm script.
162
+
156
163
### User settings
157
164
158
165
Users of your module have the ability to opt-out of the update notifier by changing the `optOut` property to `true` in `~/.config/configstore/update-notifier-[your-module-name].json`. The path is available in `notifier.config.path`.
0 commit comments