README
A minimal generator for using webpack in a front-end environment.
Description
This is a minimal generator which scaffolds a front-end project featuring:
- Webpack
- Development server with hot code reload
- ES6 support
- ESLint
- Tern.js configuration
- Tape
- Optional React
Installation
First, install Yeoman and generator-frontend-webpack using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-frontend-webpack
Then generate your new project:
yo frontend-webpack
I suggest you to install a Tern.js plugin in your text editor for static code-analysis.
Usage
Run the hot code reloading server:
npm start
It will open a browser page.
Testing
npm test
Will run the Tape tests found
Coming in the future
- A real React project structure.
- Angular 1 & 2 scaffolding.
- Multiple testing libraries selection
Getting To Know Yeoman
- Yeoman has a heart of gold.
- Yeoman is a person with feelings and opinions, but is very easy to work with.
- Yeoman can be too opinionated at times but is easily convinced not to be.
- Feel free to learn more about Yeoman.
License
MIT © Alberto Nicoletti