generated from navikt/crm-shared-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 1.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
{
"private": true,
"scripts": {
"prepare": "husky install",
"lint": "eslint **/lwc/** **/aura/**",
"lint:fix": "eslint --fix **/lwc/** **/aura/**",
"lint:lwc": "eslint **/lwc/**",
"lint:aura": "eslint **/aura/**",
"test": "npm run lint && 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}\"",
"prettier:verify": "prettier --list-different \"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}\"",
"postinstall": "node bin/check-version.js"
},
"engines": {
"node": ">= 16.0.0",
"npm": ">= 8.4.0"
},
"devDependencies": {
"@babel/core": "^7.21.4",
"@babel/eslint-parser": "^7.21.3",
"@salesforce/eslint-plugin-aura": "^2.1.0",
"@locker/eslint-config-locker": "^0.20.6",
"@prettier/plugin-xml": "^2.2.0",
"@sa11y/jest": "^4.1.5",
"@salesforce/eslint-config-lwc": "^3.5.2",
"@salesforce/sfdx-lwc-jest": "^1.3.0",
"eslint": "^8.53.0",
"eslint-config-prettier": "^8.8.0",
"husky": "^8.0.0",
"jest-canvas-mock": "^2.5.0",
"lint-staged": "^13.2.2",
"prettier": "^2.8.8",
"prettier-plugin-apex": "^1.13.0",
"semver": "^7.5.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}": [
"prettier --write"
],
"**/{aura|lwc}/**": [
"eslint"
]
}
}