diff --git a/package.json b/package.json index 824b03a1..ee6efce8 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "types": "src/index.d.ts", "scripts": { "lint": "eslint --cache ./src", - "lint-fix": "eslint --fix --cache ./src" + "lint-fix": "eslint --fix --cache ./src", + "typecheck": "tsc --noEmit" }, "repository": { "type": "git", diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 00000000..f50531dd --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,13 @@ +{ + "compilerOptions": { + "module": "commonjs", + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "strict": true, + "skipLibCheck": true, + "rootDir": "src" + }, + "files": [ + "src/index.d.ts" + ] +}