fix(build): remove sample from tsconfig

This commit is contained in:
Morb0 2021-01-03 16:52:11 +03:00
parent f4ab8125a0
commit 6f44b52fb5
3 changed files with 3 additions and 10 deletions

View File

@ -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",

View File

@ -1,7 +0,0 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"rootDir": "./lib"
},
"include": ["lib/**/*"]
}

View File

@ -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"]
}