API holds current version

This commit is contained in:
Juan Hernández Serrano 2021-08-06 19:17:16 +02:00
parent 17b399f19c
commit 9c4cd84063
2 changed files with 4 additions and 2 deletions

View File

@ -25,7 +25,7 @@ async function typedoc () {
// typedoc options here
entryPoints: ['src/ts/index.ts'],
plugin: ['typedoc-plugin-markdown'],
includeVersion: false,
includeVersion: true,
entryDocument: 'API.md',
readme: 'none',
hideBreadcrumbs: true

View File

@ -54,9 +54,11 @@
"clean": "rimraf .nyc_output .mocha-ts coverage dist docs",
"coverage": "nyc --check-coverage --exclude build --exclude '{src/ts/**/*.spec.ts,test/**/*.ts}' --reporter=text --reporter=lcov node ./build/bin/mocha-ts.js --require build/testing/mocha/mocha-init.js '{src/ts/**/*.spec.ts,test/**/*.ts}'",
"docs": "node build/build.docs.js",
"git:add": "git add -A",
"lint": "ts-standard --fix",
"mocha": "node ./build/bin/mocha-ts.js --require build/testing/mocha/mocha-init.js ",
"preversion": "npm run build",
"version": "run-s build git:add",
"postversion": "git push --follow-tags",
"test": "run-s test:browser test:node",
"test:browser": "node build/testing/browser/index.js",
"test:node": "npm run mocha -- '{src/ts/**/*.spec.ts,test/**/*.ts}'",