Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
e05a24b39b | |||
019cc4937c |
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@gitzone/tsdoc",
|
"name": "@gitzone/tsdoc",
|
||||||
"version": "1.0.22",
|
"version": "1.0.23",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@gitzone/tsdoc",
|
"name": "@gitzone/tsdoc",
|
||||||
"version": "1.0.22",
|
"version": "1.0.23",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "a tool for better documentation",
|
"description": "a tool for better documentation",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
@ -53,10 +53,10 @@ export class TsDoc {
|
|||||||
/**
|
/**
|
||||||
* runs additional tasks from package.json
|
* runs additional tasks from package.json
|
||||||
*/
|
*/
|
||||||
public runAdditionalTasks() {
|
public async runAdditionalTasks() {
|
||||||
const packageJson = plugins.smartfile.fs.toObjectSync(plugins.path.join(this.cwd, 'package.json'));
|
const packageJson = plugins.smartfile.fs.toObjectSync(plugins.path.join(this.cwd, 'package.json'));
|
||||||
if (packageJson.scripts.tsdoc) {
|
if (packageJson.scripts.tsdoc) {
|
||||||
this.smartshellInstance.exec('npm run tsdoc');
|
await this.smartshellInstance.exec('npm run tsdoc');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user