use newer versions of gulp packages
This commit is contained in:
parent
27fb356c0d
commit
a6d866aac8
2
.babelrc
2
.babelrc
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"presets": [
|
||||
["env", { "targets": {"node": "8"} }],
|
||||
["env", { "targets": {"node": "current"} }],
|
||||
"stage-2"
|
||||
],
|
||||
"plugins": ["transform-async-to-generator"]
|
||||
|
|
|
@ -18,6 +18,7 @@ gulp.task('clean', () =>
|
|||
gulp.src('dist/*').pipe(clean())
|
||||
)
|
||||
|
||||
/* WARNING: This is broken right now */
|
||||
gulp.task('build', () =>
|
||||
gulp.src('src/**/*.js')
|
||||
.pipe(babel())
|
||||
|
|
11
package.json
11
package.json
|
@ -11,10 +11,10 @@
|
|||
"koa-router": "^7.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-cli": "^6.26.0",
|
||||
"babel-core": "^6.26.3",
|
||||
"babel-preset-env": "^1.7.0",
|
||||
"babel-preset-stage-2": "^6.24.1",
|
||||
"@babel/cli": "^7.1.2",
|
||||
"@babel/core": "^7.1.2",
|
||||
"@babel/preset-env": "^7.1.0",
|
||||
"@babel/preset-stage-2": "^7.0.0",
|
||||
"gulp": "^3.9.1",
|
||||
"gulp-babel": "^7.0.1",
|
||||
"gulp-clean": "^0.4.0",
|
||||
|
@ -23,10 +23,11 @@
|
|||
"gulp-count": "^1.0.0",
|
||||
"gulp-debug": "^4.0.0",
|
||||
"gulp-nodemon": "^2.2.1",
|
||||
"gulp-print": "^5.0.0",
|
||||
"nodemon": "^1.18.4"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "node src/index.js",
|
||||
"start": "node dist/counter.js",
|
||||
"devel": "gulp devel",
|
||||
"clean": "gulp clean",
|
||||
"build": "gulp build"
|
||||
|
|
Loading…
Reference in New Issue