We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d426f15 commit 01ab977Copy full SHA for 01ab977
src/bin/ctts.ts
@@ -1,9 +1,11 @@
1
import yargs from 'yargs/yargs';
2
+import * as ts from 'typescript';
3
+import pkg from '../../package.json';
4
import { run } from '..';
5
6
const argv = yargs(process.argv.slice(2))
7
.usage(`Usage: $0 [options] script.ts`)
- .version('v1.2.0')
8
+ .version(`${pkg.name} ${pkg.version}\ntypescript ${ts.version}`)
9
.help()
10
.demandCommand(1, 1)
11
.string('_')
tsconfig.json
@@ -1,5 +1,6 @@
{
"compilerOptions": {
+ "resolveJsonModule": true,
"strict": true,
"esModuleInterop": true
}
0 commit comments