A sharable TypeScript config for the Mann-Conomy Project.
Using npm:
$ npm install --save-dev @mann-conomy/tsconfig
Using yarn:
$ yarn add --dev @mann-conomy/tsconfig
{
"extends": "@mann-conomy/tsconfig",
"compilerOptions": {
"outDir": "dist"
}
}
When targeting a higher version of Node.js, you can override the target with the corresponding ECMAScript version.
{
"extends": "@mann-conomy/tsconfig",
"compilerOptions": {
"outDir": "dist",
"target": "ES2022"
}
}
For reference, you can find the complete tsconfig here.
Copyright 2024, The Mann-Conomy Project