@checkdigit/typescript v4.0.2
typescript
Check Digit "blessed" version of Typescript compiler, plus configuration and lint rules.
The version of this package will always match the underlying version of TypeScript.
Installation
npm add -D @checkdigit/typescript
Installation will bring in, as a production dependency, the version of TypeScript that matches the version of the @checkdigit/typescript package. It will also include a specific version of tslint, and Check Digit custom tslint rules.
To use, make sure your project's tsconfig.json
and tslint.json
extend @checkdigit/typescript
. Make sure your project does not bring in it's own version of typescript or tslint as a dependency.
Example tsconfig.json
{
"extends": "@checkdigit/typescript",
"compilerOptions": {
"rootDir": "src",
"outDir": "build"
},
"exclude": [
"node_modules",
"build",
"dist",
"serve"
]
}
Example tslint.json
{
"extends": "@checkdigit/typescript"
}
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago