'use strict'

let name = require('./package.json').moduleName
let gulp = require('gulp')
let tasks = require('@electerious/basictasks')(gulp, name)

const scripts = tasks.scripts({
	from: './src/scripts/main.js',
	to: './dist'
})

const styles = tasks.styles({
	from: './src/styles/main.scss',
	to: './dist'
})

const watch = function() {
	gulp.watch('./src/scripts/**/*.js', [ 'scripts' ])
	gulp.watch('./src/styles/**/*.scss', [ 'styles' ])
}

gulp.task('scripts', scripts)
gulp.task('styles', styles)
gulp.task('default', [ 'scripts', 'styles' ])
gulp.task('watch', [ 'default' ], watch)
@@ -7,18 +7,20 @@
 trict'%0A%0A
-le
+cons
 t name =
@@ -57,18 +57,20 @@
 uleName%0A
-le
+cons
 t gulp =
@@ -86,18 +86,20 @@
 'gulp')%0A
-le
+cons
 t tasks 

Use const where possible