From ddcef20649c70bde217af6715c74635852298b0e Mon Sep 17 00:00:00 2001 From: anseki Date: Thu, 4 Dec 2014 19:28:21 +0900 Subject: [PATCH] Add Task Runner plugins to README --- README.md | 4 ++++ package.json | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1b7e8ef..8d6ae37 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,10 @@ cmd = readlineSync.prompt(); ## With Task Runner +The easy way to control the flow of task runner by the user's response: +* [Grunt](http://gruntjs.com/) plugin: [grunt-confirm](https://github.com/anseki/grunt-confirm) +* [gulp](http://gulpjs.com/) plugin: [gulp-confirm](https://github.com/anseki/gulp-confirm) + If you want to control the flow of task runner (e.g. [Grunt](http://gruntjs.com/)), call readlineSync in a task callback that is called by task runner. Then the flow of tasks is paused and it is controlled by user. Example: by using [grunt-task-helper](https://github.com/anseki/grunt-task-helper) diff --git a/package.json b/package.json index 9435f3b..50ca969 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "readline-sync", - "version": "0.4.9", + "version": "0.4.10", "title": "readlineSync", "description": "Synchronous Readline", "keywords": [ @@ -26,4 +26,4 @@ "name": "anseki", "url": "https://github.com/anseki" } -} \ No newline at end of file +}