Skip to content
A local environment to minify CSS, JS & HTML files
Branch: master
Clone or download
Latest commit 319e4df Nov 29, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Initial commit Nov 28, 2017
.gitignore Initial commit Nov 28, 2017
LICENSE Initial commit Nov 28, 2017
README.md Initial commit Nov 28, 2017
gulpfile.js
package-lock.json Initial commit Nov 28, 2017
package.json Initial commit Nov 28, 2017

README.md

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.

You can’t perform that action at this time.