Compile and minify a html entry point for an application.
build-html
is available as an
npm package.
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
.
The application requires the following external dependencies:
- Node.js
The rest of the dependencies are handled through:
npm install
Run tests with:
npm test