mirror of
https://github.com/Eugeny/tabby
synced 2024-12-13 14:52:45 +00:00
9 lines
318 B
JavaScript
Executable file
9 lines
318 B
JavaScript
Executable file
#!/usr/bin/env node
|
|
const sh = require('shelljs')
|
|
const vars = require('./vars')
|
|
const log = require('npmlog')
|
|
|
|
vars.packagesWithDocs.forEach(([dest, src]) => {
|
|
log.info('docs', src)
|
|
sh.exec(`yarn typedoc --out docs/api/${dest} --tsconfig ${src}/tsconfig.typings.json ${src}/src/index.ts`, { fatal: true })
|
|
})
|