From ce6ce5588ccd47a2cd40ab14fe133904b977f746 Mon Sep 17 00:00:00 2001 From: deepsweet Date: Thu, 29 Dec 2016 15:46:03 +0100 Subject: [PATCH] :pencil: update readme --- readme.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/readme.md b/readme.md index 2f3873e..6165861 100644 --- a/readme.md +++ b/readme.md @@ -17,8 +17,10 @@ Pretty reporter for [Start](https://github.com/start-runner/start). ## Install -``` -npm i -S start-pretty-reporter +```sh +npm install --save-dev start-pretty-reporter +# or +yarn add --dev start-pretty-reporter ``` ## Usage @@ -32,16 +34,14 @@ import read from 'start-read'; import babel from 'start-babel'; import write from 'start-write'; -export function build() { - return start(reporter())( - files('build/'), - clean(), - files('lib/**/*.js'), - read(), - babel(), - write('build/') - ); -} +export const build = () => start(reporter())( + files('build/'), + clean(), + files('lib/**/*.js'), + read(), + babel(), + write('build/') +); ``` See [documentation](https://github.com/start-runner/start#readme) for details.