GitXplorerGitXplorer
t

craft-redux

public
25 stars
2 forks
4 issues

Commits

List of commits on branch master.
Unverified
45b7a7e8ea3a7b196faf23d7923d501c2d51bad2

add eslintConfig to package.json #3

ttuchk4 committed 8 years ago
Unverified
63a3ec6d9f7bd8036549fbb0bb464a8aece05225

Update README.md

ttuchk4 committed 8 years ago
Unverified
84cdf383aa2ffa23f89dcdcb18eebce25721340c

Merge pull request #1 from timarney/patch-3

ttuchk4 committed 8 years ago
Unverified
5ba40ff6527423d7233f52960a39df26680752a9

Update README.md

ttimarney committed 8 years ago
Unverified
075799508e6fcb475ec708733786f58d1c8bd6ad

- update README:

ttuchk4 committed 8 years ago
Unverified
8e60fd79f36136c4e5712748f87cac43ad17d921

- add dotenv as dev dep

ttuchk4 committed 8 years ago

README

The README file for this repository.

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

General Resources

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

Displaying Map in state #124

Import set.prototype.tojson and map.prototype.tojson for correct view of Map and Set structures at Redux Chrome extension.


App Redux Chrome dev tools
CRAFT Redux Screenshot Alt text

npm start

Runs the app in development mode.
Open http://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.

Build errors

npm test

Runs the test watcher in an interactive mode.
By default, runs tests related to files changes since the last commit.

Read more about testing.

npm run build

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!


Troubleshooting

scripts/*-env.js

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.