Skip to content

Commit 06d2a79

Browse files
committed
fix: tsconfig fixed
1 parent d395ade commit 06d2a79

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"scripts": {
3131
"lint": "npx eslint --ext .ts --fix",
3232
"build": "tsc",
33-
"cli:dev": " tsc && node dist/cli/index.js",
33+
"cli:dev": " node dist/cli/index.js --init",
3434
"dev": "nodemon dist/index.js",
3535
"test": "vitest"
3636
},

tsconfig.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
{
22
"compilerOptions": {
3-
"module": "NodeNext",
4-
"moduleResolution": "NodeNext",
3+
"module": "ES2020",
54
"target": "ES2020",
5+
"moduleResolution" : "node",
66
"outDir": "dist",
77
"strict": true,
88
"noUnusedLocals": true,
99
"noImplicitReturns": true,
1010
"alwaysStrict": true,
1111
"declaration": true,
12+
"allowSyntheticDefaultImports" : true
1213
},
1314
"include": ["**/*"],
15+
"exclude" :["__tests__"]
1416
}

0 commit comments

Comments
 (0)