# @zanix/std-config

> ZanixJS Standard Config

Latest version **1.0.6** (published 2024-09-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install @zanix/std-config
pnpm add @zanix/std-config
yarn add @zanix/std-config
bun add @zanix/std-config
```

## Health

**Score 25/100 (F)** — status: maintenance-mode.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2024-09-25 |
| First published | 2023-05-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 9.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Ismael Calle - icalle@utp.edu.co |
| Maintainers | iscam2216, zanix-io |

## Links

- npm: https://www.npmjs.com/package/@zanix/std-config
- Repository: https://github.com/zanix-io/zjs-config
- Homepage: https://github.com/zanix-io/zjs-config/blob/master/std-config/README.md#zanix-framework-standard-configurations
- Issues: https://github.com/zanix-io/zjs-config/issues
- npm.io page: https://npm.io/package/@zanix/std-config

## Dependencies (1)

- [amdefine](https://npm.io/package/amdefine.md) ^1.0.1

## Recent versions

- 1.0.6 (latest) — 2024-09-25
- 1.0.5 — 2024-09-25
- 1.0.5-alpha.9 — 2024-08-21
- 1.0.5-alpha.8 — 2024-06-08
- 1.0.5-alpha.7 — 2024-06-08
- 1.0.5-alpha.6 — 2024-06-08
- 1.0.5-alpha.5 — 2024-06-08
- 1.0.5-alpha.4 — 2024-06-08
- 1.0.5-alpha.3 — 2024-06-08
- 1.0.5-alpha.2 — 2024-06-08
- 1.0.5-alpha.1 — 2024-06-08
- 1.0.4 — 2024-06-02
- 1.0.3 — 2024-06-02
- 1.0.2-beta.1 — 2024-06-02
- 1.0.2 — 2023-09-12
- … 2 more at https://npm.io/package/@zanix/std-config/versions

## README

# Zanix Framework Standard Configurations

[![npm version](https://badge.fury.io/js/%40zanix%2Fstd-config.svg)](https://badge.fury.io/js/%40zanix%2Fstd-config)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)

## Table of Contents

- [Introduction](#introduction)
- [Installation](#installation)
- [Usage](#usage)
- [Support and Contributions](#support-and-contributions)
- [License](#license)
- [Credits](#credits)
- [Acknowledgements](#acknowledgements)

## Introduction

Zanix Framework Standard Configurations is a package that provides base configurations for various tools commonly used in Zanix Framework projects. It aims to help streamline project setup and provide consistent configurations across different development environments.

This package includes basic configurations like the following:

- EditorConfig: Consistent indentation, line endings, and encoding for code editors
- lint-stagedrc: Configuration for running linters on staged files using lint-staged
- Jest preset: Base configuration for Jest testing framework
- Prettier: Opinionated code formatter configuration
- Husky: Git hooks configuration for pre-commit and pre-push actions
- tsconfig base: Base TypeScript configuration for Zanix Framework projects

## Installation

To install the Zanix Framework Standard Configurations package, use npm or yarn:

```bash
npm install --save-dev @zanix/std-config
```

or

```bash
yarn add --dev @zanix/std-config
```

## Usage

Each configuration file can be copied or extended and customized in your project's root directory. The following files are available in the `@zanix/std-config` package:

- `.editorconfig`: Copy this file to the root of your project to enforce consistent code formatting across different editors.
- `.lintstagedrc`: Copy this file to the root of your project to configure lint-staged to run linters on staged files.
- `jest-preset.js`: Create a `jest-config.js` file in the root directory of your project and preset the Zanix Framework Jest Config:
  ```json
  {
    "preset": "@zanix/std-config"
  }
  ```
- `husky`: Copy this folder to the root of your project to configure Git hooks using Husky for pre-commit and pre-push actions.
- `tsconfig.json`: Extends this file in the `tsconfig` file of your project and customize it as needed to set the base TypeScript configuration for your Zanix Framework projects.
  ```json
  {
    "extends": "@zanix/std-config/tsconfig"
  }
  ```

## Support and Contributions

For more information on how to use the templates and get started with ZANIX configuration, please refer to the documentation or to the [changelog](./std-config/CHANGELOG.md#changelog).

Contributions are welcome! If you have suggestions, bug reports, or feature requests, please open an issue on the [GitHub repository](https://github.com/zanix-io/zjs-config/tree/master/std-config). Pull requests are also appreciated.

## License

Zanix Framework Standard Configurations is licensed under the [MIT License](https://opensource.org/licenses/MIT).

## Credits

Zanix Framework Standard Configurations is maintained and sponsored by Zanix Framework.

- GitHub: [https://github.com/zanix-io](https://github.com/zanix-io)

<a name="acknowledgements"></a>

## Acknowledgements ✨

We would like to express our gratitude to the developers of the tools and configurations used in this package. Their work has been instrumental in the development and maintenance of this project.

---
_Source: https://npm.io/package/@zanix/std-config · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
