This project was bootstrapped with Create React App and CRAFT.
If you are interested in this template - let me know - tweet me @tuchk4 or file an issue here.
I will add more features and tests.
npm i -g craftool
craft MyAppRedux https://github.com/tuchk4/craft-redux/archive/master.zip
Please read official Create React App guide and don't try to customize configs because I am sure that all your requirements are reachable in 100% without config customizing or ejecting.
Why I love Create React App and don't want to eject
- Redux Logger
- Redux Thunk
- compose with Redux Chrome extension for development env.
Import
set.prototype.tojson
andmap.prototype.tojson
for correct view ofMap
andSet
structures at Redux Chrome extension.
App | Redux Chrome dev tools |
---|---|
Runs the app in development mode.
Open https://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will see the build errors and lint warnings in the console.
Runs the test watcher in an interactive mode.
By default, runs tests related to files changes since the last commit.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
We need this script because we can not run this
{
"scripts": {
"test": "node -r dotenv/config ./node_modules/.bin/react-scripts test dotenv_config_path=development.env",
}
}
Because jest
will accept dotenv_config_path=development.env
as regex for test files.