0.4.2 • Published 10 years ago
tradie-template-react v0.4.2
tradie-template-react
A React template for tradie.
Creates a Hello World! app using react, written in ES2015 and JSX.
Features:
- linting of scripts
- bundling of scripts, including:
- transpilation
- minification
- bundling of styles, including:
@importing styles fromnpmpackages@importing styles once to avoid redundant bytes- rewriting relative asset URLs and copying assets
autoprefixer- minification
- testing of scripts, including:
chai'sexpectglobal for assertionsrender()global for shallow rendering ofreactcomponents$global for assertions onreactvirtual-dom trees
- static server
- livereloading
Installation
npm install -g tradie tradie-template-reactUsage
mkdir my-react-project && cd my-react-project
tradie init --force --template=react
npm install