expect-webdriverio
Version:
WebdriverIO Assertion Library
122 lines (121 loc) • 3.76 kB
JSON
{
"name": "expect-webdriverio",
"version": "5.7.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",
"module": "./lib/index.js",
"exports": {
".": [
{
"types": "./types/expect-webdriverio.d.ts",
"import": "./lib/index.js"
},
"./lib/index.js"
],
"./jest": [
{
"types": "./jest.d.ts"
}
],
"./jasmine": [
{
"types": "./jasmine.d.ts"
}
],
"./jasmine-wdio-expect-async": [
{
"types": "./jasmine-wdio-expect-async.d.ts"
}
],
"./types": "./types/expect-global.d.ts",
"./expect-global": "./types/expect-global.d.ts"
},
"types": "./types/expect-webdriverio.d.ts",
"typeScriptVersion": "3.8.3",
"engines": {
"node": ">=20"
},
"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",
"tsc:root-types": "node types-checks-filter-out-node_modules.js",
"test": "run-s test:*",
"test:tsc": "tsc --project tsconfig.json --noEmit --rootDir .",
"test:lint": "eslint .",
"test:unit": "vitest --run",
"test:types": "npm run ts && npm run tsc:root-types",
"ts": "run-s ts:* ts:*:*",
"ts:jasmine": "cd test-types/jasmine && vitest --typecheck --typecheck.tsconfig ./tsconfig.json --run",
"ts:jasmine-global-expect-async": "cd test-types/jasmine-global-expect-async && vitest --typecheck --typecheck.tsconfig ./tsconfig.json --run",
"ts:jest:@types-jest": "cd test-types/jest-@types_jest && vitest --typecheck --typecheck.tsconfig ./tsconfig.json --run",
"ts:mocha": "cd test-types/mocha && vitest --typecheck --typecheck.tsconfig ./tsconfig.json --run",
"checks:all": "npm run build && npm run compile && npm run tsc:root-types && npm run test && npm run ts",
"watch": "npm run compile -- --watch",
"prepare": "husky",
"playgrounds:setup": "cd playgrounds && npm run setup",
"playgrounds:checks:all": "cd playgrounds && npm run checks:all",
"playgrounds:snapshots:update": "cd playgrounds && npm run snapshots:update"
},
"dependencies": {
"@vitest/snapshot": "^4.1.7",
"deep-eql": "^5.0.2",
"expect": "^30.4.1",
"jest-matcher-utils": "^30.4.1"
},
"devDependencies": {
"@jest/globals": "^30.4.1",
"@types/debug": "^4.1.13",
"@types/jasmine": "^5.1.15",
"@types/jest": "^30.0.0",
"@types/mocha": "^10.0.10",
"@types/node": "^24.12.4",
"@vitest/coverage-v8": "^4.1.7",
"@wdio/eslint": "^0.1.3",
"@wdio/types": "^9.27.2",
"eslint": "^9.39.4",
"husky": "^9.1.7",
"npm-run-all2": "^9.0.1",
"release-it": "^20.2.0",
"rimraf": "^6.1.3",
"strip-ansi": "^7.2.0",
"typescript": "^5.9.3",
"vitest": "^4.1.7",
"webdriverio": "^9.27.2"
},
"peerDependencies": {
"@wdio/globals": "^9.0.0",
"@wdio/logger": "^9.0.0",
"webdriverio": "^9.0.0"
},
"peerDependenciesMeta": {
"@wdio/globals": {
"optional": false
},
"@wdio/logger": {
"optional": false
},
"webdriverio": {
"optional": false
}
}
}