From 7b0562a1c701d039208d9f4f27829dc5b17877fa Mon Sep 17 00:00:00 2001 From: Akihiro Sanada <104610779+AkihiroSanada@users.noreply.github.com> Date: Mon, 8 Jul 2024 17:09:29 +0900 Subject: [PATCH] change from `make` to `npm run` (#845) --- docs/installation.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/installation.md b/docs/installation.md index 13c442bba..174312583 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -37,13 +37,13 @@ The `.re`/`.ml` files compile to straightforward `.js` files inside your `_build git clone https://github.com/melange-re/melange-opam-template my-reason-react-app # This will initialise the opam switch and install all the dependencies (from both opam and npm) -cd my-reason-react-app && make init +cd my-reason-react-app && npm run init # We install native dependencies (melange, dune, reason and reason-react) from opam # while JavaScript dependencies (react, react-dom, webpack) from npm # In separate terminals: -make watch # It will watch for changes in your Reason/OCaml files and compile them to JavaScript -make serve # Serves the application with a local HTTP server +npm run watch # It will watch for changes in your Reason/OCaml files and compile them to JavaScript +npm run serve # Serves the application with a local HTTP server ``` Read more about the template in the [opam-template README](https://github.com/melange-re/melange-opam-template).