Also move some .gitignore entries from the top-level .gitignore into a subdirectory .gitignore. |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| bsconfig.json | ||
| index.html | ||
| indexProduction.html | ||
| package.json | ||
| README.md | ||
| shell.nix | ||
| UNUSED_webpack.config.js | ||
| watcher.js | ||
| yarn.lock | ||
Nut Score
I cloned most of this start boilerplate from github.com/BuckleScript/bucklescript by running the following:
$ cd ~/programming
$ git clone git@github.com:BuckleScript/bucklescript
$ cp -R ./jscomp/bab/templates/react-hooks ~/briefcase/nut-score
Installing
$ nix-shell
$ yarn install
Developing
In one shell run:
$ nix-shell
$ yarn server
In another shell run:
$ nix-shell
$ yarn start
Now open a web browser and visit localhost:8000.