No comments allowed in JSON

parent 70f02ea8
{ {
"presets": ["latest", "react"], "presets": [
"latest",
"react"
],
"plugins": [ "plugins": [
"transform-object-rest-spread", "transform-object-rest-spread",
"transform-class-properties", "transform-class-properties",
...@@ -7,14 +10,13 @@ ...@@ -7,14 +10,13 @@
], ],
"env": { "env": {
"test-build": { "test-build": {
"plugins": ["istanbul"] "plugins": [
"istanbul"
]
}, },
"test": { "test": {
"presets": [ "presets": [
// To transpile import statements into commonjs.
// That's because Jest(runs in Node.js) don't know how to handle them.
"es2015", "es2015",
// To let test apps(and Jest) to use Next's babel preset
"./babel" "./babel"
] ]
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment