-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathpackage.json
More file actions
147 lines (147 loc) · 6.64 KB
/
package.json
File metadata and controls
147 lines (147 loc) · 6.64 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"name": "@testomatio/reporter",
"version": "2.7.2",
"description": "Testomatio Reporter Client",
"engines": {
"node": ">=18"
},
"main": "lib/reporter.js",
"module": "src/reporter.js",
"types": "types/types.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",
"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": "^5.3.4",
"file-url": "3.0.0",
"filesize": "^10.1.6",
"gaxios": ">=6.0 || >=7.0.0-rc.4 || <8",
"glob": "^10.3",
"handlebars": "^4.7.8",
"has-flag": "^5.0.1",
"humanize-duration": "^3.27.3",
"is-valid-path": "^0.1.1",
"js-yaml": "^4.1.1",
"json-cycle": "^1.3.0",
"lodash.memoize": "^4.1.2",
"lodash.merge": "^4.6.2",
"minimatch": "^10.2.4",
"picocolors": "^1.0.1",
"pretty-ms": "^7.0.1",
"promise-retry": "^2.0.1",
"strip-ansi": "7.1.0",
"uuid": "^9.0.0"
},
"overrides": {
"fast-xml-parser": "^5.3.4"
},
"files": [
"bin",
"lib",
"src",
"testcafe",
"types"
],
"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:vitest": "mocha tests/adapter/vitest.test.js",
"test:frameworks": "npm run test:playwright && npm run test:codecept && npm run test:vitest",
"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": "./src/bin/cli.js",
"report-xml": "./src/bin/reportXml.js",
"start-test-run": "./src/bin/startTest.js",
"upload-artifacts": "./src/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"
}
}