UNPKG

@lipemat/js-boilerplate

Version:

Dependencies and scripts for a no config JavaScript app

9 lines (5 loc) 314 B
import {execSync} from 'node:child_process'; import chalk from 'chalk'; console.log( chalk.blue( '[TS] ' ) + ' Compiling TS to CommonJS using the tsconfig.json in the src directory.' ); execSync( 'tsc -p src', {stdio: 'inherit'} ); console.log( chalk.blueBright( '[TS] ' ) + ' Finished compiling the files.' );