chore(typedocs): add Typedocs to automate docs generating.

This commit is contained in:
a.bouhuolia 2022-04-27 23:24:13 +02:00 committed by woodser
parent 7e35c1f8f1
commit c2a466b4be
2 changed files with 7 additions and 2 deletions

3
.gitignore vendored
View File

@ -25,3 +25,6 @@ yarn-error.log*
# generated code
/src/protobuf/**
# generated docs
/docs

View File

@ -25,7 +25,8 @@
"test": "react-scripts test --runInBand",
"eject": "react-scripts eject",
"prepare": "bin/build_protobuf.sh",
"pretest": "bin/build_protobuf.sh"
"pretest": "bin/build_protobuf.sh",
"generate:docs": "typedoc ./src/haveno.ts --exclude **/*.test.ts --excludeNotDocumented"
},
"eslintConfig": {
"extends": [
@ -49,6 +50,7 @@
]
},
"devDependencies": {
"monero-javascript": "^0.6.4"
"monero-javascript": "^0.6.4",
"typedoc": "^0.22.15"
}
}