Skip to content

Commit

Permalink
feat(aws-cdk): use ts-node for TypeScript templates (#2527)
Browse files Browse the repository at this point in the history
Update sample-app with ts-node in a backwards compatible way (`npm run build` still compiles the code).

Closes #1532
  • Loading branch information
mitchlloyd authored and Elad Ben-Israel committed May 14, 2019
1 parent 8e3c4ca commit 4f7b48d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"app": "node bin/%name%.js"
"app": "./node_modules/.bin/ts-node bin/%name%.ts"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"devDependencies": {
"@types/node": "8.10.45",
"typescript": "^3.3.3333",
"ts-node": "^8.1.0",
"aws-cdk": "^%cdk-version%"
},
"dependencies": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"app": "node bin/%name%.js"
"app": "./node_modules/.bin/ts-node bin/%name%.ts"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"devDependencies": {
"@types/node": "8.10.45",
"typescript": "^3.3.3333",
"ts-node": "^8.1.0",
"aws-cdk": "^%cdk-version%"
},
"dependencies": {
Expand Down

0 comments on commit 4f7b48d

Please sign in to comment.