/my_react_template

npm script for react template for me.

Primary LanguageJavaScript

my_react_template

This is my react app template. A collection of packages that build a react website using npm scripts.

Dependent

  • node
  • npm

Quick start

git clone git@github.com:shenqihui/my_react_template.git
cd my_react_template
npm install

Available tasks

define in package.json ’s scripts:

  • clean
  • autoprefixer
  • less
  • lint
  • jsxhint
  • react
  • uglify
  • imagemin
  • icons
  • serve
  • build:less
  • build:js
  • build:img
  • build:all
  • watch:less
  • watch:js
  • watch:img
  • watch:all
  • postinstall

Reference: npm-build-boilerplate

Help

Feel free to create an issue, weibo me, or send me an email. I'd be glad to help where I can!