diff options
author | XhmikosR <xhmikosr@gmail.com> | 2018-10-18 10:45:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-18 10:45:49 +0300 |
commit | 43bf2682489fc7a7a8f371a59e19e15f3e160070 (patch) | |
tree | cd97d37e1d598fa56ade56648c7b0c61e0ab2115 /package.json | |
parent | 99e0e3040204a03c448179f80e12f898a499c811 (diff) |
Rename docs production script to production and use `JEKYLL_ENV`. (#27410)
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package.json b/package.json index d23e86b523..fbb238adcd 100644 --- a/package.json +++ b/package.json @@ -62,15 +62,15 @@ "docs": "npm-run-all --parallel css-docs js-docs --sequential docs-compile docs-lint", "docs-compile": "bundle exec jekyll build", "postdocs-compile": "npm run docs-workbox-precache", - "docs-github": "shx echo \"github: true\" > twbsconfig.yml && npm run docs-compile -- --config _config.yml,twbsconfig.yml && shx rm ./twbsconfig.yml", - "docs-github-serve": "npm run docs-serve -- --skip-initial-build --no-watch", + "docs-production": "cross-env JEKYLL_ENV=production npm run docs-compile", "docs-lint": "npm-run-all docs-lint-*", "docs-lint-htmllint": "htmllint --rc build/.htmllintrc \"_gh_pages/**/*.html\" \"js/tests/**/*.html\"", "docs-lint-vnu-jar": "node build/vnu-jar.js", "docs-serve": "bundle exec jekyll serve", + "docs-serve-only": "npm run docs-serve -- --skip-initial-build --no-watch", "docs-workbox-precache": "node build/workbox.js", "update-deps": "ncu -a -x jquery -x bundlesize && npm update && bundle update && shx echo Manually update \"site/docs/4.1/assets/js/vendor/\"", - "release": "npm run dist && npm run release-sri && npm run release-zip && npm run docs-github", + "release": "npm run dist && npm run release-sri && npm run release-zip && npm run docs-production", "release-sri": "node build/generate-sri.js", "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\"", |