Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
127 lines (127 loc) · 4.29 KB
/
Copy pathpackage.json
File metadata and controls
127 lines (127 loc) · 4.29 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
{
"name": "expect-webdriverio",
"version": "8.1.0",
"author": "Mykola Grybyk <mykola.grybyk@gmail.com>",
"description": "WebdriverIO Assertion Library",
"license": "MIT",
"homepage": "https://webdriver.io",
"repository": {
"type": "git",
"url": "git+https://github.com/webdriverio/expect-webdriverio.git"
},
"bugs": {
"url": "https://github.com/webdriverio/expect-webdriverio/issues"
},
"keywords": [
"expect-webdriverio",
"expect",
"webdriverio",
"wdio"
],
"type": "module",
"main": "./lib/index.js",
"exports": {
".": [
{
"types": "./lib/index.d.ts",
"import": "./lib/index.js"
},
"./lib/index.js"
],
"./jest": [
{
"types": "./jest.d.ts"
}
],
"./jasmine": [
{
"types": "./jasmine.d.ts"
}
],
"./expect-global": "./types/expect-global.d.ts",
"./api": [
{
"types": "./lib/api/index.d.ts",
"import": "./lib/api/index.js"
},
"./lib/api/index.js"
]
},
"types": "./lib/index.d.ts",
"typeScriptVersion": "6.0.3",
"engines": {
"node": ">=22.23.4 <23 || >=24.22.1 <25 || >=26.12.1"
},
"packageManager": "pnpm@11.27.1+sha512.a81d4c21b9b09a4b0aebf90ef5e527d4262bdda322d26082978cb549023ac6d9cafc98b19fffaa5c71db438a65f70224edb78d7311187861ff96480d1cdca23c",
"scripts": {
"build": "run-s clean compile",
"clean": "run-p clean:*",
"clean:build": "rimraf ./lib",
"compile": "run-s compile:*",
"compile:lib": "tsc --build tsconfig.build.json",
"compile:check": "if [ ! -f lib/index.js ] || [ $(find lib -type f | wc -l) -le 30 ]; then echo 'File structure under lib is broken'; exit 1; fi",
"test": "run-s test:*",
"test:tsc": "tsc --project tsconfig.json --noEmit --rootDir .",
"test:lint": "oxlint",
"test:unit": "vitest --run",
"test:types": "pnpm run ts",
"ts": "run-s ts:* ts:*:*",
"ts:jasmine": "node types-checks-clean-cache.js && cd test-types/jasmine && vitest --typecheck --coverage.enabled=false --typecheck.tsconfig ./tsconfig.json --run",
"ts:jest:@types-jest": "node types-checks-clean-cache.js && cd test-types/jest-@types_jest && vitest --typecheck --coverage.enabled=false --typecheck.tsconfig ./tsconfig.json --run",
"ts:mocha": "node types-checks-clean-cache.js && cd test-types/mocha && vitest --typecheck --coverage.enabled=false --typecheck.tsconfig ./tsconfig.json --run",
"ts:arethetypeswrong": "attw --pack . --profile esm-only",
"ts:declarations": "node types-checks-declarations.js",
"ts:package": "node types-checks-package.js",
"ts:wdio-testrunner": "tsc -p test-types/wdio-testrunner/tsconfig.mocha.json && tsc -p test-types/wdio-testrunner/tsconfig.jasmine.json",
"checks:all": "pnpm run build && pnpm test",
"watch": "pnpm run compile --watch",
"prepare": "husky",
"playgrounds:clean": "rimraf --glob '**/node_modules'",
"playgrounds:setup": "pnpm run playgrounds:clean; pnpm install && cd playgrounds && pnpm run setup",
"playgrounds:checks:all": "cd playgrounds && pnpm run checks:all",
"playgrounds:snapshots:update": "cd playgrounds && pnpm run snapshots:update"
},
"dependencies": {
"@vitest/snapshot": "^5.0.2",
"expect": "^30.5.2",
"jest-matcher-utils": "^30.5.2"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.5",
"@jest/globals": "^30.5.2",
"@release-it/conventional-changelog": "^12.0.2",
"@stylistic/eslint-plugin": "^5.10.0",
"@types/debug": "^4.1.13",
"@types/jasmine": "^6.0.0",
"@types/jest": "^30.0.0",
"@types/mocha": "^10.0.10",
"@types/node": "^24.19.0",
"@vitest/coverage-v8": "^5.0.2",
"@wdio/cli": "^10.2.0",
"@wdio/globals": "^10.2.0",
"@wdio/jasmine-framework": "^10.2.0",
"@wdio/protocols": "^10.2.0",
"@wdio/runner": "^10.2.0",
"@wdio/types": "^10.2.0",
"husky": "^9.1.7",
"jasmine-core": "^6.3.0",
"npm-run-all2": "^9.0.3",
"oxlint": "^1.85.0",
"release-it": "^21.1.0",
"rimraf": "^6.1.3",
"strip-ansi": "^7.2.0",
"typescript": "^7.0.2",
"vitest": "^5.0.2",
"webdriver": "^10.2.0",
"webdriverio": "^10.2.0"
},
"peerDependencies": {
"@wdio/types": "^10.0.0",
"webdriverio": "^10.0.0"
},
"peerDependenciesMeta": {
"webdriverio": {
"optional": false
}
}
}