]> git.proxmox.com Git - sencha-touch.git/blob - src/examples/kitchensink/app.json
import Sencha Touch 2.4.2 source
[sencha-touch.git] / src / examples / kitchensink / app.json
1 {
2 /**
3 * The application's namespace, used by Sencha Command to generate classes
4 */
5 "name": "KitchenSink",
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-all-debug.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/base.css",
76 "platform": ["base"],
77 "update": "delta"
78 },
79 {
80 "path": "resources/css/sencha-touch.css",
81 "platform": ["desktop", "firefox"],
82 "exclude": ["ie10", "windows", "tizen"],
83 "theme": "Default",
84 "update": "delta"
85 },
86 {
87 "path": "resources/css/wp.css",
88 "platform": ["ie10", "windows"],
89 "theme": "Windows",
90 "update": "delta"
91 },
92 {
93 "path": "resources/css/bb103.css",
94 "platform": ["blackberry"],
95 "theme": "Blackberry",
96 "update": "delta"
97 },
98 {
99 "path": "resources/css/cupertino.css",
100 "platform": ["ios"],
101 "theme": "Cupertino",
102 "update": "delta"
103 },
104 {
105 "path": "resources/css/cupertino-classic.css",
106 "platform": ["ios-classic"],
107 "theme": "CupertinoClassic",
108 "update": "delta"
109 },
110 {
111 "path": "resources/css/mountainview.css",
112 "platform": ["android"],
113 "theme": "MountainView",
114 "update": "delta"
115 },
116 {
117 "path": "resources/css/tizen.css",
118 "platform": ["tizen"],
119 "theme": "Tizen",
120 "update": "delta"
121 }
122 ],
123
124 /**
125 * Used to automatically generate cache.manifest (HTML 5 application cache manifest) file when you build
126 */
127 "appCache": {
128 /**
129 * List of items in the CACHE MANIFEST section
130 */
131 "cache": [
132 "index.html",
133 "carregions.json",
134 "test.json",
135 "userData.json",
136 "feed.js",
137 "resources/images/circle-touch.png",
138 "resources/images/circle-performance.png",
139 "resources/images/circle-architecture.png",
140 "resources/images/circle-native.png",
141 "resources/images/circle-learn.png",
142 "resources/images/circle-touch.png",
143 "resources/images/noise.gif",
144 "resources/images/sencha_small.png"
145 ],
146 /**
147 * List of items in the NETWORK section
148 */
149 "network": [
150 "*"
151 ],
152 /**
153 * List of items in the FALLBACK section
154 */
155 "fallback": []
156 },
157
158 /**
159 * Extra resources to be copied along when build
160 */
161 "extras": [
162 "carregions.json",
163 "test.json",
164 "userData.json",
165 "feed.js",
166 "resources/images",
167 "resources/icons",
168 "resources/loading"
169 ],
170
171 /**
172 * File / directory name matchers to ignore when copying to the builds, must be valid regular expressions
173 */
174 "ignore": [
175 "\.svn$"
176 ],
177
178 /**
179 * Directory path to store all previous production builds. Note that the content generated inside this directory
180 * must be kept intact for proper generation of deltas between updates
181 */
182 "archivePath": "archive",
183
184 "buildOptions": {
185 "product": "touch",
186 "minVersion": 3,
187 "debug": false,
188 "logger": "no"
189 },
190
191 "output": "${workspace.build.dir}/kitchensink/${build.environment}",
192
193 /**
194 * List of package names to require for the cmd build process
195 */
196 "requires": [
197 ],
198
199 /**
200 * Uniquely generated id for this application, used as prefix for localStorage keys.
201 * Normally you should never change this value.
202 */
203 "id": "3a867610-670a-11e1-a90e-4318029d18bb"
204 }