diff options
| author | XhmikosR <[email protected]> | 2024-03-08 12:43:44 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2024-03-19 11:25:15 +0200 |
| commit | 24f749cb768b7d7830ed9bc7b3b38d35dbbccffd (patch) | |
| tree | bc752763aad4e8c36f84a73d2a0e751a364a0e8e /package.json | |
| parent | e340674d06f1c5b054eb5395bac85a3cf36d3463 (diff) | |
| download | bootstrap-24f749cb768b7d7830ed9bc7b3b38d35dbbccffd.tar.xz bootstrap-24f749cb768b7d7830ed9bc7b3b38d35dbbccffd.zip | |
docs: bundle assets with Hugo
Also:
* load any docs' third-party dependencies from node_modules (except for examples)
* exclude docsearch from layouts that don't use it
* preconnect to algolia only when not examples layout
* switch to `RelPermalink`
* refactor JS assets into partials
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/package.json b/package.json index 10491932e..a8ca542df 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,7 @@ "docs-serve": "hugo server --port 9001 --disableFastRender --noHTTPCache --renderToMemory --printPathWarnings --printUnusedTemplates", "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", - "update-deps": "ncu -u -x jasmine,karma-browserstack-launcher,karma-rollup-preprocessor && echo Manually update site/assets/js/vendor", + "update-deps": "ncu -u -x jasmine,karma-browserstack-launcher,karma-rollup-preprocessor", "release": "npm-run-all dist release-sri docs-build release-zip*", "release-sri": "node build/generate-sri.mjs", "release-version": "node build/change-version.mjs", @@ -106,14 +106,17 @@ "@babel/cli": "^7.23.9", "@babel/core": "^7.24.0", "@babel/preset-env": "^7.24.0", + "@docsearch/js": "^3.6.0", "@popperjs/core": "^2.11.8", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-commonjs": "^25.0.7", "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-replace": "^5.0.5", + "@stackblitz/sdk": "^1.9.0", "autoprefixer": "^10.4.18", "bundlewatch": "^0.3.3", "clean-css-cli": "^5.6.3", + "clipboard": "^2.0.11", "cross-env": "^7.0.3", "eslint": "^8.57.0", "eslint-config-xo": "^0.44.0", |
