-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
52 lines (52 loc) · 2.32 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
{
"name": "salesforce-app",
"private": true,
"version": "1.0.0",
"description": "Salesforce App",
"scripts": {
"lint": "npm run lint:lwc && npm run lint:aura",
"lint:aura": "eslint **/aura/**",
"lint:lwc": "eslint **/lwc/**",
"test": "npm run test:unit",
"test:unit": "sfdx-lwc-jest",
"test:unit:watch": "sfdx-lwc-jest --watch",
"test:unit:debug": "sfdx-lwc-jest --debug",
"test:unit:coverage": "sfdx-lwc-jest --coverage",
"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}\"",
"source:retrieve": "sfdx force:source:retrieve -x ./manifest/package.xml && yarn pretty-quick",
"source:deploy": "sfdx force:source:deploy -x ./manifest/package.xml -g",
"source:check": "sfdx force:source:deploy -x ./manifest/package.xml -u ${ENV:-firstpic_production} -l RunLocalTests -c",
"source:convert": "sfdx force:source:convert -r force-app/main/default -d ${PKG:-temp}",
"mdapi:retrieve": "sfdx force:mdapi:retrieve -r ./ -k ./manifest/package.xml",
"mdapi:convert": "sfdx force:mdapi:convert -r force-app/main/default",
"mdapi:check": "sfdx force:mdapi:deploy -c -f ${PKG:-temp.zip} -u ${ENV:-firstpic_production} -l RunLocalTests",
"mdapi:deploy": "sfdx force:mdapi:deploy -f ${PKG:-temp.zip} -u ${ENV:-firstpic_production} -l RunLocalTests",
"mdapi:deployId": "sfdx force:mdapi:deploy -u ${ENV:-firstpic_production} --validateddeployrequestid $JOBID",
"report": "sfdx -u ${ENV:-firstpic_production} force:mdapi:deploy:report",
"zip": "zip -r temp.zip temp -x '*.DS_Store' -x '__MACOSX'"
},
"devDependencies": {
"@prettier/plugin-xml": "^0.12.0",
"@salesforce/eslint-config-lwc": "^0.7.0",
"@salesforce/eslint-plugin-aura": "^1.4.0",
"@salesforce/sfdx-lwc-jest": "^0.9.2",
"eslint": "^7.6.0",
"eslint-config-prettier": "^6.11.0",
"husky": "^4.2.1",
"lint-staged": "^10.0.7",
"prettier": "^2.0.5",
"prettier-plugin-apex": "^1.6.0"
},
"lint-staged": {
"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}": [
"prettier --write"
],
"**/{aura|lwc}/**": [
"eslint"
]
},
"dependencies": {
"pretty-quick": "^3.1.0"
}
}