@theseus-cwl/typescript-config
v1.1.0
Published
Collection of internal typescript configurations.
Readme
@theseus-cwl/typescript-config
A collection of internal TypeScript configurations used across the @theseus-cwl ecosystem.
This package provides predefined TypeScript config setups for different environments and can be consumed internally or externally.
Installation
npm install -D @theseus-cwl/typescript-config
# or
pnpm add -D @theseus-cwl/typescript-config
# or
yarn add -D @theseus-cwl/typescript-configUsage
Extend one of the provided configurations in your tsconfig.json:
// Base config
{
"extends": "@theseus-cwl/typescript-config/base"
}
// React config
{
"extends": "@theseus-cwl/typescript-config/react-library.json"
}
// Merge it with your settings
{
"extends": "@theseus-cwl/typescript-config/react-library.json",
"compilerOptions": {
"outDir": "dist"
},
"include": ["src"],
"exclude": ["node_modules", "dist"]
}