-
-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 2.1 KB
/
package.json
File metadata and controls
49 lines (49 loc) · 2.1 KB
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
{
"name": "salesforce-app",
"private": true,
"version": "1.0.0",
"description": "Salesforce App",
"scripts": {
"docs": "npm --prefix docs-starlight run dev",
"docs:install": "npm --prefix docs-starlight install",
"docs:build": "npm --prefix docs-starlight run build",
"generate:action-metadata": "node scripts/generate-action-metadata.js",
"generate:action-metadata:dry": "node scripts/generate-action-metadata.js --dry-run --verbose",
"lint": "eslint **/{aura,lwc}/**/*.js",
"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,yaml,yml}\"",
"prettier:verify": "prettier --check \"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,yaml,yml}\"",
"code-analyzer": "sf code-analyzer run --rule-selector AppExchange --rule-selector \"Recommended:Security\" --target \"force-app/**/*.cls,aiAgentStudioAddons/**/*.cls\" --output-file code-analyzer-results.csv",
"code-analyzer:force-app": "sf code-analyzer run --rule-selector AppExchange --rule-selector \"Recommended:Security\" --target \"force-app/**/*.cls\" --output-file code-analyzer-force-app.csv",
"postinstall": "husky install",
"precommit": "lint-staged"
},
"devDependencies": {
"@lwc/eslint-plugin-lwc": "^3.0.0",
"@prettier/plugin-xml": "^3.4.1",
"@sa11y/jest": "^7.1.2",
"@salesforce/eslint-config-lwc": "^4.0.0",
"@salesforce/eslint-plugin-lightning": "^2.0.0",
"@salesforce/sfdx-lwc-jest": "^7.0.2",
"eslint": "^9.28.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.12.0",
"husky": "^9.1.7",
"jest-canvas-mock": "^2.5.2",
"lint-staged": "^15.5.0",
"prettier": "^3.5.3",
"prettier-plugin-apex": "^2.2.6"
},
"lint-staged": {
"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,yaml,yml}": [
"prettier --write"
],
"**/{aura,lwc}/**/*.js": [
"eslint"
]
}
}