forked from trailheadapps/functions-recipes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 2.36 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": "functions_recipes",
"private": true,
"version": "1.0.0",
"description": "Salesforce Functions Recipes Sample App",
"author": "salesforce.com",
"license": "CC0-1.0",
"repository": {
"type": "git",
"url": "git+https://github.com/trailheadapps/functions-recipes"
},
"scripts": {
"clean": "lerna clean && rimraf node_modules **/node_modules",
"lint": "eslint **/lwc/**/*.js",
"test": "npm run test:unit && npm run test:functions:js",
"test:unit": "sfdx-lwc-jest --skipApiVersionCheck",
"test:unit:watch": "sfdx-lwc-jest --watch --skipApiVersionCheck",
"test:unit:debug": "sfdx-lwc-jest --debug --skipApiVersionCheck",
"test:unit:coverage": "sfdx-lwc-jest --coverage --skipApiVersionCheck",
"test:functions:js": "mocha --loader=quibble functions/**/test/*.test.js",
"test:functions:java": "./mvnw test",
"prettier": "prettier --write \"**/*.{cls,cmp,component,css,html,js,ts,json,md,page,trigger,xml,yaml,yml}\"",
"prettier:verify": "prettier --check \"**/*.{cls,cmp,component,css,html,js,ts,json,md,page,trigger,xml,yaml,yml}\"",
"postinstall": "lerna exec -- npm install && lerna link && husky install",
"precommit": "lint-staged && node scripts/generateFunctionDetails.js",
"ci:postinstall": "lerna exec -- npm ci && lerna link"
},
"devDependencies": {
"@lwc/eslint-plugin-lwc": "^1.1.1",
"@prettier/plugin-xml": "^2.2.0",
"@sa11y/jest": "^3.1.0",
"@salesforce/eslint-config-lwc": "^3.2.1",
"@salesforce/eslint-plugin-lightning": "^1.0.0",
"@salesforce/sfdx-lwc-jest": "^1.1.0",
"@typescript-eslint/eslint-plugin": "^5.40.0",
"@typescript-eslint/parser": "^5.40.0",
"eslint": "^8.25.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jest": "^27.1.1",
"husky": "^8.0.1",
"lerna": "^6.0.0",
"lint-staged": "^13.0.3",
"mocha": "^10.0.0",
"prettier": "^2.5.1",
"prettier-plugin-apex": "^1.10.0",
"quibble": "^0.6.14",
"rimraf": "^3.0.2",
"typescript": "^4.5.3"
},
"lint-staged": {
"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,ts,xml,yaml,yml}": [
"prettier --write"
],
"**/lwc/**/*.js": [
"eslint",
"sfdx-lwc-jest --skipApiVersionCheck -- --bail --findRelatedTests --passWithNoTests"
]
},
"volta": {
"node": "16.18.0",
"npm": "8.19.2"
}
}