|
4 | 4 | "version": "1.0.0", |
5 | 5 | "description": "Apex Trigger Actions Framework", |
6 | 6 | "scripts": { |
7 | | - "lint": "npm run lint:lwc && npm run lint:aura", |
8 | | - "lint:aura": "eslint **/aura/**", |
9 | | - "lint:lwc": "eslint **/lwc/**", |
10 | | - "test": "npm run test:unit", |
11 | | - "test:unit": "sfdx-lwc-jest", |
12 | | - "test:unit:watch": "sfdx-lwc-jest --watch", |
13 | | - "test:unit:debug": "sfdx-lwc-jest --debug", |
14 | | - "test:unit:coverage": "sfdx-lwc-jest --coverage", |
| 7 | + "prepare": "husky", |
15 | 8 | "prettier": "prettier --write \"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,yaml,yml}\"", |
16 | 9 | "prettier:verify": "prettier --list-different \"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,yaml,yml}\"" |
17 | 10 | }, |
18 | 11 | "devDependencies": { |
19 | | - "@prettier/plugin-xml": "^0.13.1", |
20 | | - "@salesforce/eslint-config-lwc": "^0.11.1", |
21 | | - "@salesforce/eslint-plugin-aura": "^2.0.0", |
22 | | - "@salesforce/sfdx-lwc-jest": "^0.10.4", |
23 | | - "eslint": "^7.24.0", |
24 | | - "eslint-config-prettier": "^8.1.0", |
25 | | - "husky": "^6.0.0", |
26 | | - "lint-staged": "^10.5.4", |
27 | | - "prettier": "3.0.2", |
28 | | - "prettier-plugin-apex": "2.0.1" |
| 12 | + "@prettier/plugin-xml": "^3.4.1", |
| 13 | + "eslint": "^9.22.0", |
| 14 | + "eslint-config-prettier": "^10.1.1", |
| 15 | + "husky": "^9.1.7", |
| 16 | + "lint-staged": "^15.5.0", |
| 17 | + "prettier": "3.5.3", |
| 18 | + "prettier-plugin-apex": "2.2.5" |
29 | 19 | }, |
30 | 20 | "husky": { |
31 | 21 | "hooks": { |
|
36 | 26 | "**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}": [ |
37 | 27 | "prettier --write" |
38 | 28 | ], |
39 | | - "**/{aura|lwc}/**": [ |
40 | | - "eslint" |
41 | | - ] |
| 29 | + "**/{aura|lwc}/**": ["eslint"] |
42 | 30 | } |
43 | 31 | } |
0 commit comments