-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
46 lines (46 loc) · 1.42 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
{
"name": "code-analyzer-monorepo",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"build": "npm run build --workspaces",
"test-java": "npm run test-java --workspaces --if-present",
"test-typescript": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --coverage",
"test": "npm run test-java && npm run test-typescript",
"lint": "npm run lint --workspaces --if-present",
"package": "npm run package --workspaces --if-present",
"all": "npm run build && npm run test && npm run lint && npm run package",
"clean": "npm run clean --workspaces",
"postclean": "rimraf coverage",
"scrub": "npm run clean && npm run scrub --workspaces --if-present && rimraf node_modules && rimraf package-lock.json",
"showcoverage-java": "npm run showcoverage-java --workspaces --if-present",
"showcoverage-typescript": "open ./coverage/lcov-report/index.html",
"showcoverage": "npm run showcoverage-java && npm run showcoverage-typescript"
},
"devDependencies": {
"cross-env": "^7.0.3",
"jest": "^29.7.0",
"ts-jest": "29.2.3",
"rimraf": "*"
},
"jest": {
"testTimeout": 60000,
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 80
}
},
"projects": [
"<rootDir>/packages/*"
],
"collectCoverageFrom": [
"src/**/*.ts",
"!src/index.ts"
]
}
}