UNPKG

@applitools/eyes-nightwatch

Version:

Applitools Eyes SDK for Nightwatch.js

71 lines 2.62 kB
{ "name": "@applitools/eyes-nightwatch", "version": "1.25.24", "description": "Applitools Eyes SDK for Nightwatch.js", "keywords": [ "eyes-nightwatch", "eyes-rendering", "eyes-visual-grid", "applitools", "eyes", "test automation", "visual regression", "automation", "testing", "tests", "nightwatch", "nightwatchjs" ], "homepage": "https://applitools.com", "license": "SEE LICENSE IN LICENSE", "author": { "name": "Applitools Team", "email": "team@applitools.com" }, "main": "./dist/index.js", "types": "./types/index.d.ts", "files": [ "dist", "commands", "types" ], "scripts": { "lint": "run --top-level eslint '**/*.ts' '**/*.js'", "build": "run --top-level tspc --project ./tsconfig.build.json", "generate:tests": "NODE_OPTIONS='--experimental-import-meta-resolve --experimental-loader=@applitools/generic/dist/code-loader.js' generic ./test/generic/config.mjs", "test": "run test:it && run test:e2e && run test:coverage", "test:local": "run test:it && run test:e2e && MOCHA_OMIT_TAGS=sauce run test:coverage", "test:sauce": "MOCHA_ONLY_TAGS=sauce run test:coverage", "test:it": "MOCHA_GROUP=it run --top-level mocha './test/it/*.spec.ts'", "test:e2e": "nightwatch --config test/e2e/nightwatch.conf.js --eyes-config applitools.config.js test/e2e/*.spec.js", "test:coverage": "APPLITOOLS_SHOW_LOGS=true APPLITOOLS_LOG_FILE=\"./logs/$(uuidgen).log\" APPLITOOLS_SHOW_LOGS=true APPLITOOLS_LOG_FILE=\"./logs/$(uuidgen).log\" APPLITOOLS_BATCH_NAME='JS Coverage Tests: eyes-nightwatch' APPLITOOLS_BATCH_ID=$(uuidgen) MOCHA_GROUP=coverage run --top-level mocha './test/generated-coverage/*.spec.js' --parallel --jobs ${MOCHA_JOBS:-15} --exit", "setup": "run --top-level browsers:setup", "up:framework": "echo \"$(jq '.devDependencies.nightwatch = $ENV.APPLITOOLS_FRAMEWORK_VERSION' ./package.json)\" > ./package.json" }, "dependencies": { "@applitools/driver": "1.21.4", "@applitools/eyes": "1.35.1", "@applitools/spec-driver-webdriver": "1.2.6", "@applitools/utils": "1.8.2", "webdriver": "7.31.1" }, "devDependencies": { "@applitools/api-extractor": "^1.2.22", "@applitools/bongo": "^5.10.0", "@applitools/generic": "^3.9.2", "@applitools/test-utils": "^1.5.17", "@types/nightwatch": "^2.3.25", "@types/node": "^12.20.55", "cucumber": "6.0.7", "nightwatch": "^3.1.2" }, "peerDependencies": { "nightwatch": ">=2.0.0" }, "engines": { "node": ">=12.13.0" }, "publishConfig": { "access": "public" } }