Skip to content

RyosukeCla/json5-jest

Repository files navigation

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

About

jest json5 transformer

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •