UNPKG

@mochify/driver-webdriver

Version:

WebDriver driver for Mochify

71 lines (70 loc) 2.05 kB
{ "name": "@mochify/driver-webdriver", "version": "1.0.0", "description": "WebDriver driver for Mochify", "homepage": "https://github.com/mochify-js/driver-webdriver", "main": "index.js", "scripts": { "lint": "eslint .", "test": "echo \"No unit tests yet\"", "test:all": "npm run test && npm run test:integration", "test:integration": "mocha --timeout 10000 -R spec '**/*.integration.js'", "build": "tsc --project tsconfig.pack.json", "coverage": "c8 --reporter=text --reporter=lcov npm run test:all", "clean": "rimraf --glob '!(node_modules)/**/*.d.ts' '*.d.ts' coverage", "prepack": "npm run clean && npm run build", "postpack": "npm run clean", "preversion": "npm run lint && npm run prettier:check && tsc && npm test && npm run test:integration", "version": "changes --commits --footer", "postversion": "git push --follow-tags && npm publish", "prettier:check": "prettier --check '**/*.{js,json,md}'", "prettier:write": "prettier --write '**/*.{js,json,md}'", "prepare": "husky" }, "keywords": [ "mocha", "webdriver", "headless", "testing" ], "author": "Maximilian Antoni <mail@maxantoni.de> (http://maxantoni.de)", "license": "MIT", "engines": { "node": ">=20" }, "mocha": { "reporter": "dot", "require": "test/hooks.js", "ignore": "node_modules/**" }, "dependencies": { "webdriver": "^9.19.1" }, "peerDependencies": { "@mochify/mochify": "^1.0.1" }, "devDependencies": { "@sinonjs/referee-sinon": "^12.0.0", "@studio/changes": "^3.0.0", "@studio/eslint-config": "^8.0.1", "@studio/related-tests": "^0.2.0", "@studio/tsconfig": "^1.3.0", "@types/node": "^24.3.0", "c8": "^10.1.3", "eslint": "^9.33.0", "husky": "^9.1.7", "lint-staged": "^16.1.5", "mocha": "^11.7.1", "prettier": "^3.6.2", "rimraf": "^6.0.1", "typescript": "^5.9.2" }, "files": [ "index.html", "**/*.js", "**/*.d.ts", "!**/*.test.js", "!test/**", "!.*" ] }