1.0.1 • Published 8 months ago
@aniftyco/tsconfig v1.0.1
@aniftyco/tsconfig
Shared TypeScript config for NiftyCo projects.
Install
npm install --save-dev @aniftyco/tsconfig
This config requires TypeScript 4.7 or later.
Usage
tsconfig.json
{
"extends": "@aniftyco/tsconfig",
"compilerOptions": {
"outDir": "dist"
}
}
When you are targeting a higher version of Node.js, check the relevant ECMAScript version and add it as target
:
{
"extends": "@aniftyco/tsconfig",
"compilerOptions": {
"outDir": "dist",
"target": "ES2021"
}
}