@openally/config.typescript
v1.0.3
Published
TypeScript configuration (TSConfig)
Downloads
623
Readme
Getting Started
This package is available in the Node Package Repository and can be easily installed with npm or yarn.
$ npm i -D @openally/config.typescript
# or
$ yarn add @openally/config.typescript -D
Usage
{
"extends": "@openally/config.typescript/cjs",
"compilerOptions": {
"outDir": "dist",
"rootDir": "./src"
},
"include": ["src"],
"exclude": ["node_modules", "dist"]
}
Use either cjs or esm
{
"exports": {
"./esm": "./src/esm/tsconfig.json",
"./cjs": "./src/cjs/tsconfig.json"
}
}
[!NOTE] The original inspiration for those configurations is The TSConfig Cheat Sheet by Matt Pocock.
License
MIT