Advertisement
Guest User

Untitled

a guest
Mar 29th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.13 KB | None | 0 0
  1. {
  2. /**
  3. * The name of the package.
  4. */
  5. "name": "cc-dialogs",
  6.  
  7. /**
  8. * Alternate names for this package.
  9. *
  10. * "alternateName": [],
  11. */
  12.  
  13. /**
  14. * The namespace of this package.
  15. *
  16. * As a general rule, all classes that belong to this package should be under this namespace
  17. * if multiple namespaces are part of this package, set this to "".
  18. */
  19. "namespace": "Cc.dialog",
  20.  
  21. /**
  22. * The package type.
  23. *
  24. * Sencha Cmd understands the following types of packages:
  25. * - code : An arbitrary package of code for use by applications or other packages.
  26. * - theme : A package to be used as an application’s theme.
  27. * - locale : A package containing localization strings or locale-specific code.
  28. * - template : A package containing one or more templates.
  29. */
  30. "type": "code",
  31.  
  32. /**
  33. * The author of the package.
  34. *
  35. * Required only if you are distributing this package through a Sencha Cmd repository,
  36. * in which case it should match the name you assign to your local package repository.
  37. */
  38. "creator": "Jozef Sakalos, Saki",
  39.  
  40. /**
  41. * A summarized description of this package.
  42. */
  43. "summary": "Dialogs for FindGood",
  44.  
  45. /**
  46. * A detailed description of this package.
  47. */
  48. "detailedDescription": "Contains popups with forms for FindGood and other applications",
  49.  
  50. /**
  51. * The package version.
  52. *
  53. * Typically, changes to the package should come along with changes to the version.
  54. * This number should be in this format: d+(.d+)*
  55. */
  56. "version": "1.0.0",
  57.  
  58. /**
  59. * The version that users can transparently update from without requiring code changes.
  60. *
  61. * In addition the version property, packages can also indicate the degree to which
  62. * they are backward compatible using the compatVersion property.
  63. */
  64. "compatVersion": "1.0.0",
  65.  
  66. /**
  67. * Spec. version of this package.json file.
  68. * This is set automatically by Sencha Cmd when first generating this file
  69. */
  70. "format": "1",
  71.  
  72. /**
  73. * Additional resources used during theme slicing operations
  74. */
  75. "slicer": {
  76. "js": [
  77. {
  78. "path": "${package.dir}/sass/example/custom.js",
  79. "isWidgetManifest": true
  80. }
  81. ]
  82. },
  83.  
  84. /**
  85. * Controls the output directory.
  86. */
  87. "output": "${package.dir}/build",
  88.  
  89. /**
  90. * Indicates whether this is a locally developed package or downloaded form a repository.
  91. * Defaults to true on newly generated packages, should not be changed.
  92. */
  93. "local": true,
  94.  
  95. /**
  96. * The theme (package) this package will use (e.g., "ext-theme-neptune", etc.).
  97. * This is only needed if the built package will be used by a non-Cmd application.
  98. *
  99. * "theme": "ext-theme-classic",
  100. */
  101.  
  102. /**
  103. * Sass configuration properties.
  104. */
  105. "sass" : {
  106. /**
  107. * The namespace to which this package's SASS corresponds. The default value of
  108. * "Cc.dialog" means that the files in ./sass/src (and ./sass/var) match classes in
  109. * the Cc.dialog" root namespace. In other words, "Cc.dialog.panel.Panel" maps to
  110. * ./sass/src/panel/Panel.scss.
  111. *
  112. * To style classes from any namespace, set this to blank. If this is blank,
  113. * then to style "Cc.dialog.panel.Panel" you would put SASS in
  114. * ./sass/src/Cc.dialog/panel/Panel.scss.
  115. */
  116. "namespace": "Cc.dialog",
  117.  
  118. /**
  119. * Comma-separated list of files or folders containing extra Sass. These
  120. * files are automatically included in the Sass compilation. By default this
  121. * is just "etc/all.scss" to allow import directives to control the order
  122. * other files are included.
  123. *
  124. * All "etc" files are included at the top of the Sass compilation in their
  125. * dependency order:
  126. *
  127. * +-------+---------+
  128. * | | base |
  129. * | theme +---------+
  130. * | | derived |
  131. * +-------+---------+
  132. * | packages | (in package dependency order)
  133. * +-----------------+
  134. * | application |
  135. * +-----------------+
  136. */
  137. "etc": [
  138. "${package.dir}/sass/etc/all.scss",
  139. "${package.dir}/${toolkit.name}/sass/etc/all.scss"
  140. ],
  141.  
  142. /**
  143. * Comma-separated list of folders containing Sass variable definitions
  144. * files. These file can also define Sass mixins for use by components.
  145. *
  146. * All "var" files are included after "etc" files in the Sass compilation in
  147. * dependency order:
  148. *
  149. * +-------+---------+
  150. * | | base |
  151. * | theme +---------+
  152. * | | derived |
  153. * +-------+---------+
  154. * | packages | (in package dependency order)
  155. * +-----------------+
  156. * | application |
  157. * +-----------------+
  158. *
  159. * The "sass/var/all.scss" file is always included at the start of the var
  160. * block before any files associated with JavaScript classes.
  161. */
  162. "var": [
  163. "${package.dir}/sass/var",
  164. "${package.dir}/${toolkit.name}/sass/var"
  165. ],
  166.  
  167. /**
  168. * Comma-separated list of folders containing Sass rule files.
  169. *
  170. * All "src" files are included after "var" files in the Sass compilation in
  171. * dependency order (the same order as "etc"):
  172. *
  173. * +-------+---------+
  174. * | | base |
  175. * | theme +---------+
  176. * | | derived |
  177. * +-------+---------+
  178. * | packages | (in package dependency order)
  179. * +-----------------+
  180. * | application |
  181. * +-----------------+
  182. */
  183. "src": [
  184. "${package.dir}/sass/src",
  185. "${package.dir}/${toolkit.name}/sass/src"
  186. ]
  187. },
  188.  
  189. /**
  190. * This is the comma-separated list of folders where classes reside. These
  191. * classes must be explicitly required to be included in the build.
  192. */
  193. "classpath": [
  194. "${package.dir}/src",
  195. "${package.dir}/${toolkit.name}/src",
  196. /**
  197. * @saki next three lines (and maybe some more) are needed for the package to build.
  198. */
  199. "${package.dir}/../../../ext/packages/core/src",
  200. "${package.dir}/../../../ext/classic/classic/src",
  201. "${package.dir}/../../../ext/classic/classic/overrides"
  202. ],
  203.  
  204. /**
  205. * Comma-separated string with the paths of directories or files to search. Any classes
  206. * declared in these locations will be automatically required and included in the build.
  207. * If any file defines an Ext JS override (using Ext.define with an "override" property),
  208. * that override will in fact only be included in the build if the target class specified
  209. * in the "override" property is also included.
  210. */
  211. "overrides": [
  212. "${package.dir}/overrides",
  213. "${package.dir}/${toolkit.name}/overrides"
  214. ],
  215.  
  216. "example": {
  217. /**
  218. * One or more folders that contain example applications for this package.
  219. */
  220. "path": [
  221. "${package.dir}/examples"
  222. ]
  223.  
  224. /**
  225. * You can list apps specifically.
  226. *
  227. * "apps": [
  228. * "demo1",
  229. * "demo2"
  230. * ]
  231. *
  232. * By default, all subfolders in the path are considered example applications.
  233. */
  234. },
  235.  
  236. /**
  237. * The framework this package will use (i.e., "ext" or "touch").
  238. * This is only needed if the built package will be used by a non-Cmd application.
  239. *
  240. * "framework": "ext",
  241. */
  242.  
  243. /**
  244. * Packages can require other packages in the same way that applications can require
  245. * packages.
  246. *
  247. * Can be specified as an array of package names or configuration objects.
  248. *
  249. * "requires": [
  250. * "foo",
  251. * "bar@1.1-2.0",
  252. * {
  253. * "name": "baz"
  254. * "version": "1.5"
  255. * }
  256. * ]
  257. *
  258. * Can also be specified as an object:
  259. *
  260. * "requires": {
  261. * "foo": "2.2",
  262. * "bar": {
  263. * "minVersion": "1.1",
  264. * "version": "2.0"
  265. * }
  266. * }
  267. */
  268. "requires": [
  269. "cc-resource-tag",
  270. "cc-resource-select",
  271. "cc-custom-editor",
  272. "cc-special-status",
  273. "cc-workspace-select",
  274. "cc-form-select",
  275. "cc-repeat-field",
  276. "cc-room-select",
  277. "cc-request-category",
  278. "saki-util",
  279. "cc-role-switcher",
  280. "cc-widgets",
  281. "policeno-bryntum"
  282. ]
  283. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement