UNPKG

codeceptjs

Version:

Supercharged End 2 End Testing Framework for NodeJS

205 lines (204 loc) 6.5 kB
{ "name": "codeceptjs", "version": "3.7.6", "description": "Supercharged End 2 End Testing Framework for NodeJS", "keywords": [ "acceptance", "end2end", "end 2 end", "puppeteer", "webdriver", "testcafe", "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/webapi/**" ], "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" }, "bin": { "codeceptjs": "./bin/codecept.js" }, "repository": "Codeception/codeceptjs", "scripts": { "test-server": "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.js", "lint-fix": "eslint bin/ examples/ lib/ test/ translations/ runok.js --fix", "prettier": "prettier --config prettier.config.js --write bin/**/*.js lib/**/*.js test/**/*.js translations/**/*.js runok.js", "docs": "./runok.js docs", "test:unit": "mocha test/unit --recursive --timeout 10000", "test:runner": "mocha test/runner --recursive --timeout 10000", "test": "npm run test:unit && npm run test:runner", "test:appium-quick": "mocha test/helper/Appium_test.js --grep 'quick'", "test:appium-other": "mocha test/helper/Appium_test.js --grep 'second'", "test:ios:appium-quick": "mocha test/helper/Appium_ios_test.js --grep 'quick'", "test:ios:appium-other": "mocha test/helper/Appium_ios_test.js --grep 'second'", "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", "test:unit:webbapi:puppeteer": "mocha test/helper/Puppeteer_test.js", "test:unit:webbapi:webDriver": "mocha test/helper/WebDriver_test.js --timeout 10000", "test:unit:webbapi:webDriver:noSeleniumServer": "mocha test/helper/WebDriver.noSeleniumServer_test.js --timeout 10000", "test:unit:webbapi:testCafe": "mocha test/helper/TestCafe_test.js", "test:unit:expect": "mocha test/helper/Expect_test.js", "test:plugin": "mocha test/plugin/plugin_test.js", "def": "./runok.js def", "dev:graphql": "node test/data/graphql/index.js", "publish:site": "./runok.js publish:site", "update-contributor-faces": "./runok.js contributor:faces", "types-fix": "node typings/fixDefFiles.js", "dtslint": "npm run types-fix && tsd", "prepare": "husky install", "prepare-release": "./runok.js versioning && ./runok.js get:commit-log", "publish-beta": "./runok.js publish:next-beta-version" }, "dependencies": { "@codeceptjs/configure": "1.0.6", "@codeceptjs/helper": "2.0.4", "@cucumber/cucumber-expressions": "18", "@cucumber/gherkin": "35.1.0", "@cucumber/messages": "29.0.1", "@xmldom/xmldom": "0.9.8", "acorn": "8.15.0", "arrify": "3.0.0", "axios": "1.13.2", "chalk": "4.1.2", "cheerio": "^1.0.0", "chokidar": "^4.0.3", "commander": "11.1.0", "cross-spawn": "7.0.6", "css-to-xpath": "0.1.0", "csstoxpath": "1.6.0", "envinfo": "7.15.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 <12", "html-minifier-terser": "7.2.0", "inquirer": "^8.2.7", "invisi-data": "^1.0.0", "joi": "18.0.2", "js-beautify": "1.15.4", "lodash.clonedeep": "4.5.0", "lodash.merge": "4.6.2", "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", "resq": "1.11.0", "sprintf-js": "1.1.3", "uuid": "11.1.0" }, "optionalDependencies": { "@codeceptjs/detox-helper": "1.1.14" }, "devDependencies": { "@apollo/server": "^5", "@codeceptjs/expect-helper": "^1.0.2", "@codeceptjs/mock-request": "0.3.1", "@eslint/eslintrc": "3.3.3", "@eslint/js": "9.39.2", "@faker-js/faker": "9.8.0", "@pollyjs/adapter-puppeteer": "6.0.6", "@pollyjs/core": "6.0.6", "@types/chai": "5.2.3", "@types/inquirer": "9.0.9", "@types/node": "^24.6.2", "@wdio/sauce-service": "9.12.5", "@wdio/selenium-standalone-service": "8.15.0", "@wdio/utils": "9.19.2", "@xmldom/xmldom": "0.9.8", "chai": "^4.0.0", "chai-as-promised": "7.1.2", "chai-subset": "1.6.0", "documentation": "14.0.3", "electron": "38.2.0", "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": "16.4.0", "graphql": "16.12.0", "graphql-tag": "^2.12.6", "husky": "9.1.7", "inquirer-test": "2.0.1", "jsdoc": "^3.6.11", "jsdoc-typeof-plugin": "1.0.0", "json-server": "0.17.4", "mochawesome": "^7.1.3", "playwright": "1.55.1", "prettier": "^3.3.2", "puppeteer": "24.15.0", "qrcode-terminal": "0.12.0", "rosie": "2.1.1", "runok": "0.9.3", "semver": "7.7.3", "sinon": "21.0.1", "sinon-chai": "3.7.0", "testcafe": "3.7.3", "ts-morph": "26.0.0", "ts-node": "10.9.2", "tsd": "^0.33.0", "tsd-jsdoc": "2.5.0", "typedoc": "0.28.16", "typedoc-plugin-markdown": "4.9.0", "typescript": "5.8.3", "wdio-docker-service": "3.2.1", "webdriverio": "9.12.5", "xml2js": "0.6.2", "xpath": "0.0.34" }, "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" } }