https://github.com/jlgarridol/minithunder
Minimize your projects to prepare them for production - Mirror of https://gitlab.com/CodeSolutionsProject/MiniThunder
https://github.com/jlgarridol/minithunder
Last synced: 4 days ago
JSON representation
Minimize your projects to prepare them for production - Mirror of https://gitlab.com/CodeSolutionsProject/MiniThunder
- Host: GitHub
- URL: https://github.com/jlgarridol/minithunder
- Owner: jlgarridol
- License: lgpl-3.0
- Created: 2017-06-26T15:38:49.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-26T10:45:41.000Z (about 8 years ago)
- Last Synced: 2025-03-30T13:37:03.548Z (7 months ago)
- Language: Shell
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MiniThunder
## Minimize project to production, saving space (Not reversible)
### Python version
It supports html/css/js files
#### Requires
* [jsmin](https://github.com/tikitu/jsmin/) - MIT
* [rcssmin](http://opensource.perlig.de/rcssmin) - APACHE 2.0#### Use
```
python minithunder.py Folder/proyect Folder/minified
```
---
### Bash version
It supports html/xml,js,css,png and jpg files
#### Requires
* [html-minifier](https://www.npmjs.com/package/html-minifier)
* [clean-css-cli](https://www.npmjs.com/package/clean-css)
* [uglify-js](https://www.npmjs.com/package/uglify-js)
* [optipng](http://optipng.sourceforge.net/) - ZLIB LICENSE (OPEN SOURCE)
* [jpegoptim](http://freecode.com/projects/jpegoptim) - GPL#### Use
```
bash minithunder.sh Folder/proyect
```#### Install dependencies in Debian and derivates (All as root)
```
# apt install optipng jpegoptim uglifyjs cleancss npm
# npm install html-minifier -g
```#### Install dependencies in Archlinux (All as root)
```
# pacman -S optipng jpegoptim npm
# npm install html-minifier clean-css-cli uglify-js -g