This repository has been archived by the owner on May 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 131
/
package.json
62 lines (62 loc) · 2.39 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
{
"name": "ecars",
"private": true,
"version": "1.0.0",
"description": "eCars - Salesforce Platform application demo",
"author": "Salesforce Developer Relations",
"license": "CC0-1.0",
"scripts": {
"clean": "lerna clean && rimraf node_modules **/node_modules",
"lint": "eslint **/{lwc,apps}/**/*.js",
"test": "npm run lint && npm run test:unit && npm run test:services",
"test:unit": "lwc-jest --skipApiVersionCheck",
"test:unit:watch": "lwc-jest --watch --skipApiVersionCheck",
"test:unit:debug": "lwc-jest --debug --skipApiVersionCheck",
"test:unit:coverage": "sfdx-lwc-jest --coverage --skipApiVersionCheck",
"test:services": "cd apps/ecars-services && npm test",
"prettier": "prettier --write \"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,ts,xml,yaml,yml}\"",
"prettier:verify": "prettier --check \"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,ts,xml,yaml,yml}\"",
"postinstall": "lerna exec -- npm install && lerna link && husky install",
"precommit": "lint-staged"
},
"lint-staged": {
"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}": [
"prettier --write"
],
"**/{lwc,apps}/**/*.js": [
"eslint"
],
"**/lwc/**": [
"sfdx-lwc-jest --skipApiVersionCheck -- --bail --findRelatedTests --passWithNoTests"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/trailheadapps/ecars"
},
"devDependencies": {
"@lwc/eslint-plugin-lwc": "^1.5.0",
"@prettier/plugin-xml": "^2.1.0",
"@sa11y/jest": "^4.0.1",
"@salesforce/eslint-config-lwc": "^3.3.3",
"@salesforce/eslint-plugin-lightning": "^1.0.0",
"@salesforce/sfdx-lwc-jest": "^1.1.3",
"@typescript-eslint/eslint-plugin": "^5.44.0",
"@typescript-eslint/parser": "^5.44.0",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^27.1.5",
"husky": "^8.0.2",
"lerna": "^6.0.3",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"prettier-plugin-apex": "^1.11.0",
"rimraf": "^4.1.2",
"typescript": "^4.9.3"
},
"volta": {
"node": "14.19.3",
"npm": "6.14.17"
}
}