Skip to content

Commit 3f31751

Browse files
committed
typescript: add documentation generation command
1 parent 7a3db92 commit 3f31751

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

schema_salad/typescript/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "${project_description}",
55
"main": "index.js",
66
"scripts": {
7-
"test": "nyc --reporter=lcov mocha --require ts-node/register src/test/**/*.ts"
7+
"test": "nyc --reporter=lcov mocha --require ts-node/register src/test/**/*.ts",
8+
"doc": "rm -rf ./docs && typedoc src/index.ts"
89
},
910
"license": "${license_name}",
1011
"devDependencies": {
@@ -22,6 +23,7 @@
2223
"nyc": "^15.1.0",
2324
"sinon": "^12.0.1",
2425
"ts-node": "^10.4.0",
26+
"typedoc": "^0.22.10",
2527
"typescript": "^4.4.4",
2628
"codecov.io": "^0.1.6"
2729
},

0 commit comments

Comments
 (0)