Add text formatter to faucet

This commit is contained in:
Simon Warta 2020-07-02 10:27:25 +02:00
parent 5db98ab5f1
commit d4c1af601a
2 changed files with 6 additions and 5 deletions

View File

@ -76,8 +76,9 @@ as soon as there is
### Working with docker
**Note:** The Dockerfile in this repo is for demonstration purposes only. If you chose to
deploy the faucet via docker, make sure to copy the Dockerfile and keep it up-to-date.
**Note:** The Dockerfile in this repo is for demonstration purposes only. If you
chose to deploy the faucet via docker, make sure to copy the Dockerfile and keep
it up-to-date.
- Build an artifact (from monorepo root)
@ -131,7 +132,6 @@ curl http://localhost:8000/status
## License
This package is part of the cosmjs repository, licensed under the Apache
License 2.0 (see
[NOTICE](https://github.com/CosmWasm/cosmjs/blob/master/NOTICE) and
This package is part of the cosmjs repository, licensed under the Apache License
2.0 (see [NOTICE](https://github.com/CosmWasm/cosmjs/blob/master/NOTICE) and
[LICENSE](https://github.com/CosmWasm/cosmjs/blob/master/LICENSE)).

View File

@ -24,6 +24,7 @@
"scripts": {
"dev-start": "FAUCET_CREDIT_AMOUNT_COSM=10 FAUCET_CREDIT_AMOUNT_STAKE=5 FAUCET_CONCURRENCY=3 FAUCET_MNEMONIC=\"economy stock theory fatal elder harbor betray wasp final emotion task crumble siren bottom lizard educate guess current outdoor pair theory focus wife stone\" ./bin/cosmwasm-faucet start \"http://localhost:1317\"",
"format": "prettier --write --loglevel warn \"./src/**/*.ts\"",
"format-text": "prettier --write --prose-wrap always --print-width 80 \"./*.md\"",
"lint": "eslint --max-warnings 0 \"**/*.{js,ts}\"",
"lint-fix": "eslint --max-warnings 0 \"**/*.{js,ts}\" --fix",
"build": "shx rm -rf ./build && tsc",