UNPKG

testplane

Version:

Tests framework based on mocha and wdio

196 lines (195 loc) 7.08 kB
{ "name": "testplane", "version": "8.30.1", "description": "Tests framework based on mocha and wdio", "main": "build/src/index.js", "files": [ "build", "typings" ], "exports": { ".": { "require": "./build/src/index.js", "import": "./build/src/index.js" }, "./unstable": { "require": "./build/src/unstable.js", "import": "./build/src/unstable.js" } }, "scripts": { "build": "tsc --build && npm run build-bundles && npm run copy-static && node scripts/create-client-scripts-symlinks.js", "copy-static": "copyfiles 'src/browser/client-scripts/*' 'src/**/[!cache]*/autogenerated/**/*.json' build", "build-node-bundle": "esbuild ./src/bundle/cjs/index.ts --outdir=./build/src/bundle/cjs --bundle --format=cjs --platform=node --target=ES2021", "build-browser-bundle": "node ./src/browser/client-scripts/build.js", "build-bundles": "concurrently -c 'auto' 'npm:build-browser-bundle' 'npm:build-node-bundle --minify'", "create-client-scripts-symlinks": "node scripts/create-client-scripts-symlinks.js", "resolve-ubuntu-dependencies": "ts-node ./src/browser-installer/ubuntu-packages/collect-dependencies", "check-types": "tsc --project test/tsconfig.json", "clean": "rimraf build/ *.tsbuildinfo", "lint": "eslint --cache . && prettier --check .", "reformat": "eslint --fix . && prettier --write .", "prettier-watch": "onchange '**' --exclude-path .prettierignore -- prettier --write {{changed}}", "test-unit": "_mocha \"test/!(integration)/**/*.js\"", "test": "npm run test-unit && npm run check-types && npm run lint", "test-integration": "mocha -r ts-node/register -r test/integration/standalone/preload-browser.fixture.ts test/integration/standalone/standalone.test.ts", "toc": "doctoc docs --title '### Contents'", "precommit": "npm run lint", "prepack": "npm run clean && npm run build", "preversion": "npm run lint && npm test", "commitmsg": "commitlint -e", "release": "standard-version", "watch": "npm run copy-static && npm run build-browser-bundle && concurrently -c 'auto' 'npm:watch:src' 'npm:watch:bundle'", "watch:src": "tsc --build --watch", "watch:bundle": "npm run build-node-bundle -- --watch" }, "repository": { "type": "git", "url": "git://github.com/gemini-testing/testplane.git" }, "homepage": "https://testplane.io/", "engines": { "node": ">= 18.0.0" }, "keywords": [ "testplane", "hermione", "webdriverio", "mocha", "test" ], "bin": { "testplane": "./bin/testplane", "hermione": "./bin/hermione" }, "license": "MIT", "dependencies": { "@babel/code-frame": "7.24.2", "@gemini-testing/commander": "2.15.4", "@jspm/core": "2.0.1", "@puppeteer/browsers": "2.7.1", "@rrweb/record": "2.0.0-alpha.18", "@testplane/devtools": "8.32.3", "@testplane/wdio-protocols": "9.4.6", "@testplane/wdio-utils": "9.5.3", "@testplane/webdriverio": "9.5.21", "@vitest/spy": "2.1.4", "chalk": "2.4.2", "clear-require": "1.0.1", "cli-progress": "3.12.0", "debug": "2.6.9", "edgedriver": "5.6.1", "error-stack-parser": "2.1.4", "esbuild": "0.25.8", "expect-webdriverio": "3.6.0", "extract-zip": "2.0.1", "fastq": "1.13.0", "fs-extra": "5.0.0", "geckodriver": "4.5.0", "gemini-configparser": "1.4.1", "get-port": "5.1.1", "import-meta-resolve": "4.0.0", "load-esm": "1.0.2", "local-pkg": "0.4.3", "lodash": "4.17.21", "looks-same": "9.0.1", "micromatch": "4.0.5", "mocha": "10.2.0", "pirates": "4.0.7", "plugins-loader": "1.3.4", "png-validator": "1.1.0", "recast": "0.23.6", "resolve.exports": "2.0.2", "sharp": "0.32.6", "sizzle": "2.3.6", "socket.io": "4.7.5", "socket.io-client": "4.7.5", "source-map": "0.7.4", "strftime": "0.10.2", "strip-ansi": "6.0.1", "temp": "0.8.3", "tinyspy": "3.0.2", "urijs": "1.19.11", "url-join": "4.0.1", "vite": "5.1.6", "wait-port": "1.1.0", "worker-farm": "1.7.0", "yallist": "3.1.1" }, "devDependencies": { "@commitlint/cli": "^19.0.3", "@commitlint/config-conventional": "^19.0.3", "@cspotcode/source-map-support": "0.8.0", "@sinonjs/fake-timers": "10.3.0", "@swc/core": "1.13.3", "@testplane/wdio-types": "9.5.3", "@types/babel__code-frame": "7.0.6", "@types/browserify": "12.0.40", "@types/chai": "4.3.4", "@types/chai-as-promised": "7.1.5", "@types/cli-progress": "3.11.6", "@types/debug": "4.1.12", "@types/escape-string-regexp": "2.0.1", "@types/fs-extra": "11.0.4", "@types/js-levenshtein": "1.1.3", "@types/jsdom": "21.1.7", "@types/lodash": "4.14.191", "@types/micromatch": "4.0.9", "@types/mocha": "10.0.1", "@types/node": "18.19.3", "@types/proxyquire": "1.3.28", "@types/sharp": "0.31.1", "@types/sinon": "17.0.1", "@types/sinonjs__fake-timers": "8.1.2", "@types/strftime": "0.9.8", "@types/urijs": "1.19.25", "@types/url-join": "4.0.3", "@types/yallist": "4.0.4", "@typescript-eslint/eslint-plugin": "6.12.0", "@typescript-eslint/parser": "6.12.0", "aliasify": "1.9.0", "app-module-path": "2.2.0", "browserify": "13.3.0", "chai": "4.2.0", "chai-as-promised": "7.1.1", "concurrently": "8.2.2", "copyfiles": "2.4.1", "doctoc": "2.2.0", "eslint": "8.25.0", "eslint-config-gemini-testing": "2.8.0", "eslint-config-prettier": "8.7.0", "execa": "5.1.1", "glob-extra": "5.0.2", "husky": "0.11.4", "js-levenshtein": "1.1.6", "jsdom": "^24.0.0", "jsdom-global": "3.0.2", "onchange": "7.1.0", "prettier": "2.8.4", "proxyquire": "1.8.0", "rimraf": "4.1.2", "sinon": "17.0.1", "sinon-chai": "3.7.0", "standard-version": "9.5.0", "ts-node": "10.9.1", "type-fest": "3.11.1", "typescript": "5.3.2", "uglifyify": "3.0.4" }, "peerDependencies": { "@cspotcode/source-map-support": ">=0.7.0", "@swc/core": ">=1.3.96", "ts-node": ">=10.5.0" }, "peerDependenciesMeta": { "ts-node": { "optional": true }, "@cspotcode/source-map-support": { "optional": true }, "@swc/core": { "optional": true } } }