0.1.2 • Published 8 years ago

webpack-boilerplate-generator v0.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

webpack-boilerplate-generator

A CLI tool for generating boilerplates for webpack projects.

This is still experimental. The code isn't that great, and it could probably be faster (this is my first CLI tool, so I am learning). I am also not that versed in the ways of webpack, so I am totally cool with discussions and PR's from smarter people.

You can find a TODO list here.

Installation

npm i -g webpack-boilerplate-generator

Usage

boilerplate init

Example:

Project name: ExampleApp
Source directory: app
Main entry point: index.js
Test directory: app/test
Dependencies: react redux
Dev dependencies: karma jasmine

This will set up a project structure and install your npm dependencies for you. After it goes through that process, it generates a simple webpack configuration and installs npm dependencies for that as well. This will generally take two or three minutes depending on the amount of dependencies you specify.

Build from source

Install dependencies.

npm i

Symlink the package folder.

npm link

You should now be able to run boilerplate init in any directory.

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago