()
| 38 | }, |
| 39 | |
| 40 | async defTypings() { |
| 41 | console.log('Generate TypeScript definition') |
| 42 | // Generate definitions for promised-based helper methods |
| 43 | await npx('jsdoc -c typings/jsdocPromiseBased.conf.json') |
| 44 | fs.renameSync('typings/types.d.ts', 'typings/promiseBasedTypes.d.ts') |
| 45 | // Generate all other regular definitions |
| 46 | await npx('jsdoc -c typings/jsdoc.conf.json') |
| 47 | }, |
| 48 | |
| 49 | async docsPlugins() { |
| 50 | // generate documentation for plugins: each plugin gets a dedicated page |