@zilero/tsconfigs
v1.2.10
Published
π· Opinionated TypeScript configuration for modern development
Maintainers
Readme
β¨ Opinionated TypeScript configurations for modern development
β¨ Features
- π¦ Multiple presets for different environments
- π― Strict type checking enabled
- π§ Modern ECMAScript features
- π Optimized for React and Next.js
- πͺ Node.js support
- π Path aliases support
- π Incremental compilation
π₯ Installation
Using npm
npm install --save-dev @zilero/tsconfigsUsing yarn
yarn add -D @zilero/tsconfigsUsing pnpm
pnpm install -D @zilero/tsconfigsπ Quick start
Create the tsconfig.json at the root of your project:
{
"extends": "./node_modules/@zilero/tsconfigs/tsconfig.base.json",
"compilerOptions": {
}
}π Available Configurations
tsconfig.base.json- Base configuration for TypeScript projectstsconfig.react.json- Configuration for React applicationstsconfig.next.json- Configuration for Next.js projectstsconfig.node.json- Configuration for Node.js applications
βοΈ Configuration Details
Base Configuration
{
"extends": "./node_modules/@zilero/tsconfigs/tsconfig.base.json",
}React Configuration
{
"extends": "./node_modules/@zilero/tsconfigs/tsconfig.react.json",
}Next.js Configuration
{
"extends": "./node_modules/@zilero/tsconfigs/tsconfig.next.json",
}Node Configuration
{
"extends": "./node_modules/@zilero/tsconfigs/tsconfig.node.json",
}π€ Contributing
We'd love for you to contribute to @zilero/tsconfigs! Whether it's reporting bugs, suggesting features, or submitting pull requests, your help is always appreciated.
How to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature). - Make your changes.
- Commit your changes (
git commit -am 'Add new feature'). - Push to the branch (
git push origin feature/your-feature). - Open a pull request.
π Code of Conduct
Please follow our Code of Conduct when participating in this project to ensure a welcoming and productive atmosphere.
π Security Policy
Security is our priority. If you encounter any issues, please read our full Security Policy to report vulnerabilities safely and responsibly.
π₯ Team
These folks keep the project moving and are resources for help.
π License
License @zilero/tsconfigs is licensed under the MIT License.
