aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2019-01-28 22:59:45 +0200
committerXhmikosR <[email protected]>2019-03-13 19:22:59 +0200
commit89a638003268a51e6ed030a4cf0aea565caf8cea (patch)
treebea7405850badb476ff7dc419dee1a85e72a2df0
parent1afa67fca8a2ba7f5c87aec9839b673cf2724af2 (diff)
downloadbootstrap-89a638003268a51e6ed030a4cf0aea565caf8cea.tar.xz
bootstrap-89a638003268a51e6ed030a4cf0aea565caf8cea.zip
Copy the dist files before the `docs-serve` script.
-rw-r--r--package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json
index 66208bb04..e6279543f 100644
--- a/package.json
+++ b/package.json
@@ -70,6 +70,7 @@
"docs-compile": "hugo --cleanDestinationDir",
"docs-production": "cross-env HUGO_ENV=production npm run docs-compile",
"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-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/\\\"",