Skip to content

Commit

Permalink
fix: tsc failing to compile the code.
Browse files Browse the repository at this point in the history
  • Loading branch information
vxern committed Jun 23, 2023
1 parent 6e28c2a commit 222963e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 85 deletions.
79 changes: 0 additions & 79 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
},
"scripts": {
"build": "tsc",
"start": "tsc && node dist/index.js",
"test": "mocha --no-warnings"
"test": "mocha --no-warnings",
"publish": "tsc && npm publish"
},
"devDependencies": {
"@types/chai": "^4.3.5",
Expand Down
9 changes: 5 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"compilerOptions": {
"module": "ESNext",
"moduleResolution": "NodeNext",
"moduleResolution": "Node",
"target": "ESNext",
"outDir": "dist",
"outDir": "dist/",
"declaration": true,
"declarationDir": "dist",
"declarationDir": "dist/",
"allowJs": true,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
Expand All @@ -26,5 +26,6 @@
"suppressImplicitAnyIndexErrors": false
},
"compileOnSave": true,
"include": ["src"]
"exclude": ["dist/", "node_modules/", "test/"],
"include": ["src/"]
}

0 comments on commit 222963e

Please sign in to comment.