All the dependencies can be install via your favorite package manager:
yarn install
# Or
npm install
That's it! You're up and running, you can start the project with:
yarn start
# Or
npm run start
Assuming you're developing with Visual Studio Code (if you're not, you should definitely give it a shot, it's awesome), all you need to develop is this extension: vscode-reasonml.
This will give you compilation errors in the editor and code intelliscence.
This project uses Jest as a test framework. You can run the tests of the project with:
yarn test
# Or
npm run test
To create a production build of the application, you can run:
yarn build
# Or
npm run build
This will output the compiled files in build/
.
The following snippet describes FP CheatSheet's repository structure.
.
├── config/
| Configuration files used to build the project, such as the webpack configuration.
│
├── public/
| Static assets that you want to include when serving your application.
│ The content of this folder will get copied to the production build.
│
├── src/
| Source code of the project application.
│
├── tests/
| Unit tests of the project.
│
├── LICENSE
│
├── package.json
│
└── README.md