From 9223e905ccd20b13e41deb8b4436e26f0690ac64 Mon Sep 17 00:00:00 2001 From: Eugene Matvejev Date: Sun, 19 Jun 2016 10:51:24 +0300 Subject: [PATCH] Update README.md --- README.md | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 43d3702..a90dbcb 100644 --- a/README.md +++ b/README.md @@ -14,9 +14,11 @@ composer require "eugene-matvejev/css-compiler" if you have problem with min-stability you can use this solution in '_require(-dev)_': _example_: ``` +"require": { "eugene-matvejev/css-compiler": "^0.1", "leafo/scssphp-compass": "@dev", - "leafo/scssphp": "@dev", + "leafo/scssphp": "@dev" +} ``` ### add callback into into composer's __scripts__: @@ -25,13 +27,13 @@ _example_: ``` _example_: ``` - "scripts": { - "post-update-cmd": "@custom-events", - "post-install-cmd": "@custom-events", - "custom-events": [ - "EM\\CssCompiler\\Handler\\ScriptHandler::compileCSS" - ] - }, +"scripts": { + "post-update-cmd": "@custom-events", + "post-install-cmd": "@custom-events", + "custom-events": [ + "EM\\CssCompiler\\Handler\\ScriptHandler::compileCSS" + ] +} ``` ### add _css-compiler_ information inside of the _extra_ composer configuration * _format_: compression format @@ -40,6 +42,7 @@ _example_: _example_: ``` +"extra": { "css-compiler": [ { "format": "compact", @@ -63,4 +66,5 @@ _example_: "output": "var/cache/assets/compass.css" } ] +} ```