microsoft / TypeScript-Node-Starter

A reference example for TypeScript and Node with a detailed README describing how to use the two together.
MIT License
11.31k stars 2.77k forks source link

Support all-typescript tooling with `ts-node` #60

Closed peterblazejewicz closed 6 years ago

peterblazejewicz commented 6 years ago

This PR proposes moving entire scripting into TypeScript with the help of ts-node: https://github.com/TypeStrong/ts-node

The ts-node allows to execute build scripts written in TypeScript so the entire project could be written in TypeScript. This commit introduces support for ts-node, updates packages and migrate copy routine to TypeScript.

"copy-static-assets": "ts-node copyStaticAssets.ts",

Thanks!