2.0.0 • Published 11 months ago

json5-jest v2.0.0

Weekly downloads
13,135
License
MIT
Repository
github
Last release
11 months ago

json5-jest json5-jest build status

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

"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

Contributers

2.0.0

11 months ago

1.0.1

6 years ago

1.0.0

6 years ago