@2bad/tsconfig
v3.0.1
Published
Shared TypeScript config
Downloads
2,822
Readme
tsconfig
Shared TypeScript config for our projects
Install
$ npm install --save-dev @2bad/tsconfig
Usage
tsconfig.json
{
"extends": "@2bad/tsconfig",
"compilerOptions": {
"outDir": "build",
"baseUrl": "source"
}
}
If you're willing to use path mapping, you should install tsc-alias and update the configuration accordingly.
{
"extends": "@2bad/tsconfig",
"compilerOptions": {
"outDir": "build",
"baseUrl": "source",
"paths": {
"~/*": ["./*"]
}
},
"tsc-alias": {
"resolveFullPaths": true
}
}