-
Notifications
You must be signed in to change notification settings - Fork 50
/
package.json
134 lines (134 loc) · 3.26 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "@salesforce/plugin-code-analyzer",
"description": "Static code scanner that applies quality and security rules to Apex code, and provides feedback.",
"version": "5.0.0-alpha.3",
"author": "Salesforce Code Analyzer Team",
"bugs": "https://github.com/forcedotcom/sfdx-scanner/issues",
"dependencies": {
"@oclif/core": "^3.3.2",
"@salesforce/code-analyzer-core": "0.18.0",
"@salesforce/code-analyzer-engine-api": "0.15.0",
"@salesforce/code-analyzer-eslint-engine": "0.15.0",
"@salesforce/code-analyzer-flowtest-engine": "0.15.0",
"@salesforce/code-analyzer-pmd-engine": "0.15.0",
"@salesforce/code-analyzer-regex-engine": "0.15.0",
"@salesforce/code-analyzer-retirejs-engine": "0.15.0",
"@salesforce/core": "^5",
"@salesforce/sf-plugins-core": "^5.0.4",
"@salesforce/ts-types": "^2.0.9",
"@types/js-yaml": "^4.0.9",
"@types/node": "^22.5.5",
"ansis": "^3.2.0",
"fast-glob": "^3.3.2",
"js-yaml": "^4.1.0",
"ts-node": "^10",
"tslib": "^2"
},
"devDependencies": {
"@eslint/js": "^8.57",
"@oclif/plugin-help": "^5",
"@salesforce/cli-plugins-testkit": "^5.3.8",
"@types/jest": "^29.5.12",
"@types/tmp": "^0.2.6",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"eslint": "^8.57",
"eslint-plugin-sf-plugin": "^1.17.4",
"jest": "^29.7.0",
"jest-junit": "^16.0.0",
"oclif": "^4.0.3",
"tmp": "^0.2.3",
"ts-jest": "^29.1.4",
"typescript": "^5.4.5"
},
"engines": {
"node": ">=20.0.0"
},
"files": [
"/lib",
"/messages",
"/npm-shrinkwrap.json",
"/oclif.manifest.json",
"/oclif.lock"
],
"homepage": "https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/overview",
"keywords": [
"sfdx-plugin",
"sf-plugin"
],
"license": "BSD-3-Clause",
"oclif": {
"commands": "./lib/commands",
"bin": "sf",
"topics": {
"code-analyzer": {
"description": "Analyze your code to ensure it adheres to best practices."
}
},
"devPlugins": [
"@oclif/plugin-help"
],
"additionalHelpFlags": [
"-h"
],
"topicSeparator": " ",
"flexibleTaxonomy": true
},
"jest": {
"collectCoverageFrom": [
"src/**/*.ts",
"!src/index.ts",
"!src/lib/Display.ts"
],
"coverageReporters": [
"lcov",
"json",
"text"
],
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 80
}
},
"preset": "ts-jest",
"reporters": [
"default",
[
"jest-junit",
{
"outputDirectory": "reports",
"outputName": "report.xml"
}
],
[
"github-actions",
{
"silent": false
},
"summary"
]
],
"testEnvironment": "node",
"testMatch": [
"<rootDir>/test/**/*.test.ts"
],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/lib/",
"<rootDir>/dist/"
]
},
"repository": "forcedotcom/sfdx-scanner",
"scripts": {
"build": "tsc --build tsconfig.build.json",
"prepack": "rm -rf lib && tsc --build tsconfig.build.json && oclif manifest && oclif readme && oclif lock && npm shrinkwrap",
"postpack": "rm -f oclif.manifest.json oclif.lock npm-shrinkwrap.json",
"lint": "eslint ./src --max-warnings 0",
"version": "oclif readme && git add README.md",
"test": "jest --coverage",
"showcoverage": "open ./coverage/lcov-report/index.html"
}
}