Reason-react starter kit
Reason starter kit for creating react library.
Clone this repository and install its dependencies:
git clone https://github.com/katmai7/reason-react-rollup-starter-kit.git cd reason-react-rollup-starter-kit yarn install
yarn devbuild lib in dev mode
yarn buildbuild lib for production
yarn examplerun example server
yarn testrun tests
yarn cleancleaning project
Running the following command will open your default browser to
Any modifications inside
./src trigger a browser refresh.
Running the following command will build
The example app is running with the webpack as one of the main builders for web apps.
Note that example app needs to build
./src/index.re file, so before running the example app, run
yarn dev yarn example
Running the following command will run tests with Jest framework.
Running the following command will clean project folders that are created by bucklescript and dist/temp/(folders you don't need to commit) folders.