README
@jameslnewell/typescript-config
Creates a tsconfig.base.json
file according to my preferences.
Installation
Yarn:
yarn dlx -p @jameslnewell/typescript-config create-editor-config
NPM:
npx -p @jameslnewell/typescript-config create-editor-config
Usage
Create a tsconfig.json
that extends tsconfig.base.json
.
{
"extends": "tsconfig.base.json",
"compilerOptions": {
"declaration": true,
"outDir": "dist",
"target": "CommonJS"
},
"include": ["src"]
}