diff --git a/package.json b/package.json index 8ac715b..9524a29 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ ], "repository": "git@github.com:bukhalo/nestjs-telegraf.git", "scripts": { - "build": "rm -rf dist && tsc -p tsconfig.build.json", + "build": "rm -rf dist && tsc -p tsconfig.json", "precommit": "lint-staged", "prepublish:npm": "npm run build", "publish:npm": "npm publish --access public", diff --git a/tsconfig.build.json b/tsconfig.build.json deleted file mode 100644 index 855a530..0000000 --- a/tsconfig.build.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "rootDir": "./lib" - }, - "include": ["lib/**/*"] -} diff --git a/tsconfig.json b/tsconfig.json index 56083b9..1a6c056 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,10 +9,10 @@ "experimentalDecorators": true, "target": "es2017", "sourceMap": false, - "baseUrl": "./", + "rootDir": "./lib", "outDir": "./dist", "skipLibCheck": true }, - "include": ["lib/**/*", "./sample/**/*"], + "include": ["lib/**/*"], "exclude": ["node_modules", "**/*.spec.ts"] }