mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-13 04:58:45 +01:00
93 lines
3.4 KiB
JSON
93 lines
3.4 KiB
JSON
{
|
||
"name": "test-reporter",
|
||
"version": "2.3.0",
|
||
"private": true,
|
||
"description": "Presents test results from popular testing frameworks as Github check run",
|
||
"main": "lib/main.js",
|
||
"scripts": {
|
||
"build": "tsc",
|
||
"format": "prettier --write **/*.ts",
|
||
"format-check": "prettier --check **/*.ts",
|
||
"lint": "eslint src/**/*.ts",
|
||
"package": "ncc build --license licenses.txt && eolConverter lf 'dist/*'",
|
||
"version": "npm run build && npm run package && git add dist/*",
|
||
"test": "jest --ci --reporters=default --reporters=jest-junit",
|
||
"jest:updatesnapshot": "jest --updateSnapshot",
|
||
"all": "npm run build && npm run format && npm run lint && npm run package && npm test",
|
||
"dart-fixture": "cd \"reports/dart\" && dart test --file-reporter=\"json:../../__tests__/fixtures/dart-json.json\"",
|
||
"dotnet-fixture": "dotnet test reports/dotnet/DotnetTests.XUnitTests --logger \"trx;LogFileName=../../../../__tests__/fixtures/dotnet-trx.trx\"",
|
||
"dotnet-xunitv3-fixture": "dotnet run --project reports/dotnet/DotnetTests.XUnitV3Tests/DotnetTests.XUnitV3Tests.csproj --report-trx --report-trx-filename dotnet-xunitv3.trx --results-directory __tests__/fixtures/",
|
||
"dotnet-nunit-fixture": "nunit.exe reports/dotnet/DotnetTests.NUnitV3Tests/bin/Debug/netcoreapp3.1/DotnetTests.NUnitV3Tests.dll --result=__tests__/fixtures/dotnet-nunit.xml",
|
||
"dotnet-nunit-legacy-fixture": "nunit-console.exe reports/dotnet-nunit-legacy/NUnitLegacy.sln --result=__tests__/fixtures/dotnet-nunit-legacy.xml",
|
||
"golang-json-fixture": "go test -v -json -timeout 5s ./reports/go | tee __tests__/fixtures/golang-json.json",
|
||
"jest-fixture": "cd \"reports/jest\" && npm test",
|
||
"mocha-fixture": "cd \"reports/mocha\" && npm test"
|
||
},
|
||
"repository": {
|
||
"type": "git",
|
||
"url": "git+https://github.com/dorny/test-reporter.git"
|
||
},
|
||
"keywords": [
|
||
"actions",
|
||
"node",
|
||
"test",
|
||
"report"
|
||
],
|
||
"author": "Michal Dorner <dorner.michal@gmail.com>",
|
||
"license": "MIT",
|
||
"dependencies": {
|
||
"@actions/core": "^1.11.1",
|
||
"@actions/exec": "^1.1.1",
|
||
"@actions/github": "^6.0.1",
|
||
"adm-zip": "^0.5.16",
|
||
"fast-glob": "^3.3.3",
|
||
"got": "^11.8.6",
|
||
"picomatch": "^4.0.3",
|
||
"xml2js": "^0.6.2"
|
||
},
|
||
"devDependencies": {
|
||
"@octokit/webhooks-types": "^7.6.1",
|
||
"@types/adm-zip": "^0.5.7",
|
||
"@types/jest": "^30.0.0",
|
||
"@types/node": "^20.19.23",
|
||
"@types/picomatch": "^4.0.2",
|
||
"@types/xml2js": "^0.4.14",
|
||
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
||
"@typescript-eslint/parser": "^7.18.0",
|
||
"@vercel/ncc": "^0.38.4",
|
||
"eol-converter-cli": "^1.1.0",
|
||
"eslint": "^8.57.1",
|
||
"eslint-import-resolver-typescript": "^3.10.1",
|
||
"eslint-plugin-github": "^4.10.2",
|
||
"eslint-plugin-import": "^2.32.0",
|
||
"eslint-plugin-jest": "^28.14.0",
|
||
"eslint-plugin-prettier": "^5.5.4",
|
||
"jest": "^30.2.0",
|
||
"jest-junit": "^16.0.0",
|
||
"js-yaml": "^4.1.1",
|
||
"prettier": "^3.6.2",
|
||
"ts-jest": "^29.4.5",
|
||
"typescript": "^5.9.3"
|
||
},
|
||
"overrides": {
|
||
"sax": "^1.4.3"
|
||
},
|
||
"jest-junit": {
|
||
"suiteName": "jest tests",
|
||
"outputDirectory": "__tests__/__results__",
|
||
"outputName": "jest-junit.xml",
|
||
"ancestorSeparator": " › ",
|
||
"uniqueOutputName": "false",
|
||
"suiteNameTemplate": "{filepath}",
|
||
"classNameTemplate": "{classname}",
|
||
"titleTemplate": "{title}"
|
||
},
|
||
"engines": {
|
||
"node": ">=20"
|
||
},
|
||
"markdownlint-cli2": {
|
||
"ignores": [
|
||
"__tests__/**/*"
|
||
]
|
||
}
|
||
}
|