Skip to content

Commit

Permalink
frontend: Add script to run frontend only
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaw3d committed Oct 28, 2024
1 parent 81f344d commit 1c78544
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions faucet-frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ edit faucet-backend.toml
(cd ../faucet-backend && go1.17.6 build && ./faucet-backend)

open http://localhost:8080/


# run frontend only:
yarn dev-frontend-only
```


Expand Down
1 change: 1 addition & 0 deletions faucet-frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"scripts": {
"dev-frontend-only": "rm -rf .parcel-cache && parcel serve src/index.pug",
"dev": "rm -rf .parcel-cache && parcel watch src/index.pug",
"build": "rm -rf .parcel-cache && parcel build src/index.pug"
},
Expand Down

0 comments on commit 1c78544

Please sign in to comment.