0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Copy the dist files before the docs-serve script.

This commit is contained in:
XhmikosR 2019-01-28 22:59:45 +02:00
parent 1afa67fca8
commit 89a6380032

View File

@ -70,6 +70,7 @@
"docs-compile": "hugo --cleanDestinationDir", "docs-compile": "hugo --cleanDestinationDir",
"docs-production": "cross-env HUGO_ENV=production npm run docs-compile", "docs-production": "cross-env HUGO_ENV=production npm run docs-compile",
"docs-lint": "node build/vnu-jar.js", "docs-lint": "node build/vnu-jar.js",
"predocs-serve": "npm-run-all css-copy js-copy",
"docs-serve": "hugo server --port 9001 --disableFastRender --renderToDisk", "docs-serve": "hugo server --port 9001 --disableFastRender --renderToDisk",
"docs-serve-only": "http-server _gh_pages -p 9001 -a localhost", "docs-serve-only": "http-server _gh_pages -p 9001 -a localhost",
"update-deps": "ncu -a -x jquery -x bundlesize && npm update && cross-env-shell echo Manually update \\\"site/static/docs/$npm_package_version_short/assets/js/vendor/\\\"", "update-deps": "ncu -a -x jquery -x bundlesize && npm update && cross-env-shell echo Manually update \\\"site/static/docs/$npm_package_version_short/assets/js/vendor/\\\"",