]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add a `docs-build` script and make it the default.
authorXhmikosR <xhmikosr@gmail.com>
Tue, 5 Feb 2019 17:39:41 +0000 (19:39 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Wed, 13 Mar 2019 17:22:59 +0000 (19:22 +0200)
package.json

index e6279543fc1facfae88b9bcfb1fbe726cdae37b0..adf9291a8c634724779daec61f06fb30a8961aee 100644 (file)
     "js-test-cloud": "cross-env BROWSER=true npm run js-test-karma",
     "lint": "npm-run-all --parallel js-lint css-lint",
     "coveralls": "shx cat js/coverage/lcov.info | coveralls",
-    "docs": "npm-run-all css-docs js-docs docs-compile docs-lint",
-    "docs-compile": "hugo --cleanDestinationDir",
-    "docs-production": "cross-env HUGO_ENV=production npm run docs-compile",
+    "docs": "npm-run-all css-docs js-docs docs-build docs-lint",
+    "docs-build": "hugo --cleanDestinationDir",
+    "docs-compile": "npm run docs-build",
+    "docs-production": "cross-env HUGO_ENV=production npm run docs-build",
     "docs-lint": "node build/vnu-jar.js",
     "predocs-serve": "npm-run-all css-copy js-copy",
     "docs-serve": "hugo server --port 9001 --disableFastRender --renderToDisk",
@@ -79,7 +80,7 @@
     "release-version": "node build/change-version.js",
     "release-zip": "cross-env-shell \"shx rm -rf bootstrap-$npm_package_version-dist && shx cp -r dist/ bootstrap-$npm_package_version-dist && zip -r9 bootstrap-$npm_package_version-dist.zip bootstrap-$npm_package_version-dist && shx rm -rf bootstrap-$npm_package_version-dist\"",
     "dist": "npm-run-all --parallel css js",
-    "test": "npm-run-all lint dist js-test docs-compile docs-lint bundlesize",
+    "test": "npm-run-all lint dist js-test docs-build docs-lint bundlesize",
     "watch": "npm-run-all --parallel watch-*",
     "watch-css-main": "nodemon --watch scss/ --ext scss --exec \"npm run css-main\"",
     "watch-css-docs": "nodemon --watch \"site/static/**/assets/scss/\" --ext scss --exec \"npm run css-docs\"",