This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 52
/
package.json
50 lines (50 loc) · 1.54 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": "dreaminvest-lwc",
"private": true,
"version": "1.0.0",
"description": "DreamInvest Sample App - Lightning Web Components",
"scripts": {
"lint": "npm run lint:lwc && npm run lint:aura",
"lint:lwc": "eslint **/lwc/**",
"lint:aura": "sfdx force:lightning:lint **/aura/** --exit",
"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"
},
"author": "salesforce.com",
"license": "CC0-1.0",
"repository": {
"type": "git",
"url": "git+https://github.com/trailheadapps/dreaminvest-lwc"
},
"engines": {
"node": ">= 10.13.0",
"npm": ">= 6.5.0"
},
"devDependencies": {
"@prettier/plugin-xml": "^0.3.0",
"@salesforce/eslint-config-lwc": "^0.4.0",
"eslint": "^5.16.0",
"husky": "^4.2.1",
"lint-staged": "^10.0.7",
"prettier": "^2.0.3",
"prettier-plugin-apex": "^1.1.0",
"semver": "^7.1.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run lint:aura"
}
},
"lint-staged": {
"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}": [
"prettier --write"
],
"**/lwc/**": [
"eslint"
],
"*": [
"git add"
]
}
}