diff options
author | Christian Oliff <christianoliff@pm.me> | 2021-10-05 18:00:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-05 18:00:48 +0300 |
commit | 6b8cf0912ae749f8dc89c672534cab3bf138fba8 (patch) | |
tree | 7d3e2d0e6e69b21a49154ec7bf6f4ead160ba0ef /package.json | |
parent | fc21dcf758e128e087f65927b2b3e7b0f2b72657 (diff) |
Add cSpell custom dictionary and docs-spellcheck script (#34940)
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package.json b/package.json index ab718804f1..c3e4060cdd 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", |