-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
121 lines (121 loc) · 3.41 KB
/
package.json
File metadata and controls
121 lines (121 loc) · 3.41 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
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
{
"name": "jest-pr-analysis",
"version": "1.1.4",
"private": true,
"description": "This Action allows you to create annotations and coverage reports based on Jest's output.",
"main": "lib/index.js",
"license": "MIT",
"repository": "git+https://github.com/Manogel/jest-pr-analysis",
"keywords": [
"jest",
"pull request",
"coverage",
"tests"
],
"author": "Manoel Gomes <manoelgomes53@gmail.com>",
"bugs": {
"url": "https://github.com/Manogel/jest-pr-analysis/issues"
},
"homepage": "https://github.com/Manogel/jest-pr-analysis#readme",
"scripts": {
"start:dev": "ts-node src/index.ts",
"prebuild": "rimraf dist",
"build": "tsc --project tsconfig.build.json && tsc-alias",
"postbuild": "yarn copy-files",
"format": "prettier --write \"src/**/*.ts\"",
"copy-files": "copyfiles -u 1 src/**/*.md dist/",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint \"src/**/*.ts\" --fix",
"package": "ts-node scripts/esbuild.ts",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:report": "jest --testLocationInResults --coverageReporters='json-summary' --json --coverage --ci --outputFile='coverage/report.json'"
},
"dependencies": {
"@actions/core": "^1.10.0",
"@actions/exec": "^1.1.1",
"@actions/github": "^5.1.1",
"fs-extra": "^10.1.0",
"markdown-table": "2",
"micromatch": "^4.0.5",
"parse-diff": "^0.11.1",
"strip-ansi": "^7.0.1"
},
"devDependencies": {
"@babel/preset-env": "^7.20.2",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^29.2.3",
"@types/markdown-table": "2",
"@types/micromatch": "^4.0.2",
"@types/node": "^18.11.9",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.53.0",
"babel-jest": "^29.3.1",
"copyfiles": "^2.4.1",
"esbuild": "^0.16.4",
"eslint": "^8.0.1",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard-with-typescript": "^23.0.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-import-helpers": "^1.3.1",
"eslint-plugin-n": "^15.0.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.0.0",
"jest": "^29.3.1",
"jest-junit": "^15.0.0",
"prettier": "^2.7.1",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"ts-node-dev": "^2.0.0",
"tsc-alias": "^1.7.1",
"tsconfig-paths": "^4.1.0",
"typescript": "4.9.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(js|jsx)?$": "babel-jest",
"^.+\\.ts$": "ts-jest",
"^.+\\.md$": "<rootDir>/tests/jestMdTransformer.js"
},
"coveragePathIgnorePatterns": [
"/node_modules/"
],
"collectCoverageFrom": [
"src/**/*.ts",
"!src/run.ts",
"!src/@types/*",
"!src/**/*.spec.ts",
"!src/constants/*",
"!src/**/__tests__/*"
],
"coverageDirectory": "coverage",
"testEnvironment": "node",
"moduleDirectories": [
"node_modules",
"src"
],
"transformIgnorePatterns": [
"/node_modules/(?!strip-ansi|ansi-regex)"
],
"moduleNameMapper": {
"~/(.*)": "<rootDir>/src/$1"
},
"setupFilesAfterEnv": [
"<rootDir>/tests/setupJestGlobal.ts"
],
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80
}
}
}
}