File tree Expand file tree Collapse file tree 2 files changed +15
-20
lines changed Expand file tree Collapse file tree 2 files changed +15
-20
lines changed Original file line number Diff line number Diff line change @@ -8,18 +8,7 @@ gulp.task('help', help);
88
99gulp . task ( 'compile' , function ( ) {
1010 return gulp . src ( 'lib/**/*.js' )
11- . pipe ( babel ( {
12- presets : [
13- 'es2015' ,
14- 'react'
15- ] ,
16- plugins : [
17- 'syntax-async-functions' ,
18- 'transform-async-to-generator' ,
19- 'transform-class-properties' ,
20- 'transform-runtime'
21- ]
22- } ) )
11+ . pipe ( babel ( ) )
2312 . pipe ( gulp . dest ( 'build/lib' ) ) ;
2413} ) ;
2514
Original file line number Diff line number Diff line change 66 "files" : [
77 " build"
88 ],
9- "dependencies" : {
10- "babel-runtime" : " 6.6.1"
11- },
129 "devDependencies" : {
1310 "ava" : " 0.13.0" ,
1411 "babel-eslint" : " 5.0.0" ,
1916 "babel-preset-es2015" : " 6.6.0" ,
2017 "babel-preset-react" : " 6.5.0" ,
2118 "babel-register" : " 6.7.2" ,
19+ "babel-runtime" : " 6.6.1" ,
2220 "del" : " 2.2.0" ,
2321 "eslint-config-standard" : " 4.4.0" ,
2422 "eslint-config-standard-jsx" : " 1.1.1" ,
4442 " react"
4543 ],
4644 "plugins" : [
47- " syntax-async-functions" ,
48- " transform-async-to-generator" ,
49- " transform-class-properties" ,
50- " transform-runtime"
45+ " transform-class-properties"
5146 ]
5247 },
5348 "ava" : {
5954 " babel-register" ,
6055 " ./test/helpers/setup-browser-env.js"
6156 ],
62- "babel" : " inherit"
57+ "babel" : {
58+ "presets" : [
59+ " es2015" ,
60+ " react"
61+ ],
62+ "plugins" : [
63+ " syntax-async-functions" ,
64+ " transform-async-to-generator" ,
65+ " transform-class-properties" ,
66+ " transform-runtime"
67+ ]
68+ }
6369 }
6470}
You can’t perform that action at this time.
0 commit comments