@vighnesh153/tsconfig
v0.4.8
Published
My preferred `tsconfig` for different types of projects
Downloads
138
Maintainers
Readme
@vighnesh153/tsconfig
My preferred tsconfig
for different types of projects
Installation
npm install -D @vighnesh153/tsconfig
Usage
Add the following to your tsconfig.json
file
{
"extends": "@vighnesh153/tsconfig/base.json",
"include": ["."],
"exclude": ["dist", "build", "node_modules"]
}
Variants
You can use different variants of the configurations in different types of projects
- Pure typescript project
{
"extends": "@vighnesh153/tsconfig/base.json",
"include": ["."],
"exclude": ["dist", "build", "node_modules"]
}
- Pure Typescript library
{
"extends": "@vighnesh153/tsconfig/typescript-library.json",
"include": ["."],
"exclude": ["dist", "build", "node_modules"]
}
- ReactJS typescript library
{
"extends": "@vighnesh153/tsconfig/react-library.json",
"include": ["."],
"exclude": ["dist", "build", "node_modules"]
}
- NextJS typescript app
{
"extends": "@vighnesh153/tsconfig/nextjs.json",
"include": ["."],
"exclude": ["dist", "build", "node_modules"]
}