From 6b8cf0912ae749f8dc89c672534cab3bf138fba8 Mon Sep 17 00:00:00 2001 From: Christian Oliff Date: Wed, 6 Oct 2021 00:00:48 +0900 Subject: Add cSpell custom dictionary and docs-spellcheck script (#34940) --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index ab718804f..c3e4060cd 100644 --- a/package.json +++ b/package.json @@ -58,8 +58,9 @@ "docs-build": "hugo --cleanDestinationDir", "docs-compile": "npm run docs-build", "docs-linkinator": "linkinator _site --recurse --skip \"^(?!http://localhost)\" --verbosity error", + "docs-spellcheck": "cspell \"site/**/*.md\" --no-progress", "docs-vnu": "node build/vnu-jar.js", - "docs-lint": "npm-run-all --aggregate-output --parallel docs-vnu docs-linkinator", + "docs-lint": "npm-run-all --aggregate-output --parallel docs-vnu docs-linkinator docs-spellcheck", "docs-serve": "hugo server --port 9001 --disableFastRender", "docs-serve-only": "npx sirv-cli _site --port 9001", "lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json", @@ -112,6 +113,7 @@ "bundlewatch": "^0.3.2", "clean-css-cli": "^5.4.1", "cross-env": "^7.0.3", + "cspell": "^5.12.0", "eslint": "^7.32.0", "eslint-config-xo": "^0.39.0", "eslint-plugin-import": "^2.24.2", -- cgit v1.2.3