diff --git a/build/build.docs.js b/build/build.docs.js index f17fe2e..2b86b0c 100644 --- a/build/build.docs.js +++ b/build/build.docs.js @@ -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 diff --git a/package.json b/package.json index f1e5a37..6b3d7d4 100644 --- a/package.json +++ b/package.json @@ -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}'",