diff --git a/package.json b/package.json index 8ad39f2..2e8eda3 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "prettier:format": "prettier --write .", "lint": "eslint ./src/ --ext .ts,.js,.json", "lint:fix": "eslint --fix ./src/ --ext .ts,.js,.json", - "type-check": "tsc -p tsconfig.json --noEmit --pretty", + "type-check": "tsc -p tsconfig.build.json --noEmit --pretty", "create-bucket": "cross-var aws s3 mb s3://$npm_package_config_s3BucketName --region $npm_package_config_region", "delete-bucket": "cross-var aws s3 rb s3://$npm_package_config_s3BucketName --region $npm_package_config_region", "delete-stack": "cross-var aws cloudformation delete-stack --stack-name $npm_package_config_cloudFormationStackName --region $npm_package_config_region", diff --git a/tsconfig.build.json b/tsconfig.build.json new file mode 100644 index 0000000..bdc55c5 --- /dev/null +++ b/tsconfig.build.json @@ -0,0 +1,7 @@ +{ + "extends": "./tsconfig", + "compilerOptions": { + "skipLibCheck": true + }, + "exclude": ["node_modules/**"] +}