-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 1.78 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
{
"name": "@payments/payments-component-recipes",
"private": true,
"version": "1.0.0",
"description": "Open Source Payments Components",
"scripts": {
"lint": "eslint force-app/main/default/lwc/**/*.js",
"lint:fix": "eslint --fix force-app/main/default/lwc/**/*.js",
"format": "prettier --write \"force-app/main/default/lwc/**/*.{css,html,js,json,md,xml,yaml,yml}\"",
"format:verify": "prettier --check \"force-app/main/default/lwc/**/*.{css,html,js,json,md,xml,yaml,yml}\"",
"postinstall": "husky install",
"precommit": "lint-staged",
"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"
},
"repository": {
"type": "git",
"url": "https://git.soma.salesforce.com/payments-cloud/payments-components-recipes.git"
},
"devDependencies": {
"@lwc/eslint-plugin-lwc": "^1.1.2",
"@prettier/plugin-xml": "^3.2.2",
"@salesforce/eslint-config-lwc": "^3.2.3",
"@salesforce/eslint-plugin-aura": "^2.0.0",
"@salesforce/eslint-plugin-lightning": "^1.0.0",
"@salesforce/sfdx-lwc-jest": "^3.1.0",
"@stylistic/eslint-plugin-js": "^2.9.0",
"eslint": "^8.11.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^27.6.0",
"husky": "^8.0.3",
"lint-staged": "^15.1.0",
"prettier": "^3.1.0",
"prettier-plugin-apex": "^2.0.1"
},
"lint-staged": {
"**/*.{css,html,js,json,md,xml,yaml,yml}": [
"prettier --write"
],
"**/lwc/**/*.js": [
"eslint"
],
"**/lwc/**": [
"sfdx-lwc-jest --skipApiVersionCheck -- --bail --findRelatedTests"
]
}
}