build(docs-infra): add option to run only the doc-gen (#25363)

This can save time when iterating by not
regenerating the zips and embedded examples.

PR Close #25363
This commit is contained in:
Pete Bacon Darwin 2018-09-14 10:04:39 +01:00 committed by Kara Erickson
parent bc88f318f6
commit 39a67548ac
1 changed files with 2 additions and 1 deletions

View File

@ -41,7 +41,8 @@
"postcheck-env": "yarn aio-check-local", "postcheck-env": "yarn aio-check-local",
"payload-size": "scripts/payload.sh", "payload-size": "scripts/payload.sh",
"predocs": "yarn generate-stackblitz && yarn generate-zips", "predocs": "yarn generate-stackblitz && yarn generate-zips",
"docs": "dgeni ./tools/transforms/angular.io-package", "docs": "yarn docs-only",
"docs-only": "dgeni ./tools/transforms/angular.io-package",
"docs-watch": "node tools/transforms/authors-package/watchr.js", "docs-watch": "node tools/transforms/authors-package/watchr.js",
"docs-lint": "eslint --ignore-path=\"tools/transforms/.eslintignore\" tools/transforms", "docs-lint": "eslint --ignore-path=\"tools/transforms/.eslintignore\" tools/transforms",
"docs-test": "node tools/transforms/test.js", "docs-test": "node tools/transforms/test.js",