@morphis-labs/tsconfig
v0.0.2
Published
morphis public tsconfig
Downloads
30
Maintainers
Readme
tsconfig
Public TypeScript config by Morphis Labs
Install
npm install --save-dev @morphis-labs/tsconfig
yarn add -D @morphis-labs/tsconfig
pnpm add -D @morphis-labs/tsconfig
This config requires TypeScript 4.7 or later.
Usage
tsconfig.json
{
"extends": "@morphis-labs/tsconfig",
"compilerOptions": {
"outDir": "custom_dir_you_want"
},
"include": ["custom/directory/you/want"]
}
When you are targeting a higher version of Node.js, check the relevant ECMAScript version and add it as target
:
{
"extends": "@morphis-labs/tsconfig",
"compilerOptions": {
"outDir": "dist",
"target": "ES2021"
}
}