# @medly/jest-config-react

> Basic jest config for react apps

Latest version **1.0.2** (published 2023-01-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install @medly/jest-config-react
pnpm add @medly/jest-config-react
yarn add @medly/jest-config-react
bun add @medly/jest-config-react
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2023-01-02 |
| First published | 2021-06-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 8.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Mukul Bansal |
| Maintainers | kdabir, gmukul01 |
| Keywords | Medly, jest, config |

## Links

- npm: https://www.npmjs.com/package/@medly/jest-config-react
- npm.io page: https://npm.io/package/@medly/jest-config-react

## Dependencies (4)

- [jest](https://npm.io/package/jest.md) ^27.0.4
- [crypto](https://npm.io/package/crypto.md) ^1.0.1
- [jest-styled-components](https://npm.io/package/jest-styled-components.md) ^7.0.4
- [@testing-library/jest-dom](https://npm.io/package/@testing-library/jest-dom.md) ^5.13.0

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2023-01-02
- 1.0.1 — 2023-01-02
- 0.5.0 — 2022-12-27
- 0.4.1 — 2022-12-19
- 0.4.0 — 2021-10-15
- 0.3.3 — 2021-10-12
- 0.3.2 — 2021-09-23
- 0.3.1 — 2021-08-22
- 0.3.0 — 2021-07-26
- 0.2.1 — 2021-06-23
- 0.2.0 — 2021-06-15
- 0.1.0 — 2021-06-09

## README

# Jest Config for React Apps <img style="vertical-align: middle" height="25" src="https://cdn.freebiesupply.com/logos/large/2x/jest-logo-png-transparent.png"> <img style="vertical-align: middle" height="30" src="https://raw.githubusercontent.com/github/explore/80688e429a7d4ef2fca1e82350fe8e3517d3494d/topics/react/react.png">

## What is Jest?

Jest is a delightful JavaScript Testing Framework with a focus on simplicity. It works with projects using: Babel, TypeScript, Node, React, Angular, Vue and more.

## About

Recommended Jest rules to provide more configuration power to your react based web applications.

> Shared [Jest config](https://jestjs.io/docs/configuration)

## Install

```shell
yarn add -D @medly/jest-config-react
```

## Usage

### 1. Use default config

Add below code in your `package.json`

```json
{
 "script": {
  "dist": "jest --config=node_modules/@medly/jest-config-react/jest.config.js"
 }
}
```

### 2. Overwrite default settings

Add below code in your `jest.config.js`

```js
const baseConfig = require('@medly/jest-config-react');

module.exports = {
 ...baseConfig,
 rootDir: './'
};
```

## Default config

To view the default config click [here](index.js)

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