Skip to content

vinsonchuong/build-html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

build-html

Build Status

Compile and minify a html entry point for an application.

Installing

build-html is available as an npm package.

Usage

Add build-bin and build-html to the package.json.

{
  "name": "project",
  "private": true,
  "scripts": {
    "build": "build"
  },
  "devDependencies": {
    "build-bin": "^0.0.6",
    "build-html": "^0.0.1"
  }
}

From the command line, run:

npm run build

build-html will read src/index.html, minify it and save the result to dist/index.html.

Development

Getting Started

The application requires the following external dependencies:

  • Node.js

The rest of the dependencies are handled through:

npm install

Run tests with:

npm test

About

Compile and minify a html entry point for an application.

Resources

License

Stars

Watchers

Forks

Packages

No packages published