File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "customCommands" : [
3+ {
4+ "name" : " blah" ,
5+ "description" : " Do some really, really cool custom stuff! This is the best command!"
6+ }
7+ ],
8+
9+ "customOptions" : {
10+ "--profile" : {
11+ "optionType" : " enum" ,
12+ "description" : " Changes the build profile, affecting the build output" ,
13+ "supportedCommands" : [ " build" , " rebuild" ],
14+ "enumValues" : [
15+ {
16+ "name" : " vso" ,
17+ "description" : " For running on CI servers"
18+ },
19+ {
20+ "name" : " npm" ,
21+ "description" : " For publishing to an NPM registry"
22+ }
23+ ]
24+ },
25+
26+ "--ship" : {
27+ "optionType" : " flag" ,
28+ "description" : " Perform a production build, including minification and localization steps" ,
29+ "supportedCommands" : [ " build" , " rebuild" ],
30+ "shortName" : " -s"
31+ },
32+
33+ "--minimal" : {
34+ "optionType" : " flag" ,
35+ "description" : " Perform a fast build, which disables certain tasks such as unit tests and linting" ,
36+ "supportedCommands" : [ " build" , " rebuild" ],
37+ "shortName" : " -m"
38+ },
39+
40+ "--clean" : {
41+ "optionType" : " flag" ,
42+ "description" : " This flag does awesome things!" ,
43+ "supportedCommands" : [ " blah" , " build" , " rebuild" ],
44+ "shortName" : " -c"
45+ }
46+ }
47+ }
You can’t perform that action at this time.
0 commit comments