Skip to content

Commit

Permalink
chore: add tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe committed Nov 8, 2023
1 parent f7c47ca commit d157259
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion terra/bin/terra
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env ts-node -T --skipIgnore
#!/usr/bin/env -S ts-node -T --skipIgnore
require('../src/bin');
10 changes: 10 additions & 0 deletions terra/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"strict": true,
"sourceMap": true,
"esModuleInterop": true,
"rootDirs": ["**/src", "**/__tests__"]
}
}

0 comments on commit d157259

Please sign in to comment.