forked from trailheadapps/lwc-recipes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 2.15 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
{
"name": "lwc-recipes",
"private": true,
"version": "0.1.0",
"description": "Lightning Web Components Recipes",
"scripts": {
"lint": "npm run lint:lwc && npm run lint:aura",
"lint:lwc": "eslint **/lwc/**",
"lint:aura": "eslint **/aura/**",
"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",
"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": "husky install",
"precommit": "lint-staged"
},
"lint-staged": {
"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}": [
"prettier --write"
],
"**/{aura,lwc}/**": [
"eslint"
],
"**/lwc/**": [
"sfdx-lwc-jest --skipApiVersionCheck -- --bail --findRelatedTests"
]
},
"author": "salesforce.com",
"license": "CC0-1.0",
"repository": {
"type": "git",
"url": "git+https://github.com/trailheadapps/lwc-recipes"
},
"devDependencies": {
"@lwc/eslint-plugin-lwc": "^1.0.1",
"@prettier/plugin-xml": "^1.0.2",
"@sa11y/jest": "^0.4.3",
"@salesforce/eslint-config-lwc": "^2.1.1",
"@salesforce/eslint-plugin-aura": "^2.0.0",
"@salesforce/eslint-plugin-lightning": "^0.1.1",
"@salesforce/sfdx-lwc-jest": "^1.0.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.3.7",
"husky": "^7.0.1",
"jest-canvas-mock": "^2.3.1",
"lint-staged": "^11.1.1",
"prettier": "^2.3.2",
"prettier-plugin-apex": "^1.10.0"
},
"volta": {
"node": "14.17.3",
"npm": "6.14.13"
}
}