@openally/config.typescript
v1.2.1
Published
TypeScript configuration (TSConfig)
Downloads
3,195
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 -DUsage
{
"extends": "@openally/config.typescript/cjs",
"compilerOptions": {
"outDir": "dist",
"rootDir": "./src"
},
"include": ["src"],
"exclude": ["node_modules", "dist"]
}
Use either cjs, esm or esm-ts-next
{
"exports": {
".": "./esm/tsconfig.json",
"./esm": "./esm/tsconfig.json",
"./esm-ts-next": "./esm-ts-next/tsconfig.json",
"./cjs": "./cjs/tsconfig.json"
}
}[!NOTE] The original inspiration for those configurations is The TSConfig Cheat Sheet by Matt Pocock.
License
MIT
