Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@ dependencies are provided below.

3. Install required Node.js CLI apps:<br><br>
From a shell window (`Terminal` on Mac OS X, `CMD.exe` on Windows) issue the following command:<br><br>
`npm install -g clean-css-cli uglifycss js-beautify html-minifier uglify-js minjson svgo`<br><br>
`npm install -g clean-css@3.4.24 uglifycss js-beautify html-minifier uglify-js minjson svgo`<br><br>
Notes:<br><br>
If you are on Mac OS X and you get an error here then issue the following command from `Terminal`:
`sudo chown -R $USER /usr/local` and then try to issue the npm install command from above again.<br><br>
If you are never going to work with e.g. SVG files then you can leave out `svgo` from the above npm
install command. You can also leave out `uglifycss`, etc.<br><br>
If you already have some or all of the above Node.js CLI apps installed on your system then it is
recommended to update them all to the latest version with the following command:<br><br>
`npm update -g clean-css-cli uglifycss js-beautify html-minifier uglify-js minjson svgo`<br><br>
`npm update -g clean-css@3.4.24 uglifycss js-beautify html-minifier uglify-js minjson svgo`<br><br>
Please test that the installed Node.js CLI apps are available via your `PATH`, here is how:<br><br>
Still from a shell window (`Terminal` on Mac OS X, `CMD.exe` on Windows) issue the following command,
for example:<br><br>
Expand All @@ -72,7 +72,7 @@ dependencies are provided below.
You may want to do this test for all Node.js CLI apps (`cleancss`, `uglifycss`, `js-beautify`, `html-minifier`,
`uglifyjs`, `minjson` and `svgo`).<br><br>

##How to use `Minify`
## How to use `Minify`

Open a `.css` or `.htm` or `.html` or `.js` or `.json` or `.svg` file in your Sublime Text editor and you can

Expand Down Expand Up @@ -111,7 +111,7 @@ Please do not edit the **Settings - Default** file!!
Also, you can override the default and user settings for individual projects. Just add a "Minify" object to the "settings" object
in the project's .sublime-project file containing your [project specific settings](http://www.sublimetext.com/docs/3/projects.html).

###Example:
### Example:

```json
{
Expand All @@ -129,6 +129,6 @@ in the project's .sublime-project file containing your [project specific setting
}
```

##License
## License

See [LICENSE.md](https://github.com/tssajo/Minify/blob/master/LICENSE.md) file for licensing information.