 fs = require 'fs'
 path = require 'path'
 yeoman = require 'yeoman-generator'
-semver = require 'semver'
 
 module.exports = class SlideGenerator extends yeoman.generators.NamedBase
     constructor: ->

            @log.info "Appending slides/#{@filename} to slides/list.json."
            list.push @filename

        fs.writeFileSync fullPath, JSON.stringify list, null, 4

            default: false

    files: ->
        fullPath = @destinationPath('slides/list.json')
        list = @fs.readJSON fullPath

        if @options.markdown
            @filename = "#{@_.slugify(@name)}.md"
