SHARE
TWEET

app.json

a guest Nov 6th, 2018 188 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.     "builds": {
  3.         "web": {"default": true},
  4.         "native": {
  5.             "packager": "phonegap",
  6.             "phonegap" : {
  7.                 "config": {
  8.                     // Uncomment the line below and add the platform you wish to build for
  9.                     //"platform": "ios",
  10.  
  11.                     // Uncomment and Set this line to true to enable PhoneGap Remote Building.
  12.                     // To properly use this you must set the following properties in your local.properties file (if this file does not exist create it in your app root)
  13.                     // phonegap.remote.username=myname@domain.com
  14.                     // phonegap.remote.password=mys3cr3tp@ssw0rd
  15.                     //"remote":false,
  16.  
  17.                     "id": "com.jack.firstapp",
  18.                     "name": "blogapp"
  19.                 }
  20.             }
  21.         }
  22.     },
  23.  
  24.                
  25.     /**
  26.      * The application's namespace, used by Sencha Command to generate classes
  27.      */
  28.     "name": "Firstapp",
  29.  
  30.     /**
  31.      * The file path to this application's front HTML document, relative to this app.json file
  32.      */
  33.     "indexHtmlPath": "index.html",
  34.  
  35.     /**
  36.      * The absolute URL to this application in development environment, i.e: the URL to run this application
  37.      * on your web browser during development, e.g: "http://localhost/myapp/index.html".
  38.      *
  39.      * This value is needed when build to resolve your application's dependencies if it requires server-side resources
  40.      * that are not accessible via file system protocol.
  41.      */
  42.     "url": null,
  43.  
  44.     /**
  45.      * List of all JavaScript assets in the right execution order.
  46.      * Each item is an object with the following format:
  47.      *      {
  48.      *          "path": "path/to/script.js" // Path to file, if local file it must be relative to this app.json file
  49.      *          "remote": true              // (Optional)
  50.      *                                      // - Defaults to undefined (falsey) to signal a local file which will be copied
  51.      *                                      // - Specify true if this file is a remote file which will not to be copied
  52.      *          "update": "delta"           // (Optional)
  53.      *                                      //  - If not specified, this file will only be loaded once, and
  54.      *                                      //    cached inside localStorage until this value is changed.
  55.      *                                      //  - "delta" to enable over-the-air delta update for this file
  56.      *                                      //  - "full" means full update will be made when this file changes
  57.      *          "x-bootstrap": true         // (Optional)
  58.      *                                      // Indicates a development mode only dependency.  
  59.      *                                      // These files will not be copied into the build directory or referenced
  60.      *                                      // in the generate app.json manifest for the micro loader.
  61.      *
  62.      *      }
  63.      */
  64.     "js": [
  65.         {
  66.             "path": "touch/sencha-touch.js",
  67.             "x-bootstrap": true
  68.         },
  69.         {
  70.             "path": "bootstrap.js",
  71.             "x-bootstrap": true
  72.         },
  73.         {
  74.             "path": "app.js",
  75.             "bundle": true,  /* Indicates that all class dependencies are concatenated into this file when build */
  76.             "update": "delta"
  77.         }
  78.     ],
  79.  
  80.     /**
  81.      * List of all CSS assets in the right inclusion order.
  82.      * Each item is an object with the following format:
  83.      *      {
  84.      *          "path": "path/to/item.css" // Path to file, if local file it must be relative to this app.json file
  85.      *          "remote": true             // (Optional)
  86.      *                                     // - Defaults to undefined (falsey) to signal a local file which will be copied
  87.      *                                     // - Specify true if this file is a remote file which will not to be copied
  88.      *          "update": "delta"          // (Optional)
  89.      *                                     //  - If not specified, this file will only be loaded once, and
  90.      *                                     //    cached inside localStorage until this value is changed to either one below
  91.      *                                     //  - "delta" to enable over-the-air delta update for this file
  92.      *                                     //  - "full" means full update will be made when this file changes
  93.      *
  94.      *      }
  95.      */
  96.     "css": [
  97.         {
  98.             "path": "resources/css/app.css",
  99.             "update": "delta"
  100.         }
  101.     ],
  102.  
  103.     /**
  104.      * Used to automatically generate cache.manifest (HTML 5 application cache manifest) file when you build
  105.      */
  106.     "appCache": {
  107.         /**
  108.          * List of items in the CACHE MANIFEST section
  109.          */
  110.         "cache": [
  111.             "index.html"
  112.         ],
  113.         /**
  114.          * List of items in the NETWORK section
  115.          */
  116.         "network": [
  117.             "*"
  118.         ],
  119.         /**
  120.          * List of items in the FALLBACK section
  121.          */
  122.         "fallback": []
  123.     },
  124.  
  125.     /**
  126.      * Extra resources to be copied along when build
  127.      */
  128.     "resources": [
  129.         "resources/images",
  130.         "resources/icons",
  131.         "resources/startup"
  132.     ],
  133.  
  134.     /**
  135.      * File / directory name matchers to ignore when copying to the builds, must be valid regular expressions
  136.      */
  137.     "ignore": [
  138.         "\.svn$"
  139.     ],
  140.  
  141.     /**
  142.      * Directory path to store all previous production builds. Note that the content generated inside this directory
  143.      * must be kept intact for proper generation of deltas between updates
  144.      */
  145.     "archivePath": "archive",
  146.  
  147.     /**
  148.      * List of package names to require for the cmd build process
  149.      */
  150.     "requires": [
  151.     ],
  152.  
  153.     /**
  154.      * Uniquely generated id for this application, used as prefix for localStorage keys.
  155.      * Normally you should never change this value.
  156.      */
  157.     "id": "ef1fb684-af7b-4a2a-a9c1-be443af368e7"
  158. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top