Skip to content

Commit

Permalink
Add clean and build scripts
Browse files Browse the repository at this point in the history
Signed-off-by: Achintya Rao <[email protected]>
  • Loading branch information
RaoOfPhysics committed Jul 22, 2024
1 parent 778cf00 commit e487ad8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
"name": "fluid-example-ipcc-ar6-01",
"version": "0.0.1",
"description": "An example of a Fluid publication using an IPCC report",
"scripts": {
"clean": "rm -rf dist/article && mkdir -p dist/article",
"build": "yarn clean && spago build && purs-backend-es bundle-app --main Article --to dist/article/app.js"

This comment has been minimized.

Copy link
@RaoOfPhysics

RaoOfPhysics Jul 22, 2024

Author Member

Adding --purs-args '--strict --censor-codes=UserDefinedWarning' after spago build (as in https://github.com/explorable-viz/fluid/blob/a6935d78a318ace15871cf26ce8e2d1172378058/package.json#L13) gave errors about unrecognised arguments, so I dropped it!

},
"repository": {
"type": "git",
"url": "git+https://github.com/explorable-viz/fluid-example-ipcc-ar6-01.git"
Expand Down

0 comments on commit e487ad8

Please sign in to comment.