aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorJulien Déramond <[email protected]>2023-02-14 17:48:44 +0100
committerGitHub <[email protected]>2023-02-14 08:48:44 -0800
commit30e8d139fe0ba5d13692cd6e43ff734489ac4298 (patch)
treec6a7c40fd72281fc51483f23d8c3a30ed129f68f /package.json
parent68afebe5b5361deb1a220cd2f3f2e12e5c6ffc5e (diff)
downloadbootstrap-30e8d139fe0ba5d13692cd6e43ff734489ac4298.tar.xz
bootstrap-30e8d139fe0ba5d13692cd6e43ff734489ac4298.zip
Remove unused partials and add some way to automatically detect it (#38004)
* Add docs-check-unused-templates in npm commands and workflow * Remove unused partials icons templates
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json
index f5635bd5b..d09e04c93 100644
--- a/package.json
+++ b/package.json
@@ -74,8 +74,9 @@
"js-test-cloud": "cross-env BROWSERSTACK=true npm run js-test-karma",
"js-test-jquery": "cross-env JQUERY=true npm run js-test-karma",
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel js-lint css-lint lockfile-lint",
- "docs": "npm-run-all docs-build docs-lint",
+ "docs": "npm-run-all docs-build docs-lint docs-check-unused-templates",
"docs-build": "hugo --cleanDestinationDir",
+ "docs-check-unused-templates": "hugo --printUnusedTemplates",
"docs-compile": "npm run docs-build",
"docs-vnu": "node build/vnu-jar.js",
"docs-lint": "npm run docs-vnu",