espial/purs/README.md
Jon Schoning 79ee31dff6 use parcel-bundler
'moment' and 'marked' can now be required() from purescript FFI
2019-01-31 22:43:58 -06:00

30 lines
450 B
Markdown

## Development (Posix only)
1. Install `purescript`, `purescript-spago`, `parcel-bundler`:
```
npm install
```
2. (optional) working with .dhall files:
```
stack install dhall dhall-json
```
3. Download purescript libraries (1x only):
```
make install
```
4. build dist/app.min.js:
```
make
```
On a successful build, `make` will also update `../static/js/`,
since the `purs/` folder is opaque to the espial executable build process.