2.14.16 ā€¢ Published 11 months ago

@xblackfury/blackfurychain-ui v2.14.16

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
11 months ago

āœØ Links

šŸ“– Documentation

Learn how to use Blackfurychain.js.

šŸ–¼ Frontend

Blackfurychain's User Interface

Development

scriptdescription
yarn devRun the view app in development mode hotloading changes
yarn buildBuild a deployable app to the app/dist folder
yarn startServe the deployable app from the app/dist folder
yarn testRun unit and integration tests
yarn test --tag [tag]Run unit and integration tests against a particular tag (develop/master/blackfury commit etc)
yarn stackRun backing services based on the latest blackfury release
yarn lintLint the code
yarn lint --quickQuick lint staged code (mainly used in our pre-commit hook)
yarn e2eRun end to end tests against code built in app/dist
yarn e2e --debugRun end to end tests in debug mode against the dev server. (Good for writing tests)
yarn e2e --tag [tag]Run end to end tests against a particular tag (develop/master/blackfury commit etc)
yarn storybookLaunch storybook
yarn storybook --buildBuild storybook to the storybook-static folder
yarn advanceAdvance the blockchain by the given amount of blocks. Eg. yarn advance 51

Running a command with the --help flag will display a help message explaining what the command does.

Deployment

See ./app/README.md.

Testing against environments

Attaching a query string var _env will set cookies to point your build to any environment you want:

urlenv
http://localhost:8080?_env=mainnetMAINNET
http://localhost:8080?_env=testnetTESTNET
http://localhost:8080?_env=devnetDEVNET
http://localhost:8080?_env=localnetLOCALNET
http://localhost:8080?_env=_DEFAULT (Based on url)

We recommend using bookmarklets:

namelocation
CLEARjavascript:(() => {l=location;l.href=l.pathname+'?_env=_'})()
MAINNETjavascript:(() => {l=location;l.href=l.pathname+'?_env=mainnet'})()
TESTNETjavascript:(() => {l=location;l.href=l.pathname+'?_env=testnet'})()
DEVNETjavascript:(() => {l=location;l.href=l.pathname+'?_env=devnet'})()
LOCALNETjavascript:(() => {l=location;l.href=l.pathname+'?_env=localnet'})()
2.14.16

11 months ago

2.14.13

11 months ago

2.14.12

11 months ago

2.14.11

11 months ago

2.14.10

11 months ago

3.0.0

11 months ago