@clabnet/configs-ts

0.1.8 • Public • Published

Shared typescript configuration

License: MIT

The purpose of the typescript is to add strong typing to javascript.

This configuration targets lib typescript packages.


Contents

Setup

  • Add workspace reference to @clabnet/configs-ts and its peers dependencies:

    pnpm add -w @clabnet/configs-ts typescript @types/node
  • Add typescript configuration file

    // packages/foo/tsconfig.json
    
    {
      "extends": "@clabnet/configs-ts",
      "compilerOptions": {
        "baseUrl": "src",
        "rootDir": "src"
      },
      "include": ["src"]
    }

⬅ Back


Readme

Keywords

Package Sidebar

Install

npm i @clabnet/configs-ts

Weekly Downloads

21

Version

0.1.8

License

MIT

Unpacked Size

3.62 kB

Total Files

4

Last publish

Collaborators

  • clabnet