Skip to content

4mgad/ShrinkApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShrinkApp is a build utility for HTML5 applications (preferably single page applications). The goal is to produce a production ready HTML5 application with minified css and js files along with the relevant HTML markup changes.

Features

Tested On

  • AngularJS's seed application (https://github.com/angular/angular-seed)
  • Bootstrap template from initializr.com
  • Classic template from initializr.com
  • Responsive template from initializr.com
  • Bootstrap template from initializr.com
  • HTML5 Boilerplate template from html5boilerplate.com. Version: 4.2.0
  • Mobile Boilerplate template from html5boilerplate.com/mobile. Version: 4.1
  • Twitter Bootstrap template from getbootstrap.com/2.3.2

Install

First make sure you have installed the latest version of node.js (You may need to restart your computer after this step).

From NPM for use as a command line app:

On Linux:

    npm install shrinkapp@linux -g

On Windows:

    npm install shrinkapp@windows -g

From NPM for programmatic use:

On Linux:

    npm install shrinkapp@linux

On Windows:

    npm install shrinkapp@windows

From Git:

    git clone git://github.com/4mgad/ShrinkApp.git
    cd ShrinkApp
    npm link .

Usage

    shrinkapp [source directory] [options]

The available options are:

  -c, --create-app [app-name]
        Create a default app.json under the specified source directory.

  -f, --force
        overwrite files.

  -a, --analysis
        Display analysis data after shrink.

  -v, --version
        Display package version.

  -h, --help
        Display help.

About

ShrinkApp is a build utility for HTML5 applications (preferably single page applications). The goal is to produce a production ready HTML5 application with minified css and js files along with the relevant HTML markup changes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors