-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
41 lines (41 loc) · 1.31 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
{
"name": "Apex Mockery",
"private": true,
"version": "2.1.0",
"description": "Salesforce App",
"keyword": [
"salesforce",
"apex",
"test",
"mock"
],
"scripts": {
"lint": "npm run lint:apex ; npm run lint:doc",
"lint:apex": "sfdx scanner:run -v -t 'force-app/**/*.cls' -f table -c 'apex-mockery' -e pmd",
"lint:doc": "write-good README.md --parse",
"postinstall": "husky install ; ./postInstall.sh",
"prettier": "prettier --write \"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}\"",
"prettier:verify": "prettier --list-different \"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}\"",
"precommit": "lint-staged",
"prepush": "npm run test && npm run lint",
"test": "sfdx force:apex:test:run -r human -d ./tests/apex -l RunLocalTests -w 20"
},
"devDependencies": {
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.4.4",
"@prettier/plugin-xml": "^2.2.0",
"husky": "^8.0.2",
"lint-staged": "^13.0.4",
"prettier": "^2.8.0",
"prettier-plugin-apex": "^1.11.0",
"write-good": "^1.0.8"
},
"lint-staged": {
"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}": [
"prettier --write"
],
"README.md": [
"write-good --parse"
]
}
}