-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
34 lines (34 loc) · 1.5 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
{
"name": "salesforce-trigger-framework",
"private": true,
"version": "1.2.0",
"description": "Salesforce Trigger Framework",
"scripts": {
"prettier:apex:local": "prettier --apex-standalone-parser built-in --write \"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}\"",
"prettier:verify:apex:local": "prettier --apex-standalone-parser built-in --check \"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}\"",
"apex:local:start": "node node_modules/prettier-plugin-apex/dist/bin/start-apex-server.js",
"apex:local:stop": "node node_modules/prettier-plugin-apex/dist/bin/stop-apex-server.js",
"prettier": "prettier --write \"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}\"",
"prettier:verify": "prettier --list-different \"**/*.{cls,cmp,component,js,json,md,page,trigger,xml,yaml,yml}\" --config .prettierrc",
"prettier:docs": "prettier --write \"docs/**/*.html\"",
"initialize": ". scripts/initialize.sh",
"orginit": ". scripts/orginit.sh",
"postinstall": "husky install",
"precommit": "lint-staged",
"prune": "git branch | grep -v \"main\" | xargs git branch -D",
"updateHighlight": ". scripts/updateHighlight.sh"
},
"devDependencies": {
"@prettier/plugin-xml": "^3.4.1",
"husky": "^9.1.5",
"lint-staged": "^15.2.10",
"marked": "^14.1.2",
"prettier": "^3.3.3",
"prettier-plugin-apex": "^2.1.4"
},
"lint-staged": {
"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}": [
"prettier --write"
]
}
}