forked from webdriverio-community/wdio-rerun-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
117 lines (117 loc) · 3.18 KB
/
package.json
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
{
"name": "wdio-rerun-service",
"version": "2.0.7",
"description": "A WebdriverIO service to track and prepare for re-running failing or flaky Jasmine/Mocha tests or Cucumber Scenarios.",
"author": "Mike Salvia <mike.salvia@icloud.com>",
"homepage": "https://github.com/webdriverio-community/wdio-rerun-service",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"type": "module",
"main": "./build/cjs/index.js",
"types": "./build/cjs/index.d.ts",
"module": "./build/esm/index.js",
"exports": {
".": {
"import": {
"types": "./build/esm/index.d.ts",
"default": "./build/esm/index.js"
},
"require": {
"types": "./build/cjs/index.d.ts",
"default": "./build/cjs/index.js"
}
}
},
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"build": "run-s clean compile",
"clean": "rimraf ./build",
"compile": "run-s compile:esm compile:cjs generate:cjs:package",
"compile:cjs": "tsc -p tsconfig.cjs.json",
"compile:esm": "tsc -p tsconfig.esm.json",
"generate:cjs:package": "shx echo \"{\\\"type\\\":\\\"commonjs\\\"}\" > ./build/cjs/package.json",
"prepare": "npm run build",
"test": "run-s test:*",
"test:clean": "rimraf ./results ./coverage rerun.sh rerun.bat",
"test:eslint": "eslint src tests",
"test:tsc": "tsc -p tsconfig.json --noEmit",
"test:unit": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --coverage",
"watch": "npm-watch"
},
"watch": {
"build": "{src,tests}/*.ts"
},
"repository": {
"type": "git",
"url": "git://github.com/webdriverio-community/wdio-rerun-service.git"
},
"keywords": [
"webdriver",
"webdriverio",
"wdio",
"wdio-service",
"rerun",
"re-run",
"retry",
"test",
"tests",
"scenario",
"cucumber",
"mocha",
"jasmine",
"flaky",
"selenium",
"node",
"automation",
"javascript"
],
"bugs": {
"url": "https://github.com/webdriverio-community/wdio-rerun-service/issues"
},
"dependencies": {
"@wdio/types": "^8.0.11",
"minimist": "^1.2.7",
"uuid": "^9.0.0"
},
"devDependencies": {
"@jest/globals": "^29.3.1",
"@tsconfig/node16": "^1.0.3",
"@tsconfig/node18-strictest-esm": "^1.0.1",
"@types/minimist": "^1.2.2",
"@types/node": "^18.11.16",
"@types/uuid": "^9.0.0",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"@wdio/cucumber-framework": "^8.13.9",
"@wdio/globals": "^8.13.10",
"cross-env": "^7.0.3",
"eslint": "^8.30.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^29.3.1",
"npm-run-all": "4.1.5",
"npm-watch": "0.11.0",
"prettier": "^2.8.1",
"prettier-plugin-organize-imports": "^3.2.1",
"release-it": "^15.5.1",
"rimraf": "^3.0.2",
"shx": "^0.3.4",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
},
"jest": {
"preset": "ts-jest/presets/default-esm",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"collectCoverageFrom": [
"src/index.ts"
]
}
}