-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
49 lines (49 loc) · 1.83 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
{
"name": "salesforce-app",
"private": true,
"version": "1.0.0",
"description": "Salesforce App",
"scripts": {
"lint": "eslint **/{aura,lwc}/**",
"org:list": "sfdx force:org:list",
"org:pull": "sfdx force:source:pull -f",
"org:push": "sfdx force:source:push -f",
"org:status": "sfdx force:source:status",
"postinstall": "husky install",
"precommit": "lint-staged",
"prettier": "prettier --write \"**/*.{cls,cmp,component,css,email,html,js,json,md,page,trigger,xml,yaml,yml}\"",
"prettier:verify": "prettier --list-different \"**/*.{cls,cmp,component,css,email,html,js,json,md,page,trigger,xml,yaml,yml}\"",
"retrieve:permission-set": "sfdx force:source:retrieve -m PermissionSet",
"retrieve:profile": "sfdx sfpowerkit:source:profile:retrieve --folder force-app --loglevel trace",
"test": "npm run test:unit",
"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",
"tracking:clear": "sfdx force:source:tracking:clear",
"tracking:reset": "sfdx force:source:tracking:reset"
},
"devDependencies": {
"@lwc/eslint-plugin-lwc": "^1.5.0",
"@prettier/plugin-xml": "^2.2.0",
"@salesforce/eslint-config-lwc": "^3.3.3",
"@salesforce/eslint-plugin-aura": "^2.1.0",
"@salesforce/eslint-plugin-lightning": "^1.0.0",
"@salesforce/sfdx-lwc-jest": "^1.1.3",
"eslint": "^8.25.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.1",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"prettier-plugin-apex": "^1.10.0"
},
"lint-staged": {
"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}": [
"prettier --write"
],
"**/{aura,lwc}/**": [
"eslint"
]
}
}