JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q55325F
  • License MIT

Shared typescript config for monorepo and lib packages

Package Exports

  • @clabnet/configs-ts
  • @clabnet/configs-ts/tsconfig.json

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@clabnet/configs-ts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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