This generator was orginally forked from generator-create-redux-app and has been adapted to the Cognite Way™
This generator adds Redux, styled-components and other useful libraries and tools on top of the most common React starter Create React App. It also provides a folder structure and code style based on what is considered best practices. Below you will find some information on how to perform common tasks.
yarn global add yoyarn global add @cognite/generator-create-react-redux-app
Then generate your new project:
mkdir project-namecd project-nameyo @cognite/create-react-redux-app
Once the installation is done, these commands are available to you
yarn start // start dev serveryarn test // run tests in watch modeyarn build // build for productionyarn generate // generate new components, containers or modules