1
0
mirror of https://github.com/microsoft/TypeScript-Node-Starter.git synced 2025-11-08 14:47:28 +00:00
Files
TypeScript-Node-Starter/copyStaticAssets.ts
Peter Blazejewicz bfd74b2dc6 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!
2017-12-16 22:56:45 +01:00

6 lines
196 B
TypeScript

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/");