TS Config Foyer
A TS config for Foyer
Installation
Dependent on
typescript-tslint-plugin
npm install @foyer/tsconfig typescript-tslint-plugin --save-dev
Usage
In tsconfig.json
:
Specify directories path explicily
{
"extends": "@foyer/tsconfig/tsconfig-base.json",
"include": ["./src/**/*"],
"awesomeTypescriptLoaderOptions": {
"reportFiles": ["./src/**/*"]
}
}
It requires tslint config file ./tslint.json
Overried config flags
{
"extends": "@foyer/tsconfig/tsconfig-base.json",
"compilerOptions": {
"outDir": "./dist/",
"allowJs": false,
"declaration": true,
"strictNullChecks": true
},
"include": ["./src/**/*"],
"awesomeTypescriptLoaderOptions": {
"reportFiles": ["./src/**/*"]
}
}
License
MIT