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