chore: 🤖 change toc command to doc:toc and add aggregate doc

This commit is contained in:
Randall Morey committed 2020-04-23 16:48:55 -04:00
1 parent 90d09acd8d
commit e72d5b5bf9
2 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -51,7 +51,8 @@ List of available project commands. `yarn run <command-name>`
|---------------------|--------------------------------------------------------------------------------------------------------------------|
| commit | Replaces `git commit`, ensures checks pass before commit is allowed and normalizes commit messages across authors. |
| compliance:licenses | Checks that all dependencies have OSS-compatible licenses. |
| build:toc | Automatically generates a ToC for the README file. |
| doc | Executes all doc-related commands. |
| doc:toc | Automatically generates a table of contents for the README file. |
## Contributing
+2 -1
View File
@@ -11,7 +11,8 @@
"precommit": "yarn compliance:licenses && yarn audit",
"commit": "git-cz",
"compliance:licenses": "license-checker --onlyAllow 'Apache License, Version 2.0;Apache-2.0;BSD;BSD-3-Clause;CC-BY-3.0;CC-BY-4.0;CC0-1.0;ISC;MIT;MPL-2.0;Public Domain;Unicode-TOU;Unlicense;WTFPL' --excludePackages 'watchtower-ui'",
"build:toc": "doctoc README.md"
"doc": "yarn doc:toc",
"doc:toc": "doctoc README.md"
},
"devDependencies": {
"cz-conventional-changelog": "^3.1.0",