]> git.proxmox.com Git - sencha-touch.git/blob - src/examples/states/app.json
import Sencha Touch 2.4.2 source
[sencha-touch.git] / src / examples / states / app.json
1 {
2 /**
3 * The application's namespace, used by Sencha Command to generate classes
4 */
5 "name": "StatesMVC",
6
7 /**
8 * The file path to this application's front HTML document, relative to this app.json file
9 */
10 "indexHtmlPath": "index.html",
11
12 /**
13 * The absolute URL to this application in development environment, i.e: the URL to run this application
14 * on your web browser during development, e.g: "http://localhost/myapp/index.html".
15 *
16 * This value is needed when build to resolve your application's dependencies if it requires server-side resources
17 * that are not accessible via file system protocol.
18 */
19 "url": null,
20
21 /**
22 * List of all JavaScript assets in the right execution order.
23 * Each item is an object with the following format:
24 * {
25 * "path": "path/to/script.js" // Path to file, if local file it must be relative to this app.json file
26 * "remote": true // (Optional)
27 * // - Defaults to undefined (falsey) to signal a local file which will be copied
28 * // - Specify true if this file is a remote file which will not to be copied
29 * "update": "delta" // (Optional)
30 * // - If not specified, this file will only be loaded once, and
31 * // cached inside localStorage until this value is changed.
32 * // - "delta" to enable over-the-air delta update for this file
33 * // - "full" means full update will be made when this file changes
34 * "x-bootstrap": true // (Optional)
35 * // Indicates a development mode only dependency.
36 * // These files will not be copied into the build directory or referenced
37 * // in the generate app.json manifest for the micro loader.
38 *
39 * }
40 */
41 "js": [
42 {
43 "path": "../../sencha-touch.js",
44 "x-bootstrap": true
45 },
46 {
47 "path": "bootstrap.js",
48 "x-bootstrap": true
49 },
50 {
51 "path": "app.js",
52 "bundle": true, /* Indicates that all class dependencies are concatenated into this file when build */
53 "update": "delta"
54 }
55 ],
56
57 /**
58 * List of all CSS assets in the right inclusion order.
59 * Each item is an object with the following format:
60 * {
61 * "path": "path/to/item.css" // Path to file, if local file it must be relative to this app.json file
62 * "remote": true // (Optional)
63 * // - Defaults to undefined (falsey) to signal a local file which will be copied
64 * // - Specify true if this file is a remote file which will not to be copied
65 * "update": "delta" // (Optional)
66 * // - If not specified, this file will only be loaded once, and
67 * // cached inside localStorage until this value is changed to either one below
68 * // - "delta" to enable over-the-air delta update for this file
69 * // - "full" means full update will be made when this file changes
70 *
71 * }
72 */
73 "css": [
74 {
75 "path": "resources/css/app.css",
76 "update": "delta"
77 }
78 ],
79
80 /**
81 * Used to automatically generate cache.manifest (HTML 5 application cache manifest) file when you build
82 */
83 "appCache": {
84 /**
85 * List of items in the CACHE MANIFEST section
86 */
87 "cache": [
88 "index.html"
89 ],
90 /**
91 * List of items in the NETWORK section
92 */
93 "network": [
94 "*"
95 ],
96 /**
97 * List of items in the FALLBACK section
98 */
99 "fallback": []
100 },
101
102 /**
103 * Extra resources to be copied along when build
104 */
105 "resources": [
106 "resources/images",
107 "resources/icons",
108 "app/data/states_data.json",
109 "app/data/states_geo.json",
110 "resources/startup"
111 ],
112
113 /**
114 * File / directory name matchers to ignore when copying to the builds, must be valid regular expressions
115 */
116 "ignore": [
117 "\.svn$"
118 ],
119
120 /**
121 * Directory path to store all previous production builds. Note that the content generated inside this directory
122 * must be kept intact for proper generation of deltas between updates
123 */
124 "archivePath": "archive",
125
126 /**
127 * Build options
128 */
129 "buildOptions": {
130 "product": "touch",
131 "minVersion": 3,
132 "debug": false,
133 "logger": false
134 },
135
136 /**
137 * List of package names to require for the cmd build process
138 */
139 "requires": [
140 ],
141
142 /**
143 * Uniquely generated id for this application, used as prefix for localStorage keys.
144 * Normally you should never change this value.
145 */
146 "id": "ed073b9c-0bb1-42d2-8887-5509497f301a"
147 }