tradie-template-react
v0.4.2
Published
A React template for tradie.
Downloads
29
Readme
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:
@import
ing styles fromnpm
packages@import
ing styles once to avoid redundant bytes- rewriting relative asset URLs and copying assets
autoprefixer
- minification
- testing of scripts, including:
chai
'sexpect
global for assertionsrender()
global for shallow rendering ofreact
components$
global for assertions onreact
virtual-dom trees
- static server
- livereloading
Installation
npm install -g tradie tradie-template-react
Usage
mkdir my-react-project && cd my-react-project
tradie init --force --template=react
npm install