New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

generator-webpack-quick

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-webpack-quick

Generates a quick webpack bootstrap web application for prototyping

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

generator-webpack-quick NPM version Build Status Dependency Status

Generates a quick webpack bootstrap web application for prototyping

Installation

First, install Yeoman and generator-webpack-quick using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-webpack-quick

Then generate your new project:

yo webpack-quick

Getting started

To start, just run :

npm start

This will automatically open your browser and start the webpack-development-server, which refreshes your build on file change.

But Why ?

There are loads of generators for webpack and react, but all of them focus on large scale production applications, and are generally overkill when wanting to experiment around, or maybe make something simple. The fact of the matter is, you dont have to use complex architecture or a gigantic project structure to get a simple project up and running, but at the same time, its still quite a task to get even simple boilerplate for running ES6 or React. This generator :

  • Comes prepackaged with .jshintrc for code quality.
  • Sourcemaps included.
  • Has the option for installing jsx plugins in case you want to use react.
  • Has the option of including sass.
  • Uses only webpack and npm scripts for all build tasks.

Deploying a web application

Just run :

npm run build

And your website is ready to go, with minified and concatenated scripts. Just push to the gh-pages branch of your repo and view your site online.

License

MIT © sohamkamani

Keywords

yeoman-generator

FAQs

Package last updated on 29 Dec 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts