2.0.0 • Published 2 years ago
json5-jest v2.0.0
json5-jest

jest json5 transformer
Installation
for jest >= 28
$ npm i -D json5-jestfor jest <= 27
$ npm i -D json5-jest@1Jest integration
Please append to package.json
"jest": {
"transform": {
"^.+\\.json5$": "json5-jest"
}
}or append to jest.config.js
module.exports = {
transform: {
"^.+\\.json5$": "json5-jest"
}
};Requirements
- node >= 6.9.0
- npm >= 2.x
- jest >= 28
Licence
MIT