Skip to content

Commit 31a24be

Browse files
Cleanup tsconfig (#25)
1 parent af964b8 commit 31a24be

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@joernio/astgen",
3-
"version": "3.21.0",
3+
"version": "3.22.0",
44
"description": "Generate JS/TS AST in json format with Babel",
55
"exports": "./index.js",
66
"keywords": [
@@ -28,10 +28,10 @@
2828
"node": ">=16.0.0"
2929
},
3030
"files": [
31-
"dist/**/*.js"
31+
"./dist/**/*.js"
3232
],
3333
"directories": {
34-
"test": "test"
34+
"test": "./test/"
3535
},
3636
"devDependencies": {
3737
"@tsconfig/node18": "^18.2.4",

tsconfig.json

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
{
22
"extends": "@tsconfig/node18/tsconfig.json",
3-
"include": [
4-
"src/**/*"
5-
],
6-
"exclude": [
7-
"node_modules"
8-
],
3+
"include": [ "./src/**/*.ts" ],
94
"compilerOptions": {
5+
"rootDir": "./src/",
6+
"outDir": "./dist/",
107
"sourceMap": true,
11-
"outDir": "dist",
12-
"rootDir": "./src"
8+
"strict": true,
9+
"noImplicitAny": true,
10+
"strictNullChecks": true,
11+
"noUnusedLocals": true,
12+
"noUnusedParameters": true,
13+
"noImplicitReturns": true,
14+
"skipLibCheck": true,
15+
"skipDefaultLibCheck": true,
16+
"forceConsistentCasingInFileNames": true
1317
}
1418
}
15-

0 commit comments

Comments
 (0)