@clabnet/configs-ts
v0.1.16
Published
Shared typescript config for monorepo and lib packages
Downloads
58
Readme
Shared typescript configuration
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"] }