     build: ['clean', 'webpack:main', 'copy:main', 'copy:dev', 'copy:pkg']
     test: ['mochaTest']
     # Deploy tasks
-    dist: ['clean', 'distConfig', 'webpack:main', 'copy:main', 'copy:pkg', 'copy:deploy'] # Dist - minifies files
+    dist: ['coffee:dist'] # Dist
     publish: ['build', 'test', 'gh-pages'] # Publish to Github Pages
     # Development tasks
     dev: ['nolr', 'build', 'test', 'watch']


    concat:
      templates: {}

    copy:
      deploy:
        files = [
          expand: true
          cwd: "build/<%= relativePath %>/script/"
          src: ['**']
          dest: "dist/"
        ]

    mochaTest:
      main:

        base: 'build/<%= relativePath %>'
      src: ['**']

    coffee:
      dist:
        files: [
          expand: true
          cwd: 'src/script'
          src: ['**/*.coffee']
          dest: "./"
          rename: (path, filename) ->
            path + filename.replace("coffee", "js")
        ]

    watch:
      coffee:
        files: ['src/script/**/*.coffee']
        tasks: ['coffee:main']
      main:
        tasks: ['webpack:main', 'copy:main', 'copy:dev']

