import { copyFile } from 'fs-extra' const typescriptTask: TaskExecution = async ({ getTaskPath, getTargetPath, installYarn, }) => { await installYarn({ typescript: '3.7.x', tslib: '1.10.x', 'typescript-styled-plugin': '^0.14', }) await copyFile( getTaskPath('tsconfig-source.json'), getTargetPath('tsconfig.json'), ) } typescriptTask.description = 'TypeScript configuration' export default typescriptTask