Add --stage 1 to babel cmdline
So we can use trailing function commas. The trailing comma proposal is actually at stage 3 now and there's a babel 6 plugin for it, which we should use when we switch back to babel 6.
This commit is contained in:
parent
e6ff1f8836
commit
6d403e792b
1 changed files with 2 additions and 2 deletions
|
@ -14,8 +14,8 @@
|
|||
},
|
||||
"scripts": {
|
||||
"reskindex": "reskindex -h header",
|
||||
"build": "babel src -d lib --source-maps",
|
||||
"start": "babel src -w -d lib --source-maps",
|
||||
"build": "babel src -d lib --source-maps --stage 1",
|
||||
"start": "babel src -w -d lib --source-maps --stage 1",
|
||||
"lint": "eslint src/",
|
||||
"lintall": "eslint src/ test/",
|
||||
"clean": "rimraf lib",
|
||||
|
|
Loading…
Reference in a new issue