]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Copy the dist files before the `docs-serve` script.
authorXhmikosR <xhmikosr@gmail.com>
Mon, 28 Jan 2019 20:59:45 +0000 (22:59 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Wed, 13 Mar 2019 17:22:59 +0000 (19:22 +0200)
package.json

index 66208bb04a8a676cecb2c048091222ece68e7c74..e6279543fc1facfae88b9bcfb1fbe726cdae37b0 100644 (file)
@@ -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/\\\"",