0.1.3 • Published 10 years ago
tradie-template-react-redux-universal v0.1.3
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:
@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 assertionssinonandsinon-chaifor assertions on spies and stubsrender()global for shallow rendering ofreactcomponents$global for assertions onreactvirtual-dom trees
- rendered on the server
- livereloading
Installation
npm install -g tradie tradie-template-react-redux-universalUsage
mkdir my-react-project && cd my-react-project
tradie init --force --template=react-redux-universal
npm install