@pazetal/tsconfig
v3.0.0
Published
Common tsconfig configurations
Downloads
32
Readme
TSConfig
Shared TSConfig files. To use this in other packages,
- Add "
@pazetal/tsconfig": "*"as a devDependency to the package.json file - Create a file titled
tsconfig.jsonand extend from@pazetal/tsconfig/tsconfig.json- Alternatively for browser applications, extend from
@pazetal/tsconfig/tsconfig.browser.json - Alternatively for Typescript/Node applications, extend from
@pazetal/tsconfig/tsconfig.node.json
- Alternatively for browser applications, extend from
Example tsconfig.json
{
"extends": "@pazetal/tsconfig/tsconfig.json",
"include": [
"src/**/*"
],
"compilerOptions": {
"types": ["node"],
"noEmit": false,
"outDir": "./dist",
"module": "CommonJS"
},
"ts-node": {
"transpileOnly": true
}
}