Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/abdellatiflabr/boiler

Project boilerplate generator with Webpack
https://github.com/abdellatiflabr/boiler

boilerplate-generator css html js node pug scss ts webpack

Last synced: 28 days ago
JSON representation

Project boilerplate generator with Webpack

Awesome Lists containing this project

README

        

# Boiler
Project boilerplate generator with **Webpack**.

## Install
```bash
$ npm install -g @tifo18/boiler
```

## Usage
```bash
$ boiler --help
Usage: app [options]

Options:
-d, --directory Project creation directory
-e, --entries Project entry files names, default: main
--js Set scripting language to Javascript
--ts Set scripting language to Typescript
--html Set templating language to HTML
--pug Set templating language to PUG (HTML preprocessor)
--css Set styling language to CSS
--scss Set styling language to SCSS/SASS
--purge-css Enable purge-css plugin (get rid of unused css styles)
--git Initialize a git repository with a custom .gitignore file
-h, --help output usage information
```

## Example
```bash
$ boiler -d example --html --scss --ts --purge-css --git
CREATE example\webpack.config.js
CREATE example\src\ts\main.ts
CREATE example\tsconfig.json
CREATE example\src\scss\styles.scss
CREATE example\src\index.html
RETRIEVE Dependencie:version...
CREATE example\package.json
😊 Don't forget to run npm install
> git init
CREATE example\.gitignore
```

## License
**Boiler** is freely distributable under the terms of the [MIT License](https://github.com/labTifo/boiler/blob/master/LICENSE).