1.0.3 • Published 2 years ago
@elliottsencan/easydocs v1.0.3
Getting Started
Use easydocs on any npm package!
Prerequisites
- npm
npm install easy-docs -g
then add the following to your package.json
- npm
"scripts": { "generate-docs-coverage-report": "easydocs-coverage-report", "build-docs-site": "easydocs-build-docs", }
and add a configuration file called ".easydocsconfig.json"
- npm
{ "build": { "source": "./js/src", "target": "./docs" }, "meta": { "docsDescription": "Test Description", "docsName": "Easy Docs", "github": "https://www.github.com", "author": "Elliott Sencan" }, "coverage": { "required": ["FunctionDeclaration"] } }
Usage
To generate a coverage report, run
- npm
npm run generate-docs-coverage-report
To build a docs site, run
- npm
npm run build-docs-site
License
Distributed under the MIT License. See LICENSE.txt
for more information.
Contact
Elliott Sencan - elliott.sencan@hey.com