UNPKG

codeceptjs

Version:

Supercharged End 2 End Testing Framework for NodeJS

222 lines (221 loc) 7.69 kB
{ "name": "codeceptjs", "version": "4.0.8", "type": "module", "description": "Supercharged End 2 End Testing Framework for NodeJS", "keywords": [ "acceptance", "end2end", "end 2 end", "puppeteer", "webdriver", "playwright", "bdd", "tdd", "testing" ], "homepage": "https://codecept.io", "license": "MIT", "author": { "name": "DavertMik", "email": "davert@codegyre.com", "url": "http://codegyre.com" }, "files": [ "bin", "lib", "translations", "typings/**/*.d.ts", "docs/*.md", "docs/helpers/**", "docs/plugins/**" ], "main": "lib/index.js", "module": "lib/index.js", "types": "typings/index.d.ts", "exports": { ".": { "import": "./lib/index.js", "require": "./lib/index.js", "types": "./typings/index.d.ts" }, "./lib/*": "./lib/*.js", "./els": "./lib/els.js", "./effects": "./lib/effects.js", "./steps": "./lib/steps.js", "./store": "./lib/store.js", "./assertions": "./lib/assertions.js" }, "bin": { "codeceptjs": "./bin/codecept.js", "codeceptjs-mcp": "./bin/mcp-server.js", "codeceptq": "./bin/codeceptq.js" }, "repository": "codeceptjs/CodeceptJS", "scripts": { "test-server": "node bin/test-server.js test/data/rest/db.json --host 0.0.0.0 -p 8010 --read-only", "test-server:writable": "node bin/test-server.js test/data/rest/db.json --host 0.0.0.0 -p 8010", "mock-server:start": "node test/mock-server/start-mock-server.js", "mock-server:stop": "kill -9 $(lsof -t -i:3001)", "test:with-mock-server": "npm run mock-server:start && npm test", "json-server:graphql": "node test/data/graphql/index.js", "lint": "eslint bin/ examples/ lib/ test/ translations/ runok.cjs", "lint-fix": "eslint bin/ examples/ lib/ test/ translations/ runok.cjs --fix", "prettier": "prettier --config prettier.config.js --write bin/**/*.js lib/**/*.js test/**/*.js translations/**/*.js runok.cjs", "docs": "./runok.cjs docs", "test:unit": "mocha test/unit --recursive --timeout 10000 --reporter @testomatio/reporter/mocha", "test:unit:windows": "mocha test/unit/container_test.js --recursive --timeout 10000 --reporter @testomatio/reporter/mocha", "test:rest": "mocha test/rest --recursive --timeout 20000 --reporter @testomatio/reporter/mocha", "test:runner": "mocha test/runner --recursive --timeout 10000 --reporter @testomatio/reporter/mocha", "test": "npm run test:unit && npm run test:rest && npm run test:runner", "test:appium-quick": "mocha test/helper/Appium_test.js --grep 'quick' --reporter @testomatio/reporter/mocha", "test:appium-other": "mocha test/helper/Appium_test.js --grep 'second' --reporter @testomatio/reporter/mocha", "test:ios:appium-quick": "mocha test/helper/Appium_ios_test.js --grep 'quick' --reporter @testomatio/reporter/mocha", "test:ios:appium-other": "mocha test/helper/Appium_ios_test.js --grep 'second' --reporter @testomatio/reporter/mocha", "test-app:start": "php -S 127.0.0.1:8000 -t test/data/app", "test-app:stop": "kill -9 $(lsof -t -i:8000)", "test:unit:webbapi:playwright": "mocha test/helper/Playwright_test.js --reporter @testomatio/reporter/mocha", "test:unit:webbapi:puppeteer": "mocha test/helper/Puppeteer_test.js --reporter @testomatio/reporter/mocha", "test:unit:webbapi:webDriver": "mocha test/helper/WebDriver_test.js --timeout 10000 --reporter @testomatio/reporter/mocha", "test:unit:webbapi:webDriver:noSeleniumServer": "mocha test/helper/WebDriver.noSeleniumServer_test.js --timeout 10000 --reporter @testomatio/reporter/mocha", "test:unit:expect": "mocha test/helper/Expect_test.js --reporter @testomatio/reporter/mocha", "test:plugin": "mocha test/plugin/plugin_test.js --reporter @testomatio/reporter/mocha", "def": "./runok.cjs def", "dev:graphql": "node test/data/graphql/index.js", "publish:site": "./runok.cjs publish:site", "update-contributor-faces": "./runok.cjs contributor:faces", "types-fix": "node typings/fixDefFiles.js", "dtslint": "npm run types-fix && tsd", "prepare": "husky install", "prepare-release": "./runok.cjs versioning && ./runok.cjs get:commit-log", "publish-beta": "./runok.cjs publish:next-beta-version" }, "dependencies": { "@codeceptjs/configure": "^4.0.0-beta.4", "@codeceptjs/helper": "2.0.4", "@cucumber/cucumber-expressions": "18", "@cucumber/gherkin": "38.0.0", "@cucumber/messages": "32.3.1", "@modelcontextprotocol/sdk": "^1.26.0", "@xmldom/xmldom": "0.9.8", "acorn": "8.15.0", "ai": "^6.0.43", "arrify": "3.0.0", "axios": "1.16.1", "chalk": "4.1.2", "cheerio": "^1.0.0", "chokidar": "^5.0.0", "commander": "15.0.0", "cross-spawn": "7.0.6", "css-to-xpath": "0.1.0", "csstoxpath": "1.6.0", "envinfo": "7.21.0", "escape-string-regexp": "4.0.0", "figures": "3.2.0", "fn-args": "4.0.0", "fs-extra": "11.3.3", "fuse.js": "^7.0.0", "glob": ">=9.0.0 <14", "html-minifier-terser": "7.2.0", "inquirer": "^8.2.7", "invisi-data": "^1.0.0", "js-beautify": "1.15.4", "lodash.clonedeep": "4.5.0", "lodash.merge": "4.6.2", "lodash.shuffle": "4.2.0", "mkdirp": "3.0.1", "mocha": "11.7.5", "monocart-coverage-reports": "2.12.9", "ms": "2.1.3", "multer": "^2.0.2", "ora-classic": "5.4.2", "parse-function": "5.6.10", "parse5": "7.3.0", "promise-retry": "1.1.1", "sprintf-js": "1.1.3", "uuid": "11.1.0", "xpath": "0.0.34", "zod": "^4.1.11" }, "devDependencies": { "@apollo/server": "^5", "@codeceptjs/detox-helper": "1.1.14", "@codeceptjs/expect-helper": "^4.0.0-beta.5", "@codeceptjs/mock-request": "0.3.1", "@eslint/eslintrc": "3.3.3", "@eslint/js": "9.39.2", "@faker-js/faker": "10.3.0", "@inquirer/testing": "^3.0.3", "@pollyjs/adapter-puppeteer": "6.0.6", "@pollyjs/core": "6.0.6", "@testomatio/reporter": "^2.3.1", "@types/chai": "5.2.3", "@types/inquirer": "9.0.9", "@types/node": "^25.0.3", "@wdio/sauce-service": "9.12.5", "@wdio/selenium-standalone-service": "8.15.0", "@wdio/utils": "9.23.3", "@xmldom/xmldom": "0.9.8", "bunosh": "latest", "chai": "^6.2.1", "chai-as-promised": "^8.0.2", "chai-subset": "1.6.0", "documentation": "14.0.3", "electron": "40.2.1", "eslint": "^9.36.0", "eslint-plugin-import": "2.32.0", "eslint-plugin-mocha": "11.2.0", "expect": "30.2.0", "express": "^5.1.0", "globals": "17.3.0", "graphql": "16.12.0", "graphql-tag": "^2.12.6", "husky": "9.1.7", "jsdoc": "^3.6.11", "jsdoc-typeof-plugin": "1.0.0", "json-server": "0.17.4", "playwright": "^1.59.0", "prettier": "^3.3.2", "puppeteer": "24.36.0", "qrcode-terminal": "0.12.0", "rosie": "2.1.1", "runok": "^0.9.3", "semver": "7.7.3", "sinon": "22.0.0", "sinon-chai": "^4.0.1", "ts-morph": "28.0.0", "ts-node": "10.9.2", "tsd": "^0.33.0", "tsd-jsdoc": "2.5.0", "tsx": "^4.19.2", "typedoc": "0.28.16", "typedoc-plugin-markdown": "4.12.0", "typescript": "5.9.3", "wdio-docker-service": "3.2.1", "webdriverio": "9.23.0", "xml2js": "0.6.2" }, "peerDependencies": { "tsx": "^4.0.0" }, "peerDependenciesMeta": { "tsx": { "optional": true } }, "engines": { "node": ">=16.0", "npm": ">=5.6.0" }, "es6": true, "tsd": { "directory": "typings", "compilerOptions": { "strict": false } }, "overrides": { "tmp": "0.2.5", "js-yaml": "^4.1.1" } }