-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
49 lines (49 loc) · 1.41 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
{
"name": "@avonni/base-components-sfdx",
"description": "Base components sfdx",
"version": "0.0.9",
"repository": {
"type": "git",
"url": "git+https://github.com/avonni/base-components-sfdx.git"
},
"license": "MIT",
"devDependencies": {
"lwc-services": "^3.0.1",
"eslint": "^7.19.0",
"husky": "^4.3.8",
"jest-canvas-mock": "^2.3.1",
"lint-staged": "^10.5.3",
"prettier": "^2.2.1"
},
"engines": {
"node": ">=10.13.0",
"npm": ">=6.4.1",
"yarn": ">=1.9.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{css,html,js,json,md,cmp,page,component,ts,yaml,yml}": [
"prettier --write"
],
"./src/**/*.js": [
"eslint"
],
"*": [
"git add"
]
},
"scripts": {
"lint:lwc": "eslint **/lwc/**",
"test": "npm run lint:lwc && npm run test:unit",
"test:unit": "lwc-jest",
"test:unit:watch": "lwc-jest --watch",
"test:unit:debug": "lwc-jest --debug",
"test:unit:coverage": "lwc-jest --coverage",
"prettier": "prettier --write '**/*.{css,html,js,json,md,cmp,page,component,ts,yaml,yml}'",
"prettier:verify": "prettier --list-different '**/*.{css,html,js,json,md,cmp,page,component,ts,yaml,yml}'"
}
}