1
0
mirror of https://github.com/microsoft/TypeScript-Node-Starter.git synced 2026-03-25 14:40:47 +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

View File

@@ -72,7 +72,7 @@ The full folder structure of this app is explained below:
| **views** | Views define how your app renders on the client. In this case we're using pug |
| .env.example | API keys, tokens, passwords, database URI. Clone this, but don't check it in to public repos. |
| .travis.yml | Used to configure Travis CI build |
| .copyStaticAssets.js | Build script that copies images, fonts, and JS libs to the dist folder |
| .copyStaticAssets.ts | Build script that copies images, fonts, and JS libs to the dist folder |
| package.json | File that contains npm dependencies as well as [build scripts](#what-if-a-library-isnt-on-definitelytyped) |
| tsconfig.json | Config settings for compiling server code written in TypeScript |
| tsconfig.tests.json | Config settings for compiling tests written in TypeScript |