Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2019-02-05 20:39:41 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-03-13 20:22:59 +0300
commit142af24018102b7b86566f46b0cfa121785b879e (patch)
treed88463f197ac52056d17dac9383632b98bf8b0f2 /package.json
parent69e18b9634d5881372255f20dcaf65e24f6b6b76 (diff)
Add a `docs-build` script and make it the default.
Diffstat (limited to 'package.json')
-rw-r--r--package.json9
1 files changed, 5 insertions, 4 deletions
diff --git a/package.json b/package.json
index e6279543fc..adf9291a8c 100644
--- a/package.json
+++ b/package.json
@@ -66,9 +66,10 @@
"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\"",