From 0e3521eab07e99f6c5d5e61486c5a44c5bba5e92 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Thu, 25 Jun 2020 09:07:23 +0200 Subject: [PATCH] Add format-text script to @cosmjs/cosmwasm --- packages/cosmwasm/README.md | 5 ++--- packages/cosmwasm/package.json | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/cosmwasm/README.md b/packages/cosmwasm/README.md index adf19a63a7..7aece0a556 100644 --- a/packages/cosmwasm/README.md +++ b/packages/cosmwasm/README.md @@ -6,7 +6,6 @@ An SDK to build CosmWasm clients. ## 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/cosmwasm/package.json b/packages/cosmwasm/package.json index 59f75c46f8..b47f9392a5 100644 --- a/packages/cosmwasm/package.json +++ b/packages/cosmwasm/package.json @@ -23,6 +23,7 @@ "scripts": { "docs": "shx rm -rf docs && typedoc --options typedoc.js", "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", "move-types": "shx rm -rf ./types/* && shx mv build/types/* ./types && rm -rf ./types/testdata && shx rm -f ./types/*.spec.d.ts",