Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryosukecla/json5-jest
jest json5 transformer
https://github.com/ryosukecla/json5-jest
jest json json5 transform
Last synced: 3 months ago
JSON representation
jest json5 transformer
- Host: GitHub
- URL: https://github.com/ryosukecla/json5-jest
- Owner: RyosukeCla
- License: mit
- Created: 2018-07-26T09:04:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-06-14T04:28:44.000Z (over 1 year ago)
- Last Synced: 2024-11-11T19:12:40.232Z (3 months ago)
- Topics: jest, json, json5, transform
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/json5-jest
- Size: 104 KB
- Stars: 7
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# json5-jest [![json5-jest](https://img.shields.io/npm/v/json5-jest.svg?longCache=true)](https://www.npmjs.com/package/json5-jest) [![build status](https://travis-ci.org/RyosukeCla/json5-jest.svg?branch=master)](https://travis-ci.org/RyosukeCla/json5-jest)
> jest json5 transformer## Installation
for jest >= 28
```
$ npm i -D json5-jest
```for jest <= 27
```
$ npm i -D json5-jest@1
```## Jest integration
Please append to package.json
```json
"jest": {
"transform": {
"^.+\\.json5$": "json5-jest"
}
}
```or append to jest.config.js
```js
module.exports = {
transform: {
"^.+\\.json5$": "json5-jest"
}
};
```## Requirements
- node >= 6.9.0
- npm >= 2.x
- jest >= 28## Licence
MIT## Contributers
- [@MaxMellon](https://github.com/MaxMEllon)
- [@wjbenfold](https://github.com/wjbenfold)
- [@Duke242](https://github.com/Duke242)