1
0
mirror of https://github.com/microsoft/TypeScript-Node-Starter.git synced 2026-03-24 22:11:02 +00:00

Support all-typescript tooling with 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

Thanks!
This commit is contained in:
Peter Blazejewicz
2017-12-16 22:41:40 +01:00
parent 7325bc49a2
commit bfd74b2dc6
5 changed files with 186 additions and 7 deletions

5
copyStaticAssets.ts Normal file
View File

@@ -0,0 +1,5 @@
const shell = require("shelljs");
shell.cp("-R", "src/public/js/lib", "dist/public/js/");
shell.cp("-R", "src/public/fonts", "dist/public/");
shell.cp("-R", "src/public/images", "dist/public/");