]> git.proxmox.com Git - extjs.git/blob - extjs/examples/classic/simple-tasks/app.json
add extjs 6.0.1 sources
[extjs.git] / extjs / examples / classic / simple-tasks / app.json
1 {
2 /**
3 * The application's namespace.
4 */
5 "name": "SimpleTasks",
6
7 /**
8 * Comma-separated string with the paths of directories or files to search. Any classes
9 * declared in these locations will be available in your class "requires" or in calls
10 * to "Ext.require". The "app.dir" variable below is expanded to the path where the
11 * application resides (the same folder in which this file is located).
12 */
13 "classpath": "${app.dir}/app,${app.dir}/../ux",
14
15 /**
16 * The Sencha Framework for this application: "ext" or "touch".
17 */
18 "framework": "ext",
19
20 "toolkit": "classic",
21
22 /**
23 * The name of the theme for this application.
24 */
25 "theme": "theme-neptune",
26
27 /**
28 * The list of required packages (with optional versions; default is "latest").
29 *
30 * For example,
31 *
32 * "requires": [
33 * "charts"
34 * ]
35 */
36 "requires": [
37 "ux"
38 ],
39
40 /**
41 * Sass configuration properties.
42 */
43 "sass": {
44 /**
45 * The root namespace to use when mapping *.scss files to classes in the
46 * sass/src and sass/var directories. For example, "SimpleTasks.view.Foo" would
47 * map to "sass/src/view/Foo.scss". If we changed this to "SimpleTasks.view" then
48 * it would map to "sass/src/Foo.scss". To style classes outside the app's
49 * root namespace, change this to "". Doing so would change the mapping of
50 * "SimpleTasks.view.Foo" to "sass/src/SimpleTasks/view/Foo.scss".
51 */
52 "namespace": "SimpleTasks"
53 },
54
55 /**
56 * The file path to this application's front HTML document. This is relative
57 * to this app.json file.
58 */
59 "indexHtmlPath": "index.html",
60
61 /**
62 * The absolute URL to this application in development environment, i.e: the URL to run
63 * this application on your web browser, e.g: "http://localhost/SimpleTasks/index.html".
64 *
65 * This value is needed when build to resolve your application's dependencies if it
66 * requires server-side resources. This setting is only used if you enable dynamic
67 * resolution by setting "skip.resolve=0" (in .sencha/app/sencha.cfg) or if you
68 * invoke "sencha app resolve".
69 */
70 "url": null,
71
72 /**
73 * List of all JavaScript assets in the right execution order.
74 *
75 * Each item is an object with the following format:
76 *
77 * {
78 * // Path to file. If the file is local this must be a relative path from
79 * // this app.json file.
80 * //
81 * "path": "path/to/script.js", // REQUIRED
82 *
83 * // Set to true on one file to indicate that it should become the container
84 * // for the concatenated classes.
85 * //
86 * "bundle": false, // OPTIONAL
87 *
88 * // Set to true to include this file in the concatenated classes.
89 * //
90 * "includeInBundle": false, // OPTIONAL
91 *
92 * // Specify as true if this file is remote and should not be copied into the
93 * // build folder. Defaults to false for a local file which will be copied.
94 * //
95 * "remote": false, // OPTIONAL
96 *
97 * // If not specified, this file will only be loaded once, and cached inside
98 * // localStorage until this value is changed. You can specify:
99 * //
100 * // - "delta" to enable over-the-air delta update for this file
101 * // - "full" means full update will be made when this file changes
102 * //
103 * "update": "", // OPTIONAL
104 *
105 * // A value of true indicates that is a development mode only dependency.
106 * // These files will not be copied into the build directory or referenced
107 * // in the generate app.json manifest for the micro loader.
108 * //
109 * "bootstrap": false // OPTIONAL
110 * }
111 */
112 "js": [
113 {
114 "path": "app.js",
115 "bundle": true
116 }
117 ],
118
119 /**
120 * List of all CSS assets in the right inclusion order.
121 *
122 * Each item is an object with the following format:
123 *
124 * {
125 * // Path to file. If the file is local this must be a relative path from
126 * // this app.json file.
127 * //
128 * "path": "path/to/stylesheet.css", // REQUIRED
129 *
130 * // Specify as true if this file is remote and should not be copied into the
131 * // build folder. Defaults to false for a local file which will be copied.
132 * //
133 * "remote": false, // OPTIONAL
134 *
135 * // If not specified, this file will only be loaded once, and cached inside
136 * // localStorage until this value is changed. You can specify:
137 * //
138 * // - "delta" to enable over-the-air delta update for this file
139 * // - "full" means full update will be made when this file changes
140 * //
141 * "update": "" // OPTIONAL
142 * }
143 */
144 "css": [
145 {
146 "path": "bootstrap.css",
147 "bootstrap": true
148 }
149 ],
150
151 /**
152 * Used to automatically generate cache.manifest (HTML 5 application cache manifest) file when you build
153 */
154 "appCache": {
155 /**
156 * List of items in the CACHE MANIFEST section
157 */
158 "cache": [
159 "index.html"
160 ],
161 /**
162 * List of items in the NETWORK section
163 */
164 "network": [
165 "*"
166 ],
167 /**
168 * List of items in the FALLBACK section
169 */
170 "fallback": []
171 },
172
173 /**
174 * Extra resources to be copied along when build
175 */
176 "resources": [
177 {
178 "path": "resources"
179 }
180 ],
181
182 /**
183 * File / directory name matchers to ignore when copying to the builds, must be valid regular expressions
184 */
185 "ignore": [
186 "^\\.svn$",
187 "^\\.git$"
188 ],
189
190 /**
191 * Directory path to store all previous production builds. Note that the content generated inside this directory
192 * must be kept intact for proper generation of deltas between updates
193 */
194 "archivePath": "archive",
195
196 /**
197 * Additional resources used during theme slicing operations
198 */
199 "slicer": {
200 "js": [
201 {
202 "path": "${app.dir}/sass/example/custom.js",
203 "isWidgetManifest": true
204 }
205 ]
206 },
207
208 /**
209 * override objects for setting build environment specific
210 * settings.
211 */
212 "production": {
213 },
214
215 "testing": {
216 },
217
218 "development": {
219 },
220
221 /**
222 * Controls the name of the manifest file used by the microloader for
223 * dev and build modes
224 */
225 "manifest": {
226 "name": "app.json",
227 "bootstrap": "bootstrap.json"
228 },
229
230 /**
231 * Controls the output directory for build resources. May be set with
232 * either a string:
233 *
234 * outputDir: ""
235 *
236 * or an object containing 5 possible values for various types of
237 * build artifacts:
238 *
239 * outputDir: {
240 * // this is the base of the output directory. all other paths
241 * // are relative to this
242 * base: ""
243 *
244 * // output dir for the index.html and manifest.json files.
245 * // defaults to base
246 * page:".",
247 *
248 * // output dir for compile js files.
249 * // defaults to base
250 * js: ".",
251 *
252 * // output dir for compiled app css content.
253 * // defaults to "resources" under the base location
254 * css: "./resources",
255 *
256 * // output dir for all other page resources (images, etc.)
257 * // defaults to the css location
258 * resources: ""
259 * }
260 *
261 */
262 "output": "${ext.dir}/build/examples/classic/simple-tasks",
263
264 /**
265 * Uniquely generated id for this application, used as prefix for localStorage keys.
266 * Normally you should never change this value.
267 */
268 "id": "663b22d8-3bdf-4687-84f3-f590cf7a7741"
269 }