-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 2.79 KB
/
package.json
File metadata and controls
88 lines (88 loc) · 2.79 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
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
{
"name": "sonarqube-cli",
"type": "module",
"version": "0.7.0",
"description": "SonarQube CLI",
"bin": {
"sonar": "./dist/index.js"
},
"scripts": {
"build": "tsc",
"build:binary": "bun build src/index.ts --compile --outfile dist/sonarqube-cli",
"dev": "bun run src/index.ts",
"test:unit": "bun test ./tests/unit/",
"pretest:integration": "bun build:binary && bun build-scripts/setup-integration-resources.ts",
"test:integration": "bun test ./tests/integration/",
"test:all": "bun run test:unit && bun run test:integration",
"test:coverage": "bun build:binary && bun build-scripts/build-coverage-binary.ts && bun build-scripts/setup-integration-resources.ts && bun build-scripts/clear-coverage-raw.ts && bun test --coverage --coverage-reporter=lcov --coverage-dir=tests/coverage/reports/unit ./tests/unit/ && SONAR_CLI_USE_COVERAGE=1 bun test ./tests/integration/ && bun build-scripts/report-coverage.ts",
"lint": "eslint src/ tests/",
"lint:fix": "eslint src/ tests/ --fix",
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"",
"typecheck": "tsc --noEmit",
"gen:docs": "bun run build-scripts/generate-docs.ts",
"version:build_number": "bun build-scripts/set-build-number.ts",
"fetch:signatures": "bun build-scripts/fetch-signatures.js",
"prepare": "husky"
},
"externalBinaries": {
"sonar-secrets": {
"version": "2.41.0.10709",
"binaryPath": "CommercialDistribution/sonar-secrets",
"platforms": [
{
"os": "linux",
"arch": "x86-64"
},
{
"os": "linux",
"arch": "arm64"
},
{
"os": "macos",
"arch": "arm64"
},
{
"os": "windows",
"arch": "x86-64"
}
]
}
},
"dependencies": {
"@clack/core": "^1.0.1",
"@toon-format/toon": "^2.1.0",
"commander": "^12.1.0",
"keytar": "^7.9.0",
"openpgp": "^5.11.2",
"picocolors": "^1.1.1",
"js-yaml": "^4.1.1"
},
"devDependencies": {
"@sonar/scan": "^4.3.0",
"@types/bun": "^1.3.9",
"@typescript-eslint/eslint-plugin": "^8.56.1",
"@typescript-eslint/parser": "^8.56.1",
"ajv": "^8.18.0",
"eslint": "^10.0.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-headers": "^1.3.4",
"husky": "9.1.7",
"istanbul-lib-instrument": "6.0.3",
"istanbul-lib-report": "3.0.1",
"istanbul-reports": "3.2.0",
"lcov-result-merger": "5.0.1",
"@types/js-yaml": "^4.0.9",
"lint-staged": "16.2.7",
"plop": "^4.0.5",
"prettier": "^3.8.1",
"typescript": "^5.9.3",
"typescript-eslint": "^8.56.1"
},
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint --fix"
]
}
}