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

Add a docs-build script and make it the default.

This commit is contained in:
XhmikosR 2019-02-05 19:39:41 +02:00
parent 69e18b9634
commit 142af24018

View File

@ -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\"",