0.2.0 • Published 8 years ago

wern-cli v0.2.0

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

wern-cli

A Comprehensive Guide for React Boilerplate containing Webpack, Gulp, React, Redux, Router, Immutable, etc.

Installation

First, install wern-cli using npm (we assume you have pre-installed node.js).

npm install -g wern-cli

Then generate your new project:

mkdir demo
cd demo
wern init

Install Dependencies

cd demo && npm install

start your project server:

npm install -g gulp
gulp dll
gulp server

Unit Test

npm run test

or watch test

npm run test-watch

build your project:

gulp build

Generate your module

werng moduleName

Note: The "moduleName" is you enter module name. After exec this command, it will create "react component", "redux action", ande "redux reducer" etc.

Wern Cli Development

wern templates

The wern-cli generator react templates can download from the github https://github.com/enjoyfuture/wern-template.

compile

npm run compile

npm publish

npm publish

Change Log

Change Log

Help and Version

wern -v // Check CLI version
wern --help // Get help and check usage

Frameworks and Tools

Unit Test Frame

License

MERN is released under the MIT License.