1.0.9 • Published 6 years ago
monotony v1.0.9
monotony
lack of variety and interest; tedious repetition and routine. (which is how I feel everytime I make a new react webpack build).
- babel
- react
- redux
- thunk
- express
- webpack
- server side rendering
- chunking
- dependancies
React with Redux, ran by Express, multi-target built by Webpack with Babel, dependency solution for client and server-side rendering.
CSS modules, code splitting, hydration, other buzz words.
why?
I prefer stitching together libraries to do what I need vs a framework, it's more fun. But alas, I put together my very opinionated "framework" to decouple my build and scoffolding to an external project to be re used.
Better documentation, linting, and other stuff, and cleanup, and I use this for personal.
Any feedback/recommendations is greatly appreciated.
your documentation is super poor, spoon feed me the project setup...
K, clone this repo, fish around, use it as yours, enjoy
basic usage:
npm install monotony --save- create files (these files are ran through babel, look at
/examples/dir)monotony.config.jsreturn thename,routes, andreducersroutes.jsthat follows the Route Configuration Shapemonotony.client.jsimportClient, pass in the config, and start er upmonotony.server.jsimportServer, pass in the config, attach anything you want toapp(express)
package.json, addstartandbuildscripts:
"start": "monotony start",
"build": "monotony build"npm run startto spin up your local, hit localhost:9090 and profit