We have many projects based on Node.js and Typescript, which all use the same tsconfig.json.
That's why, instead of having to maintain all these individual configs, we decided to move the configuration here.
If you are interested in using this config file for your projects, we will explain some reasoning behind the config and what you can expect it to do in the future.
- Follows each LTS version of Node.js
- Uses
node
module resolution
First, install this package inside your project:
npm install --save-dev @onezerocompany/tsconfig-node
Then inside your tsconfig.json
, add the extends
value like so:
{
"extends": "@onezerocompany/tsconfig-node/tsconfig.json"
}
This project is licensed under the terms of the MIT license.