This repository has been archived by the owner on Jan 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
89 lines (89 loc) · 2.77 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
{
"name": "plugin-metadata-hook-demo",
"description": "Demo using Salesforce CLI hooks to replace metadata values during a deploy.",
"version": "54.3.0",
"author": "Salesforce",
"bugs": "https://github.com/salesforcecli/plugin-metadata-hook-demo/issues",
"dependencies": {
"@oclif/config": "^1",
"@salesforce/command": "^4.2.2",
"@salesforce/core": "^2.35.3",
"@salesforce/source-deploy-retrieve": "^5.12.0",
"tslib": "^2",
"xml2js": "^0.4.23"
},
"devDependencies": {
"@oclif/dev-cli": "^1",
"@oclif/plugin-command-snapshot": "^2.0.0",
"@salesforce/dev-config": "2.1.2",
"@salesforce/plugin-command-reference": "^1.3.3",
"@types/xml2js": "^0.4.9",
"eslint": "7.27.0",
"eslint-config-prettier": "8.3.0",
"husky": "^4.3.8",
"mocha": "^8.4.0",
"nyc": "15.1.0",
"prettier": "2.3.0",
"shx": "0.3.3",
"ts-node": "^9.1.1",
"tslint": "^6.1.3",
"typescript": "^4.3.2"
},
"engines": {
"node": ">=12.0.0"
},
"files": [
"/lib",
"/messages",
"/npm-shrinkwrap.json",
"/oclif.manifest.json"
],
"homepage": "https://github.com/salesforcecli/plugin-metadata-hook-demo",
"keywords": [
"force",
"salesforce",
"sfdx",
"salesforcedx",
"sfdx-plugin"
],
"license": "BSD-3-Clause",
"oclif": {
"commands": "./lib/commands",
"bin": "sfdx",
"devPlugins": [
"@oclif/plugin-help",
"@oclif/plugin-command-snapshot",
"@salesforce/plugin-command-reference"
],
"topics": {
"hello": {
"description": "Commands to say hello."
}
},
"hooks": {
"predeploy": "./lib/hooks/predeploy/metadataReplaceDeploy",
"postretrieve": "./lib/hooks/postretrieve/metadataReplaceRetrieve"
}
},
"repository": "salesforcecli/plugin-metadata-hook-demo",
"scripts": {
"clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json",
"compile": "tsc -b",
"build": "yarn run clean:lib && yarn compile",
"lint": "tslint --project . --config tslint.json --format stylish",
"postpack": "shx rm -f oclif.manifest.json",
"prepack": "yarn run build && oclif-dev manifest",
"reformat": "prettier --config .prettierrc --write './*.{js,json,md}' './**/*.{ts,json,md}'",
"test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
"posttest": "yarn lint && yarn test:deprecation-policy && yarn test:command-reference",
"version": "oclif-dev readme",
"test:deprecation-policy": "./bin/run snapshot:compare",
"test:command-reference": "./bin/run commandreference:generate --erroronwarnings",
"test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}