From d4c1af601afce6613a243ad43e9fbbf200a8e20e Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Thu, 2 Jul 2020 10:27:25 +0200 Subject: [PATCH] Add text formatter to faucet --- packages/faucet/README.md | 10 +++++----- packages/faucet/package.json | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/faucet/README.md b/packages/faucet/README.md index 65f9f2c1..35db2ad9 100644 --- a/packages/faucet/README.md +++ b/packages/faucet/README.md @@ -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)). diff --git a/packages/faucet/package.json b/packages/faucet/package.json index 918fd147..ef3235a8 100644 --- a/packages/faucet/package.json +++ b/packages/faucet/package.json @@ -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",