2.0.3 • Published 3 years ago

automin v2.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Automin

Create minified mirror of your JS, CSS, HTML, JSON files.

Installation

With NPM: npm install -g automin

or

  • git clone https://github.com/jxmked/Auto-Min.git
  • cd Auto-Min && npm install && npm link .

Command

FlagsDescriptionAction
-h, --helpPrint HelpOptional
-i, --inputInput DirectoryRequired
-o, --outputOutput DirectoryRequired
--overwriteRemove all files from output folderOptional
--mergeKeep old files from outout folder and overwrite files that has been processed from input folderoptional

Note: --merge and --overwrite cannot be use at the same time

Notes:

  • Output folder will be overwritten and remove files that doesn't belong to original copies
  • Install it globally

Some Notes

Can work Offline after installation.

Easy To use, just automin -i <input> -o <output> and wait until its done.

Using uglifyjs nameCache feature to preserve function names for next-file-use.

Files with file format of .js .css, .html, .json can be minified.

Other minifiers can be implemented easily by editing ./src/components/minifier.ts file.

Except for files with .min. before extension.

Force skip for .git and node_modules

Dependencies


Written by Jovan De Guia

Socials

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.1.0

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.0

3 years ago

0.1.213

10 years ago

0.1.212

10 years ago

0.1.211

10 years ago

0.1.210

10 years ago

0.1.209

10 years ago

0.1.208

10 years ago

0.1.207

10 years ago

0.1.206

10 years ago

0.1.204

10 years ago

0.1.203

10 years ago

0.1.202

10 years ago

0.1.201

10 years ago

0.1.153

10 years ago

0.1.152

10 years ago

0.1.151

10 years ago

0.1.15

10 years ago

0.1.14

10 years ago

0.1.13

10 years ago

0.1.12

10 years ago

0.1.11

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago