generated from svierk/sfdx-project-starter-kit
-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
77 lines (77 loc) · 2.73 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
72
73
74
75
76
77
{
"name": "salesforce-utam-e2e-testing",
"private": true,
"version": "1.0.0",
"description": "SFDX template for using UTAM to establish Salesforce E2E UI test automation in your project",
"author": {
"name": "Sebastiano Schwarz",
"url": "https://github.com/svierk"
},
"license": "MIT",
"engines": {
"node": "20.x.x",
"npm": "10.x.x"
},
"scripts": {
"lint": "eslint **/force-app/**/*.js",
"lint:sonar": "eslint -f json -o eslint-report.json **/lwc/**/*.js",
"test": "npm run test:unit",
"test:unit": "sfdx-lwc-jest --skipApiVersionCheck",
"test:unit:watch": "sfdx-lwc-jest --watch --skipApiVersionCheck",
"test:unit:debug": "sfdx-lwc-jest --debug --skipApiVersionCheck",
"test:unit:coverage": "sfdx-lwc-jest --coverage --skipApiVersionCheck",
"test:ui": "wdio",
"test:ui:compile": "utam -c utam.config.js",
"test:ui:generate:login": "node scripts/generate-login-url.js",
"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"
},
"devDependencies": {
"@babel/cli": "^7.24.8",
"@babel/core": "^7.25.2",
"@babel/eslint-parser": "^7.25.1",
"@babel/preset-env": "^7.25.3",
"@babel/register": "^7.24.6",
"@locker/eslint-config-locker": "^0.22.5",
"@lwc/eslint-plugin-lwc": "^1.8.1",
"@prettier/plugin-xml": "^3.4.1",
"@sa11y/jest": "^6.10.1",
"@salesforce/eslint-config-lwc": "^3.6.0",
"@salesforce/eslint-plugin-aura": "^2.1.0",
"@salesforce/eslint-plugin-lightning": "^1.0.0",
"@salesforce/sfdx-lwc-jest": "^5.1.0",
"@wdio/cli": "^8.39.1",
"@wdio/jasmine-framework": "^8.39.1",
"@wdio/local-runner": "^8.39.1",
"@wdio/spec-reporter": "^8.39.0",
"chromedriver": "^129.0.2",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"eslint-plugin-compat": "^6.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jasmine": "^4.1.3",
"eslint-plugin-jest": "^28.5.0",
"eslint-plugin-wdio": "^8.37.0",
"husky": "^9.1.4",
"jest-junit": "^16.0.0",
"lint-staged": "^15.2.5",
"prettier": "^3.3.3",
"prettier-plugin-apex": "^2.1.3",
"salesforce-pageobjects": "^7.0.1",
"typescript": "~5.5.4",
"utam": "^3.2.1",
"wdio-chromedriver-service": "^8.1.1",
"wdio-utam-service": "^3.2.1"
},
"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"
]
}
}