mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-15 22:07:09 +01:00
got@v12.x has a dependency on @sindresorhus/is@v5.x and it uses optional chaining operator "?.". Probably due to issue https://github.com/vercel/ncc/issues/873 this syntax got into our dist/index.js. For some unknown reason it results in error when action is executed in GitHub runner despite the node version is 16.17.
78 lines
2.5 KiB
JSON
78 lines
2.5 KiB
JSON
{
|
||
"name": "test-check",
|
||
"version": "0.0.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 --source-map --license licenses.txt",
|
||
"test": "jest --ci --reporters=default --reporters=jest-junit",
|
||
"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\"",
|
||
"jest-fixture": "cd \"reports/jest\" && npm test",
|
||
"mocha-fixture": "cd \"reports/mocha\" && npm test"
|
||
},
|
||
"repository": {
|
||
"type": "git",
|
||
"url": "git+https://github.com/dorny/test-check.git"
|
||
},
|
||
"keywords": [
|
||
"actions",
|
||
"node",
|
||
"test",
|
||
"report"
|
||
],
|
||
"author": "Michal Dorner <dorner.michal@gmail.com>",
|
||
"license": "MIT",
|
||
"dependencies": {
|
||
"@actions/core": "^1.2.6",
|
||
"@actions/exec": "^1.0.4",
|
||
"@actions/github": "^5.0.3",
|
||
"adm-zip": "^0.5.3",
|
||
"fast-glob": "^3.2.5",
|
||
"got": "^11.8.2",
|
||
"picomatch": "^2.2.2",
|
||
"xml2js": "^0.4.23"
|
||
},
|
||
"devDependencies": {
|
||
"@octokit/types": "^7.1.0",
|
||
"@octokit/webhooks": "^10.1.5",
|
||
"@octokit/webhooks-types": "^6.3.6",
|
||
"@types/adm-zip": "^0.5.0",
|
||
"@types/github-slugger": "^1.3.0",
|
||
"@types/jest": "^28.1.7",
|
||
"@types/node": "^18.7.7",
|
||
"@types/picomatch": "^2.2.1",
|
||
"@types/xml2js": "^0.4.8",
|
||
"@typescript-eslint/eslint-plugin": "^5.33.1",
|
||
"@typescript-eslint/parser": "^5.33.1",
|
||
"@vercel/ncc": "^0.34.0",
|
||
"eslint": "^8.22.0",
|
||
"eslint-import-resolver-typescript": "^3.4.2",
|
||
"eslint-plugin-github": "^4.1.2",
|
||
"eslint-plugin-import": "^2.26.0",
|
||
"eslint-plugin-jest": "^26.8.3",
|
||
"jest": "^28.1.3",
|
||
"jest-circus": "^28.1.3",
|
||
"jest-junit": "^14.0.0",
|
||
"js-yaml": "^4.1.0",
|
||
"prettier": "^2.7.1",
|
||
"ts-jest": "^28.0.8",
|
||
"typescript": "^4.7.4"
|
||
},
|
||
"jest-junit": {
|
||
"suiteName": "jest tests",
|
||
"outputDirectory": "__tests__/__results__",
|
||
"outputName": "jest-junit.xml",
|
||
"ancestorSeparator": " › ",
|
||
"uniqueOutputName": "false",
|
||
"suiteNameTemplate": "{filepath}",
|
||
"classNameTemplate": "{classname}",
|
||
"titleTemplate": "{title}"
|
||
}
|
||
}
|