The @commencis/ts-config
package provides a set of TypeScript configuration files that can be used as a starting point for TypeScript projects. It includes predefined compiler options, strict type checking, and other recommended settings to ensure a consistent and reliable development experience.
To use this package, simply install it as a dev dependency in your project. Once installed, you can extend the TypeScript configuration in your project's tsconfig.json
file to inherit the settings provided by @commencis/ts-config
.
To install @commencis/ts-config
, run the following command:
npm install --save-dev @commencis/ts-config
or
yarn add --dev @commencis/ts-config
or
pnpm add --save-dev @commencis/ts-config
After installing @commencis/ts-config
, you can extend the TypeScript configuration in your project's tsconfig.json
file. Here's an example of how to do it:
{
"extends": "@commencis/ts-config",
"compilerOptions": {
// Add custom compiler options if needed
},
"include": ["src"]
}
By extending @commencis/ts-config
, you inherit the predefined compiler options and other settings, allowing you to focus on writing TypeScript code without worrying about the configuration details.
We welcome contributions to improve this package. Feel free to open issues or pull requests to suggest enhancements or report any issues.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
© Commencis, 2024. All rights reserved.