From 8df01b35fbb8093e91d79fdf9900c344c2236f08 Mon Sep 17 00:00:00 2001 From: Renato Augusto Gama dos Santos Date: Wed, 12 Sep 2018 02:45:55 -0300 Subject: [PATCH] Fix docs position of `shouldNotifyInNpmScript` (#143) --- readme.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/readme.md b/readme.md index d8b84e0..60f4ae9 100644 --- a/readme.md +++ b/readme.md @@ -115,6 +115,13 @@ Type: `Function` Passing a callback here will make it check for an update directly and report right away. Not recommended as you won't get the benefits explained in [`How`](#how). `update` is equal to `notifier.update`. +#### shouldNotifyInNpmScript + +Type: `boolean`
+Default: `false` + +Allows notification to be shown when running as an npm script. + ### notifier.notify([options]) Convenience method to display a notification message. *(See screenshot)* @@ -153,12 +160,6 @@ Default: `{padding: 1, margin: 1, align: 'center', borderColor: 'yellow', border Options object that will be passed to [`boxen`](https://github.com/sindresorhus/boxen). -##### shouldNotifyInNpmScript - -Type: `boolean`
-Default: `false` - -Allows notification to be shown when running as an npm script. ### User settings