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

11 years ago

0.1.212

11 years ago

0.1.211

11 years ago

0.1.210

11 years ago

0.1.209

11 years ago

0.1.208

11 years ago

0.1.207

11 years ago

0.1.206

11 years ago

0.1.204

11 years ago

0.1.203

11 years ago

0.1.202

11 years ago

0.1.201

11 years ago

0.1.153

11 years ago

0.1.152

11 years ago

0.1.151

11 years ago

0.1.15

11 years ago

0.1.14

11 years ago

0.1.13

11 years ago

0.1.12

11 years ago

0.1.11

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago