added build scripts for typescript