Add text formatter

This commit is contained in:
Simon Warta 2020-06-25 09:32:40 +02:00
parent 6bd0356baf
commit 80b1c6fe6b
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,6 @@ Demo package for protobufs with Cosmos SDK.
## License ## License
This package is part of the cosmjs repository, licensed under the Apache This package is part of the cosmjs repository, licensed under the Apache License
License 2.0 (see 2.0 (see [NOTICE](https://github.com/CosmWasm/cosmjs/blob/master/NOTICE) and
[NOTICE](https://github.com/CosmWasm/cosmjs/blob/master/NOTICE) and
[LICENSE](https://github.com/CosmWasm/cosmjs/blob/master/LICENSE)). [LICENSE](https://github.com/CosmWasm/cosmjs/blob/master/LICENSE)).

View File

@ -21,6 +21,7 @@
"scripts": { "scripts": {
"docs": "shx rm -rf docs && typedoc --options typedoc.js", "docs": "shx rm -rf docs && typedoc --options typedoc.js",
"format": "prettier --write --loglevel warn \"./src/**/*.ts\"", "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": "eslint --max-warnings 0 \"**/*.{js,ts}\"",
"lint-fix": "eslint --max-warnings 0 \"**/*.{js,ts}\" --fix", "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", "move-types": "shx rm -rf ./types/* && shx mv build/types/* ./types && rm -rf ./types/testdata && shx rm -f ./types/*.spec.d.ts",