add missing babel-node package and fix starting js file

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2018-11-14 16:23:36 +01:00
parent d08d2bb868
commit af7187a71d
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,7 @@ const nodemon = require('gulp-nodemon')
gulp.task('devel', () => {
nodemon({
script: 'src/index.js',
script: 'src/app.js',
presets: ['env', 'stage-2'],
exec: 'babel-node'
})

View File

@ -13,6 +13,7 @@
"devDependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@babel/node": "^7.0.0",
"@babel/plugin-transform-async-to-generator": "^7.1.0",
"@babel/preset-env": "^7.1.0",
"gulp": "^3.9.1",