-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
71 lines (71 loc) · 2.82 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
{
"name": "action-plans",
"private": true,
"version": "4.3.0",
"description": "Action Plans Salesforce Labs App",
"author": "Salesforce Labs",
"repository": {
"type": "git",
"url": "git+https://github.com/salesforcelabs/actionplansv4"
},
"scripts": {
"lint": "npm run lint:lwc && npm run lint:aura",
"lint:aura": "eslint **/aura/**",
"lint:lwc": "eslint **/lwc/**",
"test": "npm run test:unit",
"test:apex": "npm run apex:test:local",
"test:unit": "sfdx-lwc-jest",
"test:unit:watch": "sfdx-lwc-jest --watch",
"test:unit:debug": "sfdx-lwc-jest --debug",
"test:unit:coverage": "sfdx-lwc-jest --coverage",
"apex:test:local": "rm -rf testresults && sf apex run test --detailed-coverage --code-coverage --result-format human --test-level RunLocalTests --wait 20 --output-dir testresults",
"pmd:scan:csv": "$HOME/pmd/bin/run.sh pmd -d sfdx-source -R pmd/ruleset.xml -f csv -r pmd/pmd.csv --cache .pmdCache --relativize-paths-with ./",
"pmd:scan:deploy:csv": "~/pmd/bin/run.sh pmd -d sfdx-source -R pmd/deployRules.xml -f csv -r pmd/deploy.csv --cache .pmdCache --relativize-paths-with ./",
"prettier:docs": "prettier --write \"docs/*.html\"",
"prettier:package": "prettier --write \"sfdx-source/**/*.{cls,component,page,trigger}\"",
"prettier:verify": "prettier --list-different \"sfdx-source/**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,yaml,yml}\"",
"prettier": "prettier --write \"sfdx-source/**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,yaml,yml}\" \"docs/*.html\"",
"postinstall": "husky install",
"build": ". scripts/packagedev/build.sh",
"blankorg": ". scripts/packagedev/blankorg.sh",
"installlatest": ". scripts/packagedev/installlatest.sh",
"scratchorg": ". scripts/scratchorg.sh",
"namespacedev": ". scripts/packagedev/namespacedev.sh",
"packagedev": ". scripts/packagedev/packagedev.sh",
"prepare": "husky install",
"precommit": "lint-staged",
"labsdevhub": "sf config set target-dev-hub=LabsLDO",
"version": ". scripts/auto-changelog.sh",
"apexdoxSetup": ". doc-assets/ApexDoxSetup.sh"
},
"devDependencies": {
"@lwc/eslint-plugin-lwc": "^1.6.2",
"@prettier/plugin-xml": "^2.2.0",
"@salesforce/eslint-config-lwc": "^3.4.0",
"@salesforce/eslint-plugin-lightning": "^1.0.0",
"@salesforce/sfdx-lwc-jest": "^1.3.0",
"auto-changelog": "^2.4.0",
"eslint": "^8.36.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"husky": "^8.0.3",
"lint-staged": "^13.2.0",
"marked": "^4.2.12",
"prettier": "^2.8.6",
"prettier-plugin-apex": "^1.12.0"
},
"lint-staged": {
"sfdx-source/**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,yaml,yml}": [
"prettier --write"
],
"sfdx-source/**/{aura,lwc}/**": [
"eslint"
],
"docs/assets/*.css": [
"prettier --write"
],
"docs/*.html": [
"prettier --write --tab-width 2"
]
}
}