Skip to content

AdrianQL/webpack-generator-aql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webpack-generator-aql

Friendly "webpack" command line generator.

Table of Contents

About

It is possible that when configuring webpack, it can be somewhat tedious. webpack-generator-aql provides the ability to create a project based on webpack technology fast, clean and easy.

With a simple command we can generate a project with changes in real time to start a technical test, carry out quick tests as an ideas laboratory or to start projects in a scalable way.

How to install

To carry out the installation of the generator, the following command must be carried out

npm i --save-dev webpack-generator-aql

It should be noted that the optimal scenario will be a global installation to be able to use said command anywhere -g

Once the command is finished we will have at our disposal the wpg command in our preferred terminal.

Usage: wpg <command> [options]

Options:
 -h, --help                     display help for command

Commands:
 init [options] [project-name]  create a new webpack project
 help [command]                 display help for command

Example call:
 $ wpg init project-name

This command contains the init action which spawns the project.

wpg init [project-name]

The init command contains the help options and the option to skip folder generation.

Usage: wpg init [options] [project-name]

initialize a new webpack project

Arguments:
  project-name          [OPTIONAL] Name of the project (default: "webpack-aql-project")

Options:
  -f, --skipped-folder  does not create folder
  -l, --launch          project auto launch
  -i, --info            info about the project
  -h, --help            display help for command