The missing react/redux framework.
The goal of this project is to provide a framework for building, testing and bootstrapping React/Redux applications so you can focus on coding instead of spending hours (or days) creating your own build process or customizing a starter kit.
- node
^4.2.0
- npm
^3.0.0
- CSS modules
- SASS/SCSS
- PostCSS
- Babel compilation (with
es2015
,react
andstage-0
presets built-in) - Unit testing using Mocha
- Lightweight Koa server
- Hot module reloading
- Universal application support
- Flow support
- Linting
- Redux store with support for lazy loading reducers
- Asynchronous route loading
- Code generation
- Command-line interface
npm install --save rochdev/duxer
These are commands that you can use in any of your scripts in package.json
:
duxer start
start a server serving files indist
duxer dev
start a development server with hot module reloadingduxer test
run unit testsduxer build
build the application and output todist
The configuration is based on node-config.
-
language
The language to use for your project. Valid values are:
es5
,es2015
,stage-0
,stage-1
,stage-2
,stage-3
. See the babel documentation for the meaning of each stage.Coming soon:
ts
-
chunks
Lists of dependencies to split into chunks. Anything else will go into the
app
default chunk. If one or more additional chunks are specified, any common dependencies will automatically be extracted to avendor
chunk.
{
"language": "es5"
}
{
"language": "stage-0",
"chunks": {
"vendor": [
"history",
"react",
"react-redux",
"react-router",
"react-router-redux",
"redux"
]
}
}
This project is based on the excellent React Redux Starter Kit