diff --git a/generators/gulp/index.js b/generators/gulp/index.js index 97e8c63..ebca051 100644 --- a/generators/gulp/index.js +++ b/generators/gulp/index.js @@ -93,11 +93,6 @@ module.exports = generators.Base.extend({ this.destinationPath('gulp/tasks') ); - this.fs.copy( - this.templatePath('paths.json'), - this.destinationPath('paths.json') - ); - if (this.options.uploading === 'Amazon S3') { this.fs.copyTpl( this.templatePath('aws-credentials.json'), diff --git a/generators/gulp/templates/tasks/browsersync.js b/generators/gulp/templates/tasks/browsersync.js index 17c7f2a..6abc2a9 100644 --- a/generators/gulp/templates/tasks/browsersync.js +++ b/generators/gulp/templates/tasks/browsersync.js @@ -12,7 +12,7 @@ gulp.task('serve', (done) => { browserSync.init({ // tunnel: true, // open: false, - server: ['.tmp', 'dist'], + server: ['.tmp', 'dist'] }); done(); diff --git a/generators/gulp/templates/tasks/scripts.js b/generators/gulp/templates/tasks/scripts.js index 3ba9c8b..1f5a17f 100644 --- a/generators/gulp/templates/tasks/scripts.js +++ b/generators/gulp/templates/tasks/scripts.js @@ -22,7 +22,7 @@ gulp.task('scripts', () => 'src/assets/javascript/vendor.js', 'src/assets/javascript/main.js' ]) - .pipe(newer('.tmp/assets/javascript/index.js', {dest: path.scripts.dest, ext: '.js'})) + .pipe(newer('.tmp/assets/javascript/index.js', {dest: '.tmp/assets/javascript', ext: '.js'})) .pipe(when(!argv.prod, sourcemaps.init())) .pipe(babel({ presets: ['es2015'] diff --git a/test/gulp.js b/test/gulp.js index 7a21277..ab1b025 100644 --- a/test/gulp.js +++ b/test/gulp.js @@ -18,10 +18,6 @@ test('creates gulpfile', () => { assert.file('gulpfile.js'); }); -test('creates paths.json', () => { - assert.file('paths.json'); -}); - test('creates package.json', () => { assert.file('package.json'); });