]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Clean up npm scripts a bit more.
authorXhmikosR <xhmikosr@gmail.com>
Thu, 12 Jul 2018 06:43:15 +0000 (09:43 +0300)
committerMark Otto <otto@github.com>
Thu, 12 Jul 2018 07:06:12 +0000 (00:06 -0700)
`docs-serve` was duplicated. Also, extend the existent `docs-serve` script for `docs-github-serve`.

package.json

index fc6756d381370057fa65d2fad8a985a1d3f55176..d7cb8f7455763319a74c4b7d08be6c7af06b01d0 100644 (file)
     "coveralls": "shx cat js/coverage/lcov.info | coveralls",
     "docs": "npm-run-all --parallel css-docs js-docs --sequential docs-compile docs-lint",
     "docs-compile": "bundle exec jekyll build",
-    "docs-serve": "bundle exec jekyll serve",
     "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": "bundle exec jekyll serve --skip-initial-build --no-watch",
+    "docs-github-serve": "npm run docs-serve -- --skip-initial-build --no-watch",
     "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",