-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
64 lines (64 loc) · 2.3 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
{
"name": "vscode-remote-sfdx-project",
"version": "1.0.0",
"description": "This guide helps Salesforce developers who are new to Visual Studio Code go from zero to a deployed app using Salesforce Extensions for VS Code and Salesforce CLI.",
"private": true,
"babel": {
"presets": [
"env"
]
},
"devDependencies": {
"@babel/core": "7.8.3",
"@babel/register": "7.8.3",
"@prettier/plugin-xml": "0.5.0",
"@salesforce/eslint-config-lwc": "0.4.0",
"babel-preset-env": "1.7.0",
"eslint": "6.8.0",
"gulp": "4.0.2",
"gulp-shell": "0.7.1",
"husky": "4.2.0",
"lint-staged": "10.0.2",
"prettier": "1.19.1",
"prettier-plugin-apex": "1.1.0"
},
"scripts": {
"gulp:detectSourceOrg": "gulp detectSourceOrg",
"gulp:detectTargetOrg": "gulp detectTargetOrg",
"gulp:preValidate": "gulp preValidate",
"gulp:postValidate": "gulp postValidate",
"gulp:preDeploy": "gulp preDeploy",
"gulp:postDeploy": "gulp postDeploy",
"lint": "npm run lint:all:json",
"lint:all:json": "eslint force-app --output-file logs/eslint.json --format json",
"lint:all:checkstyle": "eslint force-app --output-file logs/eslint.xml --format checkstyle",
"lint:aura": "eslint **/aura/**",
"lint:lwc": "eslint **/lwc/**",
"prettier": "prettier --loglevel log --write \"**/*.{component,css,cls,cmp,html,js,json,md,page,trigger,xml}\"",
"prettier:list-different": "prettier --loglevel log --list-different \"**/*.{component,css,cls,cmp,html,js,json,md,page,trigger,xml}\"",
"prettier:force-app": "prettier --loglevel log --write \"force-app/**/*.{component,css,cls,cmp,html,js,json,md,page,trigger,xml}\"",
"rebuild": "rm -rf node_modules && rm package-lock.json && npm cache clean --force && rm -rf ~/.npm && npm install",
"test": "npm run lint",
"test:unit": "npm run test:unit:apex",
"test:unit:apex": "sfdx force:apex:test:run --codecoverage --testlevel RunLocalTests --synchronous --verbose --resultformat human"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{component,css,cls,cmp,html,js,json,md,page,trigger,xml}": [
"prettier --loglevel log --write"
],
"**/lwc/**": [
"eslint"
],
"**/aura/**": [
"eslint"
],
"*": [
"git add"
]
}
}