Build *.ts when npm test.