Skip to content

Commit

Permalink
fix: Adding type checking
Browse files Browse the repository at this point in the history
  • Loading branch information
johnchourajr committed May 27, 2024
1 parent f8f21ca commit 3c67fde
Show file tree
Hide file tree
Showing 3 changed files with 127 additions and 131 deletions.
236 changes: 107 additions & 129 deletions package-lock.json

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

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@
"url": "git+https://github.com/johnchourajr/buen-type.git"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"check-types": "tsc --noEmit"
},
"devDependencies": {
"eslint": "^9.3.0",
"js-tokens": "^4.0.0",
"loose-envify": "^1.4.0",
"prettier": "^3.2.5"
"prettier": "^3.2.5",
"typescript": "^5.4.5"
}
}
16 changes: 16 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"allowImportingTsExtensions": true,
"noEmit": true,
"outDir": "./dist",
"rootDir": "./src"
},
"include": ["src"],
"exclude": ["node_modules", "**/*.spec.ts"]
}

0 comments on commit 3c67fde

Please sign in to comment.