"use strict";

var config = {
    paths: {
        base: process.cwd(),
        dest: "build",
        src: "src",
        config: "config"
    },
    assets: {
        copy: [
                {src: "www/*.*",            dest: "www"},
                {src: "www/html/**/*",      dest: "www/html"},
                {src: "www/img/**/*",       dest: "www/img"},
                //{src: "www/js/lib/**/*",    dest: "www/js/lib"},
                {src: "res/**/*",           dest: "res"},
                {src: "../node_modules/open-iconic/sprite/sprite.svg",
                dest: "www/img/open-iconic"}
              ],
        code: {src: "www/js/app/index.js", dest: "www/js/app"}
    },
    lint: "src/www/js/app/**/*.js",
    "code-style": "src/www/js/app/**/*.js",
    serve: "build/www",
    watch: ["src/www/**/*"],
    reload: ["src/www/**/*.js"],
    aliases: {
        "$APP": "src/www/js/app",
        "$LIB": "src/www/js/lib",
        "$WIDGETS": "src/www/js/lib/templates/widgets",
        "$MODELS": "src/www/js/app/models",
        "$VIEWS": "src/www/js/app/views",
        "$CONTROLLERS": "src/www/js/app/controllers"
    }
}

module.exports = config;

@@ -373,10 +373,8 @@
     
-//
 %7Bsrc
@@ -478,125 +478,8 @@
 es%22%7D
-,%0A                %7Bsrc: %22../node_modules/open-iconic/sprite/sprite.svg%22,%0A                dest: %22www/img/open-iconic%22%7D
 %0A   
@@ -528,18 +528,22 @@
 app/
-index.js%22,
+**/*.js%22,     
  des
@@ -734,293 +734,8 @@
 js%22%5D
-,%0A    aliases: %7B%0A        %22$APP%22: %22src/www/js/app%22,%0A        %22$LIB%22: %22src/www/js/lib%22,%0A        %22$WIDGETS%22: %22src/www/js/lib/templates/widgets%22,%0A        %22$MODELS%22: %22src/www/js/app/models%22,%0A        %22$VIEWS%22: %22src/www/js/app/views%22,%0A        %22$CONTROLLERS%22: %22src/www/js/app/controllers%22%0A    %7D
 %0A%7D%0A%0A

update config