forked from salesforcecli/plugin-metadata-hook-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 2.45 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
{
"name": "plugin-metadata-hook-demo",
"description": "Demo using Salesforce CLI hooks to replace metadata values during a deploy.",
"version": "48.8.0",
"author": "Salesforce",
"bugs": "https://github.com/salesforcecli/plugin-metadata-hook-demo/issues",
"dependencies": {
"@oclif/config": "^1",
"@salesforce/command": "^2.2.0",
"@salesforce/core": "^2.6.0",
"@types/xml2js": "^0.4.5",
"husky": "^4.2.5",
"lint-staged": "^10.2.2",
"salesforce-alm": "^48.20.0",
"tslib": "^1",
"xml2js": "^0.4.23"
},
"devDependencies": {
"@oclif/dev-cli": "^1",
"@salesforce/dev-config": "1.4.1",
"@types/chai": "^4",
"chai": "^4",
"eslint": "6.6.0",
"eslint-config-prettier": "6.5.0",
"mocha": "^5",
"nyc": "15.0.1",
"prettier": "1.16.4",
"shx": "0.2.2",
"ts-node": "^8.6.2",
"tslint": "^6.1.0",
"typescript": "^3.8.3"
},
"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",
"version": "oclif-dev readme && git add README.md"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}