# @grixu/jest-config

> Jest configuration for TS & Vue3

Latest version **1.0.0** (published 2021-12-13) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

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

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2021-12-13 |
| First published | 2021-12-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 15 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Mateusz Gostański |
| Maintainers | grixu |
| Keywords | vue3, jest, testing, unit, tests, config |

## Links

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

## Dependencies (15)

- [vue](https://npm.io/package/vue.md) 3.2.22
- [jest](https://npm.io/package/jest.md) ^27.3.1
- [ts-jest](https://npm.io/package/ts-jest.md) ^27.0.7
- [babel-jest](https://npm.io/package/babel-jest.md) ^27.3.1
- [typescript](https://npm.io/package/typescript.md) ^4.5.2
- [@babel/core](https://npm.io/package/@babel/core.md) ^7.16.0
- [@types/jest](https://npm.io/package/@types/jest.md) ^27.0.1
- [@vue/vue3-jest](https://npm.io/package/@vue/vue3-jest.md) ^27.0.0-alpha.3
- [@storybook/vue3](https://npm.io/package/@storybook/vue3.md) ^6.4.0
- [@vue/test-utils](https://npm.io/package/@vue/test-utils.md) ^2.0.0-rc.17
- [@babel/preset-env](https://npm.io/package/@babel/preset-env.md) ^7.16.4
- [jest-serializer-vue](https://npm.io/package/jest-serializer-vue.md) ^2.0.2
- [jest-transform-stub](https://npm.io/package/jest-transform-stub.md) ^2.0.0
- [jest-watch-typeahead](https://npm.io/package/jest-watch-typeahead.md) ^1.0.0
- [@babel/plugin-transform-modules-commonjs](https://npm.io/package/@babel/plugin-transform-modules-commonjs.md) ^7.15.0

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2021-12-13

## README

# @grixu/jest-config

It's simple Jest config for use in grixu/ui library and other projects.

## Usage

```bash
yarn add -D @grixu/jest-config
```

Then, add `jest.config.js` file with following content:

```js
const base = require("@grixu/jest-config")
const packageJson = require("./package")

module.exports = {
  ...base,
  name: packageJson.name,
  displayName: packageJson.name,
}
```

and create an `babel.config.js`, and fill it like this one:

```js
module.exports = {
  presets: ["@babel/preset-env"],
}

```

## Changelog

Please see [CHANGELOG](CHANGELOG.md) in each package for more information what has changed recently.

## Contributing

Please see [CONTRIBUTING](../../CONTRIBUTING.md) for details.

## Credits

- [Mateusz Gostański](https://github.com/grixu)

## License

The MIT License (MIT). Please see [License File](../../LICENSE.md) for more information.

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