json5-jest

2.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i json5-jest

Weekly Downloads

15,767

Version

2.0.0

License

MIT

Unpacked Size

2.75 kB

Total Files

4

Last publish

Collaborators

  • ryosukesuzuki