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