{
  "application": {
    "name": "Example",
    "module": "base"
  },
  "platforms": [ "android", "iphone", "web" ],
  "packages": {
    "web": {
      "platforms": [ "web" ],
      "combine": false
    },
    "native-home": {
      "platforms": [ "android", "iphone" ],
      "modules": [ "base", "home" ],
      "combine": true
    }
  },

  "modules": {
    "base": {
      "scripts": [
        {"src": "js/init.js", "global": true},
        {"src": "js/router.js", "global": true, "platform": "web"},

        "js/init.js",

        {"src": "js/bridge.js", "platforms": ["iphone", "android"]},
        {"src": "js/bridge-android.js", "platform": "android"},
        {"src": "js/bridge-iphone.js", "platform": "iphone"},

        {"src": "js/views/header.js", "platform": "web"},

        {"package-config": true},
        {"module-map": true}
      ],

      "styles": [
        "styles/base.styl",
        "styles/header.styl",
        {"src": "styles/iphone.styl", "platform": "iphone"}
      ],

      "static": [
        {"src": "public/#{platform}/index.html", "dest": "index.html"},
        {"src": "js/bridge.js", "dest": "#{platform}-file.txt"}
      ]
    },
    "home": {
      "depends": ["dummy"],
      "routes": {
        "": "home",
        "home": "home"
      },
      "scripts": [
        "js/views/home.js",
        "js/routers/home.js"
      ],
      "styles": [
        "styles/home.styl"
      ]
    }
  },
  "templates": {
    "js/views/header.js": [
      "templates/header.handlebars"
    ],
    "js/views/home.js": [
      "templates/home"
    ]
  },

  "styles": {
    "pixelDensity": {
      "android": [ 1, 1.5 ],
      "iphone": [ 1, 2 ],
      "web": [ 1, 2 ]
    },
    "useNib": true,
    "config": [
      "styles/config.json"
    ],
    "includes": [
      "styles/include/global.styl"
    ]
  }
}
