From 15d60690f005378c2408835915aa22f37305c412 Mon Sep 17 00:00:00 2001 From: Astronidsp Date: Thu, 22 Feb 2024 22:33:17 +0530 Subject: [PATCH] action --- package.json | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index cd73017..da948fb 100644 --- a/package.json +++ b/package.json @@ -6,10 +6,11 @@ "textlint-filter-rule-whitelist": "^2.0.0", "textlint-rule-terminology": "^2.1.4" }, - // "scripts": { - // "test": "npm run lint-markdown && npm run lint-terminology", - // "lint-terminology": "textlint ./README.md", - // "lint-markdown": "markdownlint ./README.md --ignore node_modules", - // "link-check": "find README -name \\*.md -exec markdown-link-check -c markdown-link-check-config.json 1> log 2> err {} \\; && if [ -e err ] && grep -q \"ERROR:\" err ; then exit 113 ; else echo -e \"All good\"; fi" - // } + "scripts": { + "test": "npm run lint-markdown && npm run lint-terminology", + "lint-terminology": "textlint ./README.md", + "lint-markdown": "markdownlint ./README.md --ignore node_modules", + "link-check": find . -name README.md -exec markdown-link-check -c markdown-link-check-config.json 1> log 2> err {} \\; + // "link-check": "find README -name \\*.md -exec markdown-link-check -c markdown-link-check-config.json 1> log 2> err {} \\; && if [ -e err ] && grep -q \"ERROR:\" err ; then exit 113 ; else echo -e \"All good\"; fi" + } } \ No newline at end of file