Skip to content
This repository has been archived by the owner on Jan 1, 2020. It is now read-only.

Commit

Permalink
Merge branch 'release/V0.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
MoeHero committed Nov 7, 2017
2 parents 9187b87 + 4eda204 commit e366aee
Show file tree
Hide file tree
Showing 3 changed files with 2,424 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ gulp.task('live', function() {
.pipe($.order(['Helper.js', 'Module*.js', 'Func*.js', '!Core.js', 'Core.js']))
.pipe($.jshintChannel())
.pipe($.concat('live.js'))
.pipe($.if(path == 'release', $.babel({presets: ['babili']})))
.pipe($.if(path == 'release', $.babel({presets: ['env', 'minify']})))
.pipe($.rename({suffix: '.min'}))
.pipe(gulp.dest(path + '/src/'));
});
gulp.task('script', function() {
return gulp.src(['src/**/!(*.min).js', '!src/live/*.js'])
.pipe($.jshintChannel())
.pipe($.if(path == 'release', $.babel({presets: ['es2015', 'babili']})))
.pipe($.if(path == 'release', $.babel({presets: ['env', 'minify']})))
.pipe($.rename({suffix: '.min'}))
.pipe(gulp.dest(path + '/src/'));
});
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
"test": "echo \"Error: no test specified.\" && exit 0",
"gulp": "gulp release"
},
"devDependencies": {
"babel-preset-babili": "0.0.12",
"dependencies": {
"babel-preset-env": "^1.6.1",
"babel-preset-minify": "^0.2.0",
"gulp": "^3.9.1",
"gulp-archiver": "^1.0.0",
"gulp-babel": "^6.1.2",
Expand Down

0 comments on commit e366aee

Please sign in to comment.