npm.io
1.0.12 • Published 7 years agoCLI

react-webpack-seed

Licence
ISC
Version
1.0.12
Deps
6
Size
786 kB
Vulns
0
Weekly
0

React-Webpack-Seed

A no nonsense, no gyp dependency, simple seed for React with Webpack.

Author

Brandon Cooke

Installation

NPM
npm install --save react-webpack-simple

then run

./node_modules/.bin/react-webpack-setup

or

start node_modules\.bin\react-webpack-setup

This will copy the seed into a folder called webapp into your project root.

Git
git clone https://github.com/BrandonCookeDev/react-webpack-seed.git

then in the cloned directory

npm install

Running development server

Build the webpack bundle of everything in the src directory, and then launch the development webpack server:

npm run dev

Additionally, you can choose to build the webpack independently of launching the server

npm run build

And you can build and watch the file with

npm run watch

Keywords