@onezerocompany/tsconfig-node

TSConfig for all OneZero Node.js projects

Usage no npm install needed!

<script type="module">
  import onezerocompanyTsconfigNode from 'https://cdn.skypack.dev/@onezerocompany/tsconfig-node';
</script>

README

OneZero's tsconfig for Node.js

npm version Testing CodeQL FOSSA Status

TSConfig template for our Node-based projects

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.

  1. Follows each LTS version of Node.js
  2. Uses node module resolution

How to use

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"
}

FOSSA Status

This project is licensed under the terms of the MIT license.