-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 2.45 KB
/
package.json
File metadata and controls
74 lines (74 loc) · 2.45 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
{
"name": "@salesforce/code-analyzer-pmd-engine",
"description": "Plugin package that adds 'pmd' and 'cpd' as engines into Salesforce Code Analyzer",
"version": "0.39.0-SNAPSHOT",
"author": "The Salesforce Code Analyzer Team",
"license": "BSD-3-Clause",
"homepage": "https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/overview",
"repository": {
"type": "git",
"url": "git+https://github.com/forcedotcom/code-analyzer-core.git",
"directory": "packages/code-analyzer-pmd-engine"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"dependencies": {
"@salesforce/code-analyzer-engine-api": "0.36.0-SNAPSHOT",
"@types/node": "^20.0.0",
"@types/semver": "^7.7.1",
"semver": "^7.7.4"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@types/jest": "^30.0.0",
"eslint": "^9.39.2",
"jest": "^30.2.0",
"rimraf": "^6.1.3",
"ts-jest": "^29.4.6",
"typescript": "^5.9.3",
"typescript-eslint": "^8.56.0"
},
"engines": {
"node": ">=20.0.0"
},
"files": [
"dist",
"LICENSE",
"package.json"
],
"scripts": {
"build-java": "sh ./gradlew build -x test",
"build-typescript": "tsc --build tsconfig.build.json --verbose",
"build": "npm run build-java && npm run build-typescript",
"test-java": "sh ./gradlew test jacocoTestReport jacocoTestCoverageVerification",
"test-typescript": "tsc --build tsconfig.json && jest --coverage",
"test": "npm run test-java && npm run test-typescript",
"lint": "eslint src/**/*.ts",
"package": "npm pack",
"all": "npm run build && npm run lint && npm run test && npm run package",
"clean-java": "sh ./gradlew clean",
"clean-typescript": "tsc --build tsconfig.build.json --clean",
"clean": "npm run clean-java && npm run clean-typescript",
"postclean": "rimraf dist && rimraf coverage && rimraf ./*.tgz && rimraf vulnerabilities",
"scrub": "npm run clean && rimraf node_modules",
"showcoverage-java": "sh ./gradlew showCoverageReport",
"showcoverage-typescript": "open ./coverage/lcov-report/index.html",
"showcoverage": "npm run showcoverage-java && npm run showcoverage-typescript"
},
"jest": {
"testTimeout": 60000,
"preset": "ts-jest",
"testEnvironment": "node",
"testMatch": [
"**/*.test.ts"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
],
"collectCoverageFrom": [
"src/**/*.ts",
"!src/index.ts"
]
}
}