aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2017-09-26 13:08:02 +0300
committerGitHub <[email protected]>2017-09-26 13:08:02 +0300
commit2e2ea74254ff640927af1f5427d2449cfac847b6 (patch)
treef8c3bae4517605c2fe729d4d015fd58ec1e65088 /package.json
parent388356acdfa8fac31773a881290ec5696e71208c (diff)
downloadbootstrap-2e2ea74254ff640927af1f5427d2449cfac847b6.tar.xz
bootstrap-2e2ea74254ff640927af1f5427d2449cfac847b6.zip
Move the workbox build to a `postdocs-compile` script. (#24106)
This way, it's run for us automatically after `docs-compile`.
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json
index df0894d6e..6cced3006 100644
--- a/package.json
+++ b/package.json
@@ -44,7 +44,8 @@
"js-test-cloud": "ruby -r webrick -e \"s = WEBrick::HTTPServer.new(:Port => 3000, :DocumentRoot => Dir.pwd, :Logger => WEBrick::Log.new('/dev/null'), :AccessLog => []); trap('INT') { s.shutdown }; s.start\" & grunt saucelabs-qunit",
"docs": "npm-run-all docs-compile docs-lint",
"docs-lint": "htmllint --rc build/.htmllintrc _gh_pages/*.html _gh_pages/**/*.html js/tests/visual/*.html",
- "docs-compile": "bundle exec jekyll build && npm run docs-workbox-precache",
+ "docs-compile": "bundle exec jekyll build",
+ "postdocs-compile": "npm run docs-workbox-precache",
"docs-serve": "bundle exec jekyll serve",
"docs-github": "shx echo \"github: true\" > twbsconfig.yml && npm run docs-compile -- --config _config.yml,twbsconfig.yml && shx rm ./twbsconfig.yml",
"docs-upload-preview": "build/upload-preview.sh",