Promote installing as dev dependency (#981)
authorMarkus Oberlehner <maoberlehner@users.noreply.github.com>
Tue, 31 Oct 2017 10:26:22 +0000 (11:26 +0100)
committerJakub Pawlowicz <contact@jakubpawlowicz.com>
Tue, 31 Oct 2017 10:26:22 +0000 (11:26 +0100)
clean-css is a typical dev dependency which should be installed as such
in most of the cases. By providing an example code snippet with the
`--save-dev` option, we're helping the users to do the right thing.

README.md

index 62a446c..83b91fa 100644 (file)
--- a/README.md
+++ b/README.md
@@ -61,7 +61,7 @@ clean-css requires Node.js 4.0+ (tested on Linux, OS X, and Windows)
 # Install
 
 ```
-npm install clean-css
+npm install --save-dev clean-css
 ```
 
 # Use