-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 1.86 KB
/
package.json
File metadata and controls
58 lines (58 loc) · 1.86 KB
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
{
"name": "salesforce-app",
"private": true,
"version": "1.0.0",
"description": "Salesforce App",
"author": {
"name": "Sebastiano Schwarz",
"url": "https://github.com/svierk"
},
"license": "MIT",
"engines": {
"node": "24.x.x",
"npm": "11.x.x"
},
"scripts": {
"lint": "eslint **/lwc/**/*.js",
"lint:sonar": "eslint -f json -o eslint-report.json **/lwc/**/*.js",
"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",
"prettier": "prettier --write \"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}\" --check",
"prettier:verify": "prettier --list-different \"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}\"",
"precommit": "lint-staged",
"prepare": "husky",
"server:lwc": "sf force lightning lwc start"
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/eslint-parser": "^7.28.6",
"@lwc/eslint-plugin-lwc": "^3.4.0",
"@prettier/plugin-xml": "^3.4.2",
"@sa11y/jest": "^8.0.27",
"@salesforce/eslint-config-lwc": "^4.1.2",
"@salesforce/eslint-plugin-lightning": "^2.0.0",
"@salesforce/sfdx-lwc-jest": "^7.1.2",
"eslint": "^9.39.2",
"eslint-plugin-compat": "^6.1.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jest": "^29.12.1",
"husky": "^9.1.7",
"jest-junit": "^16.0.0",
"lint-staged": "^16.2.7",
"prettier": "^3.8.1",
"prettier-plugin-apex": "^2.2.6",
"typescript": "~5.9.3"
},
"lint-staged": {
"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}": [
"prettier --write --check"
],
"**/lwc/**/*.{css,html,js}": [
"eslint",
"sfdx-lwc-jest --skipApiVersionCheck -- --passWithNoTests"
]
}
}