@testomatio/reporter
Version:
Testomatio Reporter Client
140 lines (139 loc) • 6.57 kB
JSON
{
"name": "@testomatio/reporter",
"version": "2.3.7",
"description": "Testomatio Reporter Client",
"engines": {
"node": ">=18"
},
"typings": "typings/index.d.ts",
"repository": "git@github.com:testomatio/reporter.git",
"author": "Michael Bodnarchuk <davert@testomat.io>,Koushik Mohan <koushikmohan1996@gmail.com>",
"license": "MIT",
"type": "module",
"dependencies": {
"@aws-sdk/client-s3": "^3.279.0",
"@aws-sdk/lib-storage": "^3.279.0",
"@cucumber/cucumber": "^10.9.0",
"@octokit/rest": "^21.1.1",
"aws-sdk": "^2.1072.0",
"gaxios": ">=6.0 || >=7.0.0-rc.4 || <8",
"callsite-record": "^4.1.4",
"commander": "^12",
"cross-spawn": "^7.0.3",
"csv-writer": "^1.6.0",
"debug": "^4.3.4",
"dotenv": "^16.0.1",
"fast-xml-parser": "^4.4.1",
"file-url": "3.0.0",
"filesize": "^10.1.6",
"glob": "^10.3",
"handlebars": "^4.7.8",
"has-flag": "^5.0.1",
"humanize-duration": "^3.27.3",
"is-valid-path": "^0.1.1",
"json-cycle": "^1.3.0",
"lodash.memoize": "^4.1.2",
"lodash.merge": "^4.6.2",
"minimatch": "^9.0.3",
"picocolors": "^1.0.1",
"pretty-ms": "^7.0.1",
"promise-retry": "^2.0.1",
"strip-ansi": "^7.1.0",
"uuid": "^9.0.0"
},
"files": [
"bin",
"lib",
"src",
"testcafe"
],
"scripts": {
"clear-exportdir": "rm -rf export/",
"pretty": "npx prettier --check .",
"pretty:fix": "prettier --write .",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"format": "npm run lint:fix && npm run pretty:fix",
"test": "mocha 'tests/unit/**/*_test.js'",
"test:playwright": "mocha tests/adapter/playwright.test.js",
"test:codecept": "mocha tests/adapter/codecept.test.js tests/adapter/codecept_comprehensive.test.js tests/adapter/codecept_steps_sections.test.js",
"test:frameworks": "npm run test:playwright && npm run test:codecept",
"test:all": "npm run test && npm run test:frameworks",
"test:adapters": "mocha tests/adapter/*.test.js",
"test:codecept:bug948": "mocha tests/adapter/codecept_aftersuite_failure.test.js",
"test:codecept:steps": "mocha tests/adapter/codecept_steps_sections.test.js",
"install-example-deps": "cd example/playwright && npm install && cd ../codecept && npm install",
"init": "cd ./tests/adapter/examples/cucumber && npm i",
"test:adapter": "node node_modules/mocha/bin/mocha './tests/adapter/index.test.js'",
"test:adapter:jest:example": "jest './tests/adapter/examples/jest/index.test.js' --config='./tests/adapter/examples/jest/jest.config.js'",
"test:adapter:mocha:example": "mocha './tests/adapter/examples/mocha/index.test.js' --config='./tests/adapter/examples/mocha/mocha.config.cjs'",
"test:adapter:jasmine:example": "jasmine './tests/adapter/examples/jasmine/index.test.js' --reporter=./lib/adapter/jasmine.js",
"test:adapter:codecept:example": "codeceptjs run --config='./tests/adapter/examples/codecept/codecept.conf.js'",
"test:adapter:cucumber:example": "cd ./tests/adapter/examples/cucumber && npx cucumber-js",
"test:adapter:playwright:example": "npx playwright test --config='./tests/adapter/examples/playwright/playwright.config.ts'",
"test:adapter:vitest:example": "npx vitest --config='./tests/adapter/examples/vitest/vitest.config.ts'",
"test:storage": "npx mocha tests-storage/artifact-storage.test.js && npx mocha tests-storage/data-storage.test.js && TESTOMATIO_INTERCEPT_CONSOLE_LOGS=true npx mocha tests-storage/logger.test.js && npx mocha tests-storage/logger-2.test.js && npx mocha tests-storage/reporter-functions.test.js",
"build": "rm -rf ./cjs && tsc --module commonjs && npx tsx build/scripts/edit-js-files.js && npx tsx build/scripts/edit-package-json.js && chmod +x ./build/scripts/copy-tesmplate.sh && ./build/scripts/copy-tesmplate.sh",
"build:bun": "rm -rf ./cjs && bunx tsc --module commonjs && npx tsx build/scripts/edit-js-files.js && npx tsx build/scripts/edit-package-json.js && chmod +x ./build/scripts/copy-tesmplate.sh && ./build/scripts/copy-tesmplate.sh",
"build:watch:bun": "rm -rf ./cjs && bun build ./src/bin/reportXml.js ./src/bin/startTest.js ./src/bin/uploadArtifacts.js --outdir ./cjs --target node --watch --onSuccess \"build/scripts/post-build.js\""
},
"devDependencies": {
"@playwright/test": "^1.49.1",
"@redocly/cli": "^1.0.0-beta.125",
"@types/cross-spawn": "^6.0.6",
"@types/cucumber": "^7.0.0",
"@types/mocha": "^10.0.7",
"@wdio/reporter": "^7.16.13",
"chai": "^4.3.6",
"codeceptjs": "^3.6.5",
"cucumber": "^6.0.7",
"eslint": "^9.24.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.4",
"jasmine": "^5.2.0",
"jest": "^27.4.7",
"jsdom": "^22.1.0",
"mocha": "^9.2.0",
"mock-http-server": "^1.4.5",
"pino": "^8.15.0",
"prettier": "^3.2.5",
"puppeteer": "^22.15.0",
"typescript": "^5.5.4",
"vitest": "^1.6.0"
},
"bin": {
"@testomatio/reporter": "./lib/bin/cli.js",
"report-xml": "./lib/bin/reportXml.js",
"start-test-run": "./lib/bin/startTest.js",
"upload-artifacts": "./lib/bin/uploadArtifacts.js"
},
"exports": {
".": {
"import": "./src/reporter.js",
"require": "./lib/reporter.js",
"types": "./types/types.d.ts"
},
"./lib/adapter/codecept/codecept.js": "./lib/adapter/codecept.js",
"./lib/adapter/codecept": "./lib/adapter/codecept.js",
"./codecept": "./lib/adapter/codecept.js",
"./lib/adapter/cucumber/cucumber.js": "./lib/adapter/cucumber/current.js",
"./cucumber": "./lib/adapter/cucumber/current.js",
"./lib/adapter/cypress-plugin": "./lib/adapter/cypress-plugin/index.js",
"./cypress-plugin": "./lib/adapter/cypress-plugin/index.js",
"./cypress": "./lib/adapter/cypress-plugin/index.js",
"./lib/adapter/jasmine.js": "./lib/adapter/jasmine.js",
"./jasmine": "./lib/adapter/jasmine.js",
"./lib/adapter/jest.js": "./lib/adapter/jest.js",
"./jest": "./lib/adapter/jest.js",
"./lib/adapter/mocha/mocha.js": "./lib/adapter/mocha.js",
"./mocha": "./lib/adapter/mocha.js",
"./lib/adapter/playwright.js": "./lib/adapter/playwright.js",
"./nightwatch": "./lib/adapter/nightwatch.js",
"./playwright": "./lib/adapter/playwright.js",
"./vitest": "./lib/adapter/vitest.js",
"./lib/adapter/webdriver.js": "./lib/adapter/webdriver.js",
"./lib/adapter/webdriver": "./lib/adapter/webdriver.js",
"./webdriver": "./lib/adapter/webdriver.js",
"./wdio": "./lib/adapter/webdriver.js"
}
}