forked from forcedotcom/code-analyzer-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
41 lines (41 loc) · 1.07 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
{
"name": "code-analyzer-monorepo",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"build": "npm run build --workspaces",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --coverage",
"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",
"showcoverage": "open ./coverage/lcov-report/index.html"
},
"devDependencies": {
"cross-env": "^7.0.3",
"jest": "^29.0.0",
"ts-jest": "^29.0.0",
"rimraf": "*"
},
"jest": {
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 80
}
},
"projects": [
"<rootDir>/packages/*"
],
"collectCoverageFrom": [
"src/**/*.ts",
"!src/index.ts"
]
}
}