fix(core): update

This commit is contained in:
Philipp Kunz 2019-05-27 16:11:10 +02:00
parent d5908d4bc6
commit a2fd6998ee
2 changed files with 8 additions and 0 deletions

View File

@ -32,5 +32,12 @@ export const run = async () => {
}
});
tsdocCli.addCommand('test').subscribe(argvArg => {
tsdocCli.trigger('typedoc');
process.on('exit', async () => {
await plugins.smartfile.fs.remove(paths.publicDir);
});
});
tsdocCli.startParse();
};

View File

@ -3,3 +3,4 @@ import * as plugins from './tsdoc.plugins';
export const packageDir = plugins.path.join(__dirname, '../');
export const cwd = process.cwd();
export const binDir = plugins.path.join(packageDir, './node_modules/.bin');
export const publicDir = plugins.path.join(packageDir, './public');