Skip to content

amardeeprai/local-minifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

local-minifier

This is a local environment that you can use to minify your CSS, JS, & HTML files.

Getting Started

Download / Clone

Start by cloning or downloading the source files.

Clone the repo using Git:

git clone https://github.com/amardeeprai/local-minifier.git

Alternatively you can download this repository.

Install required modules

Open your terminal window and change into the source diectory where you have cloned or downloaded the repo to. Run the command:

npm install

NOTE:You will need node.js installed on your computer before you can run this command.

Initialise the environment

Open your terminal window and change into the source diectory where you have cloned or downloaded the repo to.

Once all of the required node modules have been downloaded and installed, run the command

gulp

This will generate the CSS, JS, & HTML files.

Generating HTML files

You can generate HTML files by running the following command:

gulp pages

NOTE: this can only be run from the directory where you have cloned or downloaded the repo to.

Generating CSS files

You can generate CSS files by running the following command:

gulp styles

NOTE: this can only be run from the directory where you have cloned or downloaded the repo to.

Generating JS files

You can generate JS files by running the following command:

gulp scripts

NOTE: this can only be run from the directory where you have cloned or downloaded the repo to.

License

Copyright 2017 Amardeep Rai. Licensed under an Apache-2 license.

About

A local environment to minify CSS, JS & HTML files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published