1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

No comments allowed in JSON

This commit is contained in:
Leo Lamprecht 2017-02-16 23:54:55 +01:00
parent 70f02ea8af
commit 009dc90b4a
No known key found for this signature in database
GPG key ID: B08517883D5E0E10

View file

@ -1,5 +1,8 @@
{
"presets": ["latest", "react"],
"presets": [
"latest",
"react"
],
"plugins": [
"transform-object-rest-spread",
"transform-class-properties",
@ -7,14 +10,13 @@
],
"env": {
"test-build": {
"plugins": ["istanbul"]
"plugins": [
"istanbul"
]
},
"test": {
"presets": [
// To transpile import statements into commonjs.
// That's because Jest(runs in Node.js) don't know how to handle them.
"es2015",
// To let test apps(and Jest) to use Next's babel preset
"./babel"
]
}