@tagproject/docs-shared-config
v3.0.4
Published
Standard shared config for tagproject packages with Node.js and TypeScript
Downloads
249
Readme
Standard Shared Config with docs for tagproject
packages
Install
npm install @tagproject/docs-shared-config --save-dev
Usage
- Add
"prepare:docs": "docs-shared-config"
toscripts
property in yourpackage.json
- Rename your
prepare
scripts toprepare:[NAME]
- Add
"prepare": "run-s prepare:*"
- Run
npm run prepare
Configs
extract docs:
CODE_OF_CONDUCT.md
LICENSE
SECURITY.md
merge files:
.gitignore
.npmignore
append to package.json
:
scripts:
prepare
- run allprepare:*
prepare:docs
- extract shared docs
dependencies:
- npm-run-all:
4.x