Advertisement
Guest User

Untitled

a guest
Mar 29th, 2017
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.53 KB | None | 0 0
  1. {
  2. /**
  3. * The application's namespace.
  4. */
  5. "name": "FindGood",
  6.  
  7. /**
  8. * The version of the application.
  9. */
  10. "version": "1.0.0.0",
  11.  
  12. /**
  13. * The relative path to the application's markup file (html, jsp, asp, etc.).
  14. */
  15. "indexHtmlPath": "index.html",
  16.  
  17. /**
  18. * Comma-separated string with the paths of directories or files to search. Any classes
  19. * declared in these locations will be available in your class "requires" or in calls
  20. * to "Ext.require". The "app.dir" variable below is expanded to the path where the
  21. * application resides (the same folder in which this file is located).
  22. */
  23. "classpath": [
  24. "app",
  25. "${toolkit.name}/src"
  26. ],
  27.  
  28. /**
  29. * Comma-separated string with the paths of directories or files to search. Any classes
  30. * declared in these locations will be automatically required and included in the build.
  31. * If any file defines an Ext JS override (using Ext.define with an "override" property),
  32. * that override will in fact only be included in the build if the target class specified
  33. * in the "override" property is also included.
  34. */
  35. "overrides": [
  36. "overrides",
  37. "${toolkit.name}/overrides"
  38. ],
  39.  
  40. /**
  41. * The Sencha Framework for this application: "ext" or "touch".
  42. */
  43. "framework": "ext",
  44.  
  45.  
  46.  
  47.  
  48. /**
  49. * The list of required packages (with optional versions; default is "latest").
  50. *
  51. * For example,
  52. *
  53. * "requires": [
  54. * "charts"
  55. * ]
  56. */
  57. "requires": [
  58. "font-awesome",
  59. "ux"
  60. ],
  61.  
  62. /**
  63. * Fashion build configuration properties.
  64. */
  65. "fashion": {
  66. "inliner": {
  67. /**
  68. * Disable resource inliner. Production builds enable this by default.
  69. */
  70. "enable": false
  71. }
  72. },
  73.  
  74. /**
  75. * Sass configuration properties.
  76. */
  77. "sass": {
  78. /**
  79. * The root namespace to use when mapping *.scss files to classes in the
  80. * sass/src and sass/var directories. For example, "FindGood.view.Foo" would
  81. * map to "sass/src/view/Foo.scss". If we changed this to "FindGood.view" then
  82. * it would map to "sass/src/Foo.scss". To style classes outside the app's
  83. * root namespace, change this to "". Doing so would change the mapping of
  84. * "FindGood.view.Foo" to "sass/src/FindGood/view/Foo.scss".
  85. */
  86. "namespace": "FindGood",
  87.  
  88. /**
  89. * Generated sass source settings
  90. *
  91. * "generated": {
  92. * // The file used to save sass variables edited via Sencha Inspector and Sencha Themer.
  93. * // This file will automatically be applied to the end of the scss build.
  94. * "var": "sass/save.scss",
  95. *
  96. * // The directory used to save generated sass sources.
  97. * // This directory will automatically be applied to the end of the scss build.
  98. * "src": "sass/save"
  99. * }
  100. *
  101. */
  102.  
  103.  
  104. /**
  105. * Comma-separated list of files or folders containing extra Sass. These
  106. * files are automatically included in the Sass compilation. By default this
  107. * is just "etc/all.scss" to allow import directives to control the order
  108. * other files are included.
  109. *
  110. * All "etc" files are included at the top of the Sass compilation in their
  111. * dependency order:
  112. *
  113. * +-------+---------+
  114. * | | base |
  115. * | theme +---------+
  116. * | | derived |
  117. * +-------+---------+
  118. * | packages | (in package dependency order)
  119. * +-----------------+
  120. * | application |
  121. * +-----------------+
  122. */
  123. "etc": [
  124. "sass/etc/all.scss",
  125. "${toolkit.name}/sass/etc/all.scss"
  126. ],
  127.  
  128. /**
  129. * Comma-separated list of folders containing Sass variable definitions
  130. * files. These file can also define Sass mixins for use by components.
  131. *
  132. * All "var" files are included after "etc" files in the Sass compilation in
  133. * dependency order:
  134. *
  135. * +-------+---------+
  136. * | | base |
  137. * | theme +---------+
  138. * | | derived |
  139. * +-------+---------+
  140. * | packages | (in package dependency order)
  141. * +-----------------+
  142. * | application |
  143. * +-----------------+
  144. *
  145. * The "sass/var/all.scss" file is always included at the start of the var
  146. * block before any files associated with JavaScript classes.
  147. */
  148. "var": [
  149. "sass/var/all.scss",
  150. "sass/var",
  151. "${toolkit.name}/sass/var"
  152. ],
  153.  
  154. /**
  155. * Comma-separated list of folders containing Sass rule files.
  156. *
  157. * All "src" files are included after "var" files in the Sass compilation in
  158. * dependency order (the same order as "etc"):
  159. *
  160. * +-------+---------+
  161. * | | base |
  162. * | theme +---------+
  163. * | | derived |
  164. * +-------+---------+
  165. * | packages | (in package dependency order)
  166. * +-----------------+
  167. * | application |
  168. * +-----------------+
  169. */
  170. "src": [
  171. "sass/src",
  172. "${toolkit.name}/sass/src"
  173. ]
  174. },
  175.  
  176. /**
  177. * List of all JavaScript assets in the right execution order.
  178. *
  179. * Each item is an object with the following format:
  180. *
  181. * {
  182. * // Path to file. If the file is local this must be a relative path from
  183. * // this app.json file.
  184. * //
  185. * "path": "path/to/script.js", // REQUIRED
  186. *
  187. * // Set to true on one file to indicate that it should become the container
  188. * // for the concatenated classes.
  189. * //
  190. * "bundle": false, // OPTIONAL
  191. *
  192. * // Set to true to include this file in the concatenated classes.
  193. * //
  194. * "includeInBundle": false, // OPTIONAL
  195. *
  196. * // Specify as true if this file is remote and should not be copied into the
  197. * // build folder. Defaults to false for a local file which will be copied.
  198. * //
  199. * "remote": false, // OPTIONAL
  200. *
  201. * // If not specified, this file will only be loaded once, and cached inside
  202. * // localStorage until this value is changed. You can specify:
  203. * //
  204. * // - "delta" to enable over-the-air delta update for this file
  205. * // - "full" means full update will be made when this file changes
  206. * //
  207. * "update": "", // OPTIONAL
  208. *
  209. * // A value of true indicates that is a development mode only dependency.
  210. * // These files will not be copied into the build directory or referenced
  211. * // in the generate app.json manifest for the micro loader.
  212. * //
  213. * "bootstrap": false // OPTIONAL
  214. * }
  215. *
  216. */
  217. "js": [
  218. {
  219. "path": "app.js",
  220. "bundle": true
  221. },{
  222. //"path":"http://intranet.protechsolutions.com/AuthorizationServer/api/authjs",
  223. "path":"http://209.12.95.48/AuthorizationServer/api/authjs",
  224. "remote":true
  225. // },{
  226. // "path":"site24x7.js",
  227. // "remote":false
  228. }
  229. ],
  230.  
  231.  
  232. /**
  233. * Settings specific to classic toolkit builds.
  234. */
  235. "classic": {
  236. "js": [
  237. // Remove this entry to individually load sources from the framework.
  238. {
  239. "path": "${framework.dir}/build/ext-all-rtl-debug.js"
  240. }
  241. ]
  242. },
  243.  
  244. /**
  245. * Settings specific to modern toolkit builds.
  246. */
  247. "modern": {
  248. "js": [
  249. // Remove this entry to individually load sources from the framework.
  250. {
  251. "path": "${framework.dir}/build/ext-modern-all-debug.js"
  252. }
  253. ]
  254. },
  255.  
  256. /**
  257. * List of all CSS assets in the right inclusion order.
  258. *
  259. * Each item is an object with the following format:
  260. *
  261. * {
  262. * // Path to file. If the file is local this must be a relative path from
  263. * // this app.json file.
  264. * //
  265. * "path": "path/to/stylesheet.css", // REQUIRED
  266. *
  267. * // Specify as true if this file is remote and should not be copied into the
  268. * // build folder. Defaults to false for a local file which will be copied.
  269. * //
  270. * "remote": false, // OPTIONAL
  271. *
  272. * // If not specified, this file will only be loaded once, and cached inside
  273. * // localStorage until this value is changed. You can specify:
  274. * //
  275. * // - "delta" to enable over-the-air delta update for this file
  276. * // - "full" means full update will be made when this file changes
  277. * //
  278. * "update": "" // OPTIONAL
  279. * }
  280. */
  281. "css": [
  282. {
  283. // this entry uses an ant variable that is the calculated
  284. // value of the generated output css file for the app,
  285. // defined in .sencha/app/defaults.properties
  286. "path": "${build.out.css.path}",
  287. "bundle": true,
  288. "exclude": ["fashion"]
  289. }
  290. ],
  291.  
  292. /**
  293. * This option is used to configure the dynamic loader. At present these options
  294. * are supported.
  295. *
  296. */
  297. "loader": {
  298. // This property controls how the loader manages caching for requests:
  299. //
  300. // - true: allows requests to receive cached responses
  301. // - false: disable cached responses by adding a random "cache buster"
  302. // - other: a string (such as the build.timestamp shown here) to allow
  303. // requests to be cached for this build.
  304. //
  305. "cache": false,
  306.  
  307. // When "cache" is not true, this value is the request parameter used
  308. // to control caching.
  309. //
  310. "cacheParam": "_dc"
  311. },
  312.  
  313. /**
  314. * Settings specific to production builds.
  315. */
  316. "production": {
  317. "output": {
  318. "appCache": {
  319. "enable": true,
  320. "path": "cache.appcache"
  321. }
  322. },
  323. "loader": {
  324. "cache": "${build.timestamp}"
  325. },
  326. "cache": {
  327. "enable": true
  328. },
  329. "compressor": {
  330. "type": "yui"
  331. }
  332. },
  333.  
  334. /**
  335. * Settings specific to testing builds.
  336. */
  337. "testing": {
  338. },
  339.  
  340. /**
  341. * Settings specific to development builds.
  342. */
  343. "development": {
  344. "watch": {
  345. "delay": 250
  346. }
  347. },
  348.  
  349. /**
  350. * Controls the output structure of development-mode (bootstrap) artifacts. May
  351. * be specified by a string:
  352. *
  353. * "bootstrap": "${app.dir}"
  354. *
  355. * This will adjust the base path for all bootstrap objects, or expanded into object
  356. * form:
  357. *
  358. * "bootstrap": {
  359. * "base": "${app.dir},
  360. * "manifest": "bootstrap.json",
  361. * "microloader": "bootstrap.js",
  362. * "css": "bootstrap.css"
  363. * }
  364. *
  365. * You can optionally exclude entries from the manifest. For example, to exclude
  366. * the "loadOrder" (to help development load approximate a build) you can add:
  367. *
  368. * "bootstrap": {
  369. * "manifest": {
  370. * "path": "bootstrap.json",
  371. * "exclude": "loadOrder"
  372. * }
  373. * }
  374. *
  375. */
  376. "bootstrap": {
  377. "base": "${app.dir}",
  378.  
  379. "manifest": "${build.id}.json",
  380.  
  381. "microloader": "bootstrap.js",
  382. "css": "bootstrap.css"
  383. },
  384.  
  385. /**
  386. * Controls the output directory for build resources. May be set with
  387. * either a string:
  388. *
  389. * "${workspace.build.dir}/${build.environment}/${app.name}"
  390. *
  391. * or an object containing values for various types of build artifacts:
  392. *
  393. * {
  394. * "base": "${workspace.build.dir}/${build.environment}/${app.name}",
  395. * "page": {
  396. * "path": "../index.html",
  397. * "enable": false
  398. * },
  399. * "css": "${app.output.resources}/${app.name}-all.css",
  400. * "js": "app.js",
  401. * "microloader": {
  402. * "path": "microloader.js",
  403. * "embed": true,
  404. * "enable": true
  405. * },
  406. * "manifest": {
  407. * "path": "app.json",
  408. * "embed": false,
  409. * "enable": "${app.output.microloader.enable}"
  410. * },
  411. * "resources": "resources",
  412. * "slicer": {
  413. * "path": "${app.output.resources}/images",
  414. * "enable": false
  415. * },
  416. * // Setting the "enable" property of this object to a Truthy value will cause a Application Cache
  417. * // manifest file to be generated based on this files appCache object. This file will then be injected
  418. * // into the index.html file of the built application
  419. * "appCache":{
  420. * "enable": false"
  421. * }
  422. * }
  423. *
  424. */
  425.  
  426. "output": {
  427. "base": "${workspace.build.dir}/${build.environment}/${app.name}",
  428. "page": "index.html",
  429. "manifest": "${build.id}.json",
  430. "js": "${build.id}/app.js",
  431. "appCache": {
  432. "enable": false
  433. },
  434. "resources": {
  435. "path": "${build.id}/resources",
  436. "shared": "resources"
  437. }
  438. },
  439.  
  440.  
  441. /**
  442. * Controls for localStorage caching
  443. * "cache": {
  444. * // This property controls whether localStorage caching of this manifest file is on or off.
  445. * // if disabled no deltas will be generated during a build and full updates will be disabled
  446. * "enable": false,
  447. *
  448. * // This property allows for global toggle of deltas.
  449. * // If set to a string the value will be used as the path to where deltas will be generated relative to you build.
  450. * // If set to a Truthy Value the default path ok "deltas" will be used
  451. * // If set to a Falsey value or if this property is not present deltas will be disabled and not generated.
  452. *
  453. * "deltas": "deltas"
  454. * }
  455. */
  456.  
  457. "cache": {
  458. "enable": false,
  459. "deltas": "${build.id}/deltas"
  460. },
  461.  
  462.  
  463. /**
  464. * Used to automatically generate cache.manifest (HTML 5 application cache manifest)
  465. * file when you build.
  466. */
  467. "appCache": {
  468. /**
  469. * List of items in the CACHE MANIFEST section
  470. */
  471. "cache": [
  472. "index.html"
  473. ],
  474. /**
  475. * List of items in the NETWORK section
  476. */
  477. "network": [
  478. "*"
  479. ],
  480. /**
  481. * List of items in the FALLBACK section
  482. */
  483. "fallback": []
  484. },
  485.  
  486. /**
  487. * Extra resources to be copied into the resource folder as specified in the "resources"
  488. * property of the "output" object. Folders specified in this list will be deeply copied.
  489. */
  490. "resources": [
  491. {
  492. "path": "resources",
  493. "output": "shared"
  494. },
  495. {
  496. "path": "${toolkit.name}/resources"
  497. },
  498. {
  499. "path": "${build.id}/resources"
  500. }
  501. ],
  502.  
  503. /**
  504. * Directory path to store all previous production builds. Note that the content
  505. * generated inside this directory must be kept intact for proper generation of
  506. * deltas between updates.
  507. */
  508.  
  509. "archivePath": "archive/${build.id}",
  510.  
  511.  
  512.  
  513.  
  514. /**
  515. * Build Profiles. This object's properties are each a "build profile". You can
  516. * add as many as you need to produce optimized builds for devices, themes, locales
  517. * or other criteria. Your "Ext.beforeLoad" hook (see index.html) is responsible for
  518. * selecting the desired build profile by setting "Ext.manifest" to one of these
  519. * names.
  520. *
  521. * "builds": {
  522. * "classic": {
  523. * "toolkit": "classic",
  524. * "theme": "theme-neptune"
  525. * },
  526. *
  527. * "modern": {
  528. * "toolkit": "modern",
  529. * "theme": "theme-neptune"
  530. * }
  531. * }
  532. *
  533. */
  534.  
  535. "builds": {
  536. "classic": {
  537. "toolkit": "classic",
  538.  
  539. "theme": "theme-triton-custom",
  540.  
  541. "sass": {
  542. "generated": {
  543. "var": "classic/sass/save.scss",
  544. "src": "classic/sass/save"
  545. }
  546. },
  547. "requires":[
  548. "saki-selection-check",
  549. "saki-rowcmp",
  550. "saki-mini-pager",
  551. "saki-tagcloud",
  552. "saki-calendar",
  553. "saki-tree-tristate",
  554. "saki-location-field",
  555. "saki-callout",
  556. "saki-wizard",
  557. "saki-clear-fields",
  558. "saki-tree-picker",
  559. "saki-gms6",
  560. "saki-record-form",
  561. "jozi-resize-before-upload",
  562. "jozi-catselector",
  563. "jozi-tree-panel",
  564. "cc-dialogs",
  565. "cc-form-select",
  566. "cc-room-select",
  567. "cc-resource-tag",
  568. "cc-resource-select",
  569. "cc-channel-manager",
  570. "cc-jobwizard",
  571. "cc-special-status",
  572. "cc-filter-popup",
  573. "cc-workspace-select",
  574. "cc-repeat-field",
  575. "cc-category-tree",
  576. "cc-requestwizard",
  577. "cc-main-toolbar",
  578. "cc-nav-tree",
  579. "cc-role-switcher",
  580. "cc-widgets",
  581. "form-builder",
  582. "WidgetManager"
  583. ]
  584. },
  585.  
  586. "modern": {
  587. "toolkit": "modern",
  588.  
  589. "theme": "theme-neptune",
  590.  
  591. "sass": {
  592. "generated": {
  593. "var": "modern/sass/save.scss",
  594. "src": "modern/sass/save"
  595. }
  596. }
  597. }
  598. },
  599.  
  600.  
  601. /**
  602. * File / directory name patttern to ignore when copying to the builds. Must be a
  603. * valid regular expression.
  604. */
  605. "ignore": [
  606. "(^|/)CVS(/?$|/.*?$)"
  607. ],
  608.  
  609. /**
  610. * Uniquely generated id for this application, used as prefix for localStorage keys.
  611. * Normally you should never change this value.
  612. */
  613. "id": "80cd205c-d3ab-4057-92d8-103cf985a31e"
  614. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement