diff --git a/package.json b/package.json index 8926421..d16f37e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "scripts": { - "compile": "tsc --project .", - "compile:check": "tsc --project . --noEmit", + "compile": "tsc --project ./src", + "compile:check": "yarn compile --noEmit", "test": "jest", "test:watch": "jest --watch", "start": "node dist/index.js", diff --git a/src/tsconfig.json b/src/tsconfig.json new file mode 100644 index 0000000..6c34774 --- /dev/null +++ b/src/tsconfig.json @@ -0,0 +1,3 @@ +{ + "extends": "../tsconfig.json" +} diff --git a/tsconfig.json b/tsconfig.json index 7756833..7ef0b65 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -63,5 +63,5 @@ /* Advanced Options */ "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */ }, - "exclude": ["dist/*", "test/*"] + "exclude": ["dist/*"] }