drop unused packages and stage-2
This commit is contained in:
parent
59fad17e08
commit
de2f2007b4
5
.babelrc
5
.babelrc
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"presets": [
|
||||
["env", { "targets": {"node": "current"} }],
|
||||
"stage-2"
|
||||
["@babel/env", { "targets": {"node": "current"} }]
|
||||
],
|
||||
"plugins": ["transform-async-to-generator"]
|
||||
"plugins": ["@babel/plugin-transform-async-to-generator"]
|
||||
}
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
const gulp = require('gulp')
|
||||
const babel = require('gulp-babel')
|
||||
const concat = require('gulp-concat-util')
|
||||
const clean = require('gulp-clean')
|
||||
const print = require('gulp-print').default
|
||||
const nodemon = require('gulp-nodemon')
|
||||
|
@ -23,7 +22,6 @@ gulp.task('build', () =>
|
|||
gulp.src('src/**/*.js')
|
||||
.pipe(babel())
|
||||
.pipe(print())
|
||||
.pipe(concat.scripts('counter.js'))
|
||||
.pipe(gulp.dest('dist/'))
|
||||
)
|
||||
|
||||
|
|
|
@ -13,15 +13,11 @@
|
|||
"devDependencies": {
|
||||
"@babel/cli": "^7.1.2",
|
||||
"@babel/core": "^7.1.2",
|
||||
"@babel/plugin-transform-async-to-generator": "^7.1.0",
|
||||
"@babel/preset-env": "^7.1.0",
|
||||
"@babel/preset-stage-2": "^7.0.0",
|
||||
"gulp": "^3.9.1",
|
||||
"gulp-babel": "^7.0.1",
|
||||
"gulp-babel": "^8.0.0-beta.2",
|
||||
"gulp-clean": "^0.4.0",
|
||||
"gulp-concat": "^2.6.1",
|
||||
"gulp-concat-util": "^0.5.5",
|
||||
"gulp-count": "^1.0.0",
|
||||
"gulp-debug": "^4.0.0",
|
||||
"gulp-nodemon": "^2.2.1",
|
||||
"gulp-print": "^5.0.0",
|
||||
"nodemon": "^1.18.4"
|
||||
|
|
Loading…
Reference in New Issue