UNPKG
@moxy/jest-config-base
Version:
latest (6.1.0)
6.1.0
6.0.0
5.3.0
5.2.0
5.0.0
MOXY's Jest base configuration
github.com/moxystudio/jest-config
moxystudio/jest-config
@moxy/jest-config-base
/
lib
/
transforms
/
json5.js
8 lines
(5 loc)
•
149 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
'use strict'
;
const
json5 =
require
(
'json5'
);
module
.
exports
= {
process
:
(
src
) =>
`module.exports =
${
JSON
.stringify(json5.parse(src))}
;`
, };