These are base shared tsconfig.json
s from which all other tsconfig.json
's inherit from.
- Target: ES2020
Install:
$ npm install --save-dev typescript @nnecec/tsconfig
Edit tsconfig.json
:
{
"extends": "@nnecec/tsconfig",
"compilerOptions": {
"outDir": "dist"
}
}
// or
{
"extends":"@nnecec/tsconfig/react",
// or
"extends":"@nnecec/tsconfig/commonjs",
}