-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
251 lines (251 loc) · 6.38 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
251
{
"name": "@salesforce/plugin-templates",
"description": "Commands to create metadata from a default or custom template",
"version": "56.3.31",
"author": "Salesforce",
"bugs": "https://github.com/salesforcecli/plugin-templates/issues",
"dependencies": {
"@salesforce/core": "^8.6.2",
"@salesforce/sf-plugins-core": "^12",
"@salesforce/templates": "^62.0.3"
},
"devDependencies": {
"@oclif/plugin-command-snapshot": "^5.2.22",
"@salesforce/cli-plugins-testkit": "^5.3.38",
"@salesforce/dev-scripts": "^10.2.11",
"@salesforce/plugin-command-reference": "^3.1.35",
"@types/yeoman-assert": "^3.1.4",
"eslint-plugin-sf-plugin": "^1.20.13",
"oclif": "^4.15.29",
"ts-node": "^10.9.2",
"typescript": "^5.7.2",
"yeoman-assert": "^3.1.1"
},
"homepage": "https://github.com/salesforcecli/plugin-templates",
"keywords": [
"force",
"salesforce",
"salesforcecli",
"sf",
"sf-plugin",
"sfdx",
"sfdx-plugin",
"templates"
],
"license": "BSD-3-Clause",
"files": [
"/bin",
"/lib",
"/messages",
"/oclif.manifest.json",
"yarn.lock"
],
"oclif": {
"commands": "./lib/commands",
"additionalHelpFlags": [
"-h"
],
"bin": "sf",
"devPlugins": [
"@oclif/plugin-command-snapshot",
"@salesforce/plugin-command-reference",
"@salesforce/plugin-settings"
],
"topics": {
"apex": {
"external": true,
"subtopics": {
"generate": {
"description": "Create an apex class or trigger."
}
}
},
"analytics": {
"external": true,
"description": "Work with analytics assets.",
"subtopics": {
"generate": {
"description": "Create analytics templates."
}
}
},
"lightning": {
"description": "Work with Lightning Web and Aura components.",
"external": true,
"subtopics": {
"generate": {
"description": "Create LWC and Aura components and associated metadata."
}
}
},
"project": {
"description": "Work with projects, such as deploy and retrieve metadata."
},
"visualforce": {
"description": "Work with Visualforce components.",
"subtopics": {
"generate": {
"description": "Create a Visualforce page or component."
}
}
},
"static-resource": {
"description": "Work with static resources."
}
},
"flexibleTaxonomy": true,
"topicSeparator": " "
},
"engines": {
"node": ">=18.0.0"
},
"repository": "salesforcecli/plugin-templates",
"scripts": {
"build": "wireit",
"clean": "sf-clean",
"clean-all": "sf-clean all",
"compile": "wireit",
"docs": "sf-docs",
"format": "wireit",
"link-check": "wireit",
"lint": "wireit",
"lint:fix": "eslint 'src/**/*.ts' 'test/**/*.ts' --fix",
"manifest:generate": "oclif manifest",
"manifest:remove": "shx rm -f oclif.manifest.json",
"postpack": "sf-clean --ignore-signing-artifacts",
"prepack": "sf-prepack",
"prepare": "sf-install",
"test": "wireit",
"test:nuts": "wireit",
"test:only": "wireit",
"version": "oclif readme"
},
"wireit": {
"build": {
"dependencies": [
"compile",
"lint"
]
},
"compile": {
"command": "tsc -p . --pretty --incremental",
"files": [
"src/**/*.ts",
"**/tsconfig.json",
"messages/**"
],
"output": [
"lib/**",
"*.tsbuildinfo"
],
"clean": "if-file-deleted"
},
"format": {
"command": "prettier --write \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\"",
"files": [
"src/**/*.ts",
"test/**/*.ts",
"schemas/**/*.json",
"command-snapshot.json",
".prettier*"
],
"output": []
},
"lint": {
"command": "eslint src test --color --cache --cache-location .eslintcache",
"files": [
"src/**/*.ts",
"test/**/*.ts",
"messages/**",
"**/.eslint*",
"**/tsconfig.json"
],
"output": []
},
"test:compile": {
"command": "tsc -p \"./test\" --pretty",
"files": [
"test/**/*.ts",
"**/tsconfig.json"
],
"output": []
},
"test": {
"dependencies": [
"test:compile",
"test:only",
"test:command-reference",
"test:deprecation-policy",
"lint",
"test:json-schema",
"link-check"
]
},
"test:nuts": {
"command": "nyc mocha \"test/**/*.nut.ts\" --parallel --jobs 30 --timeout 5000000 ",
"files": [
"test/**/*.nut.ts",
"src/**/*.ts",
"messages",
"tsconfig.json",
"test/tsconfig.json"
],
"output": []
},
"test:only": {
"command": "nyc mocha \"test/**/*.test.ts\"",
"env": {
"FORCE_COLOR": "2"
},
"files": [
"test/**/*.ts",
"src/**/*.ts",
"**/tsconfig.json",
".mocha*",
"!*.nut.ts",
".nycrc"
],
"output": []
},
"test:command-reference": {
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" commandreference:generate --erroronwarnings",
"files": [
"src/**/*.ts",
"messages/**",
"package.json"
],
"output": [
"tmp/root"
]
},
"test:deprecation-policy": {
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" snapshot:compare",
"files": [
"src/**/*.ts"
],
"output": [],
"dependencies": [
"compile"
]
},
"test:json-schema": {
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" schema:compare",
"files": [
"src/**/*.ts",
"schemas"
],
"output": []
},
"link-check": {
"command": "node -e \"process.exit(process.env.CI ? 0 : 1)\" || linkinator \"**/*.md\" --skip \"CHANGELOG.md|node_modules|test/|confluence.internal.salesforce.com|my.salesforce.com|%s\" --markdown --retry --directory-listing --verbosity error",
"files": [
"./*.md",
"./!(CHANGELOG).md",
"messages/**/*.md"
],
"output": []
}
},
"exports": "./lib/index.js",
"type": "module"
}