tradie-template-react-redux-universal
v0.1.3
Published
A Universal React+Redux template for tradie.
Downloads
20
Maintainers
Readme
tradie-template-react-redux
A Universal React+Redux template for tradie.
Creates a UniversalJS Hello World!
app using react
, redux
, react-router
and redial
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 assertionssinon
andsinon-chai
for assertions on spies and stubsrender()
global for shallow rendering ofreact
components$
global for assertions onreact
virtual-dom trees
- rendered on the server
- livereloading
Installation
npm install -g tradie tradie-template-react-redux-universal
Usage
mkdir my-react-project && cd my-react-project
tradie init --force --template=react-redux-universal
npm install