alajmo / huel

:wrench: A web development tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Huel

A highly opinionated build and development tool for web projects.

Table of Contents

Features

A concatenation of the following tools, hidden behind a minimalistic command-line-interface:

Motivation

When you rely on microservice architecture or merely deploy multiple similar web projects, you find yourself replicating a lot of mundane work, and that's where Huel comes in. It allows you to hide all the configuration files and scripts behind a few commands defined in your package.json file. There's also a huel init command which bootstraps your project with various build and development scripts and also adds commitlint, a git hook which lints your commits.

Requirements

  • Node > 8

Get Started

Install

npm install --save-dev huel

Usage

Production build

huel build --template src/index.html --entry src/index.js --output dist/

Development server

huel build --env development --debug -w --port 1337 --template src/index.html --entry src/index.js --output dist/

Package Tests

huel test --all --verbose

NOTE

You have to stand in the root directory of your application, the same directory as your package.json for any of the commands to work.

Misc

Some helpful resources:

Contributing

Follows Conventional Commits.

About

:wrench: A web development tool


Languages

Language:JavaScript 96.2%Language:CSS 3.3%Language:HTML 0.6%