0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

Clean up npm scripts a bit more.

`docs-serve` was duplicated. Also, extend the existent `docs-serve` script for `docs-github-serve`.
This commit is contained in:
XhmikosR 2018-07-12 09:43:15 +03:00 committed by Mark Otto
parent 6589408a4b
commit a49f5cab6f

View File

@ -59,10 +59,9 @@
"coveralls": "shx cat js/coverage/lcov.info | coveralls", "coveralls": "shx cat js/coverage/lcov.info | coveralls",
"docs": "npm-run-all --parallel css-docs js-docs --sequential docs-compile docs-lint", "docs": "npm-run-all --parallel css-docs js-docs --sequential docs-compile docs-lint",
"docs-compile": "bundle exec jekyll build", "docs-compile": "bundle exec jekyll build",
"docs-serve": "bundle exec jekyll serve",
"postdocs-compile": "npm run docs-workbox-precache", "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": "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": "npm-run-all docs-lint-*",
"docs-lint-htmllint": "htmllint --rc build/.htmllintrc \"_gh_pages/**/*.html\" \"js/tests/**/*.html\"", "docs-lint-htmllint": "htmllint --rc build/.htmllintrc \"_gh_pages/**/*.html\" \"js/tests/**/*.html\"",
"docs-lint-vnu-jar": "node build/vnu-jar.js", "docs-lint-vnu-jar": "node build/vnu-jar.js",