-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathpackage.json
More file actions
245 lines (245 loc) · 10.4 KB
/
package.json
File metadata and controls
245 lines (245 loc) · 10.4 KB
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
{
"name": "@twilio-labs/plugin-flex",
"version": "7.1.1",
"description": "Create, develop and deploy Flex plugins using the Twilio CLI",
"keywords": [
"twilio",
"flex",
"twilio flex",
"flex plugins",
"flex plugins cli",
"flex plugins api",
"oclif-plugin"
],
"homepage": "https://github.com/twilio/flex-plugin-builder",
"bugs": {
"url": "https://github.com/twilio/flex-plugin-builder/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/twilio/flex-plugin-builder.git"
},
"license": "MIT",
"author": "Flex Runtime <flex-runtime@twilio.com>",
"files": [
"/oclif.manifest.json",
"/dist",
"/package-lock.json",
"LICENSE",
"README.md",
"package.json"
],
"scripts": {
"prebuild": "npm run clean",
"build": "cd ../.. && tsc -p \"packages/plugin-flex/tsconfig.json\"",
"clean": "rm -rf dist",
"link": "twilio plugins:link .",
"lint": "eslint --ext ts src/",
"lint:fix": "npm run lint -- --fix",
"prepack": "./bin/prepack",
"postpack": "rm -f oclif.manifest.json",
"replace-doc": "cp docs/README.md README.md && oclif-dev readme",
"test": "cd ../.. && jest packages/plugin-flex --color",
"test:watch": "cd ../.. && jest packages/plugin-flex --watch --color"
},
"dependencies": {
"@oclif/command": "1.8.0",
"@oclif/config": "^1.18.1",
"@oclif/errors": "^1.3.5",
"@oclif/parser": "^3.8.5",
"@twilio/cli-core": "^7.19.1",
"@twilio/create-flex-plugin": "7.1.1",
"@twilio/flex-dev-utils": "7.1.1",
"@twilio/flex-plugin-scripts": "7.1.1",
"@twilio/flex-plugins-api-client": "7.1.1",
"dayjs": "^1.10.7",
"lodash.startcase": "^4.4.0",
"mkdirp": "^1.0.4",
"package-json": "^7.0.0",
"rimraf": "^4.0.0",
"yargs": "^16.2.0"
},
"overrides": {
"**/cheerio": "1.0.0-rc.12"
},
"devDependencies": {
"@oclif/dev-cli": "^1.26.5",
"@types/lodash.startcase": "^4.4.6",
"@types/mkdirp": "^1.0.2",
"@types/rimraf": "^3.0.2",
"@types/tmp": "^0.2.2",
"@types/yargs": "^16.0.4",
"globby": "^11.0.4",
"tmp": "^0.2.1",
"twilio": "^3.71.2"
},
"engines": {
"node": "^16 || ^18 || ^20 || ^22"
},
"publishConfig": {
"access": "public"
},
"oclif": {
"name": "flex",
"commands": "./dist/commands",
"bin": "twilio",
"devPlugins": [
"@oclif/plugin-help"
],
"topics": {
"flex": {
"description": "Create, develop and deploy Flex plugins using the Twilio CLI."
},
"flex:plugins": {
"description": "Create, develop and deploy Flex plugins using the Twilio CLI.",
"flags": {
"clearTerminal": "Clears the terminal before running the command.",
"json": "Outputs the result of the command as json string."
}
},
"flex:plugins:build": {
"description": "Builds the Flex plugin and creates a JavaScript and sourcemap bundle."
},
"flex:plugins:test": {
"description": "Runs the test suite."
},
"flex:plugins:start": {
"description": "Starts a dev-server to build the Flex plugin locally.",
"flags": {
"name": "The name of the plugin you would like to run. You can provide multiple to run them all concurrently. You can include specific active remote plugins using \"--name 'plugin-name@remote'\" or \"--name 'plugin-name@0.0.0'\" for a specific remote version.",
"includeRemote": "Use this flag to include all remote plugins in your build.",
"port": "The port to start your local development server on."
}
},
"flex:plugins:deploy": {
"description": "Builds and deploys a new version of the Flex plugin to your Flex application.",
"flags": {
"patch": "Publishes the version as a patch (SemVer); this is the default.",
"minor": "Publishes the version as a minor (SemVer).",
"major": "Publishes the version as a major (SemVer).",
"version": "Publishes the version (SemVer).",
"public": "Publishes the plugin as a public Twilio Asset; default is private.",
"changelog": "The changes (added/removed) made in this plugin version.",
"description": "The description of this Flex plugin.",
"option": "Option to automatically pick post validation of the plugin.",
"bypass-validation": "Validates the plugin and continues to plugin deployment ignoring validation issues, if any."
}
},
"flex:plugins:create-configuration": {
"description": "Creates a Flex Plugin Configuration.",
"flags": {
"new": "Creates a new Flex Plugin Configuration, otherwise will append to existing active Configuration.",
"name": "The friendly name of the Flex Plugin Configuration.",
"plugin": "Alias for --enable-plugin.",
"enablePlugin": "The plugin to enable, formatted as pluginName@version. You may use pluginName@latest as a shortcut for enabling the latest version of the plugin. Use additional --enable-plugin to provide other plugins to enable.",
"disablePlugin": "The plugin to disable, formatted as pluginName. Use additional --disable-plugin to provide other plugins to disable.",
"description": "The description of this Flex Plugin Configuration."
},
"defaults": {
"description": "The description of this Flex Plugin Configuration."
}
},
"flex:plugins:release": {
"description": "Creates a Flex Plugin Release. Enables the plugins (passed as params or via the Flex Configuration) on your Flex application.",
"flags": {
"configurationSid": "The Flex Plugin Configuration SID to release; other options are not required when using this option."
}
},
"flex:plugins:diff": {
"description": "Finds the diff between two Flex Plugin Configurations.",
"args": {
"id1": "The first Flex Plugin Configuration SID.",
"id2": "The second Flex Plugin Configuration SID."
}
},
"flex:plugins:upgrade-plugin": {
"description": "Upgrades your plugin to use the latest version of the Plugin CLI.",
"flags": {
"install": "If set, will install the dependencies.",
"beta": "If set, will upgrade to the latest beta version.",
"dev": "If set, will upgrade to the latest dev version.",
"nightly": "If set, will upgrade to the latest nightly version.",
"yes": "If set, will answer yes to all prompts.",
"yarn": "Use yarn for installation.",
"removeLegacyPlugin": "Deletes legacy plugin bundle hosted on Twilio Assets (deployed via plugin builder v3).",
"flexui2": "Update your plugin dependencies to be compatible with Flex UI 2.0."
}
},
"flex:plugins:archive": {
"description": "Archives a Flex Plugin, Version or Configuration. Archived entities cannot be deployed to your Flex application and cannot be undone. Exercise extreme caution when using this command."
},
"flex:plugins:archive:configuration": {
"description": "Archives a Flex Plugin Configuration. Archived Plugin Configurations cannot be deployed to your Flex application and cannot be undone. Exercise extreme caution when using this command.",
"flags": {
"sid": "The Flex Plugin Configuration SID to archive."
}
},
"flex:plugins:archive:plugin": {
"description": "Archives a Flex Plugin. Archived Plugins cannot be enabled on your Flex application and cannot be undone. Exercise extreme caution when using this command.",
"flags": {
"name": "The name of the Flex Plugin to archive."
}
},
"flex:plugins:archive:plugin-version": {
"description": "Archives a Flex Plugin Version. Archived Plugin Versions cannot be enabled on your Flex application and cannot be undone. Exercise extreme caution when using this command.",
"flags": {
"name": "The Flex Plugin name of the Plugin Version to archive.",
"version": "The Flex Plugin Version to archive."
}
},
"flex:plugins:describe": {
"description": "Provides details of the Flex Plugin, Version, Configuration or Release."
},
"flex:plugins:describe:configuration": {
"description": "Provides details of the Flex Plugin Configuration like status, description and its associated Plugins.",
"flags": {
"sid": "The Flex Plugin Configuration SID."
}
},
"flex:plugins:describe:plugin": {
"description": "Provides details of the Flex Plugin like status, description and its Flex Plugin Versions.",
"flags": {
"name": "The name of the Flex Plugin to describe."
}
},
"flex:plugins:describe:plugin-version": {
"description": "Provides details of the Flex Plugin Version like changelog, status and the url of the plugin package.",
"flags": {
"name": "The Flex Plugin name of the Plugin Version to describe.",
"version": "The Flex Plugin Version to describe."
}
},
"flex:plugins:describe:release": {
"description": "Provides details of the Flex Plugin Release like the underlying Plugin Configuration and Plugins.",
"flags": {
"sid": "The Flex Plugin Release SID to describe.",
"active": "The most recent release to describe."
}
},
"flex:plugins:list": {
"description": "Lists the Flex Plugins, Versions, Configurations or Releases on the account."
},
"flex:plugins:list:configurations": {
"description": "Lists the Flex Plugin Configuration on the account."
},
"flex:plugins:list:plugin-versions": {
"description": "Lists the Flex Plugin Versions on the account.",
"flags": {
"name": "The plugin name to list its versions."
}
},
"flex:plugins:list:plugins": {
"description": "Lists the Flex Plugins on the account."
},
"flex:plugins:list:releases": {
"description": "Lists the Flex Releases on the account."
},
"flex:plugins:validate": {
"description": "Validates the Flex plugin by looking for any issues that could potentially break the plugin when in use. Generates a report with the identified issues, if any.",
"flags": {
"flexui2": "Validates the Flex plugin for compatibility with the latest Flex UI 2.x version."
}
}
}
}
}