UNPKG

playwright-bdd

Version:
137 lines (136 loc) 4.17 kB
{ "name": "playwright-bdd", "description": "BDD Testing with Playwright runner", "version": "9.2.0", "type": "commonjs", "repository": { "type": "git", "url": "git+https://github.com/vitalets/playwright-bdd.git" }, "bin": { "bddgen": "dist/cli/index.js" }, "engines": { "node": ">=20" }, "peerDependencies": { "@playwright/test": ">=1.44" }, "main": "./dist/index.js", "exports": { ".": "./dist/index.js", "./decorators": "./dist/decorators.js", "./reporter/cucumber": "./dist/reporter/cucumber/index.js", "./package.json": "./package.json" }, "typesVersions": { "*": { "decorators": [ "./dist/decorators.d.ts" ] } }, "files": [ "dist", "src", "README.md" ], "scripts": { "prepare": "git config core.hooksPath scripts/git-hooks", "lint": "eslint .", "tsc": "tsc", "tsc:test": "tsc -p test/tsconfig.json", "tsc:all": "npm run tsc && npm run tsc:test", "knip": "knip -c knip.config.mts --tsConfig tsconfig.build.json", "prettier": "prettier --check --ignore-unknown .", "prettier:w": "prettier --write --ignore-unknown .", "test": "node test/setup.mjs && node --test test/**/test.mjs", "test:smoke": "node test/setup.mjs && node --test $(node scripts/smoke-tests.mjs)", "only": "node test/setup.mjs && node --test", "only:d": "node test/setup.mjs && TEST_DEBUG=1 node --test", "build": "bash scripts/build.sh", "examples:build": "node scripts/examples/build.mjs", "examples": "npm run examples:build && node scripts/examples/run.mjs", "help": "npx tsx src/cli -h", "env": "npx tsx src/cli env", "docs": "npx docsify-cli serve ./docs", "docs:validate": "npx tsx scripts/validate-docs.mts", "deps": "npx npm-check-updates -i --format group,dep,repo --cooldown 5", "pw": "npm i --no-save --min-release-age=0 @playwright/test@$PW @playwright/experimental-ct-react@$PW", "pw:install": "npx cross-env PLAYWRIGHT_SKIP_BROWSER_GC=1 npx playwright install chromium", "pw:clear-cache": "npx playwright clear-cache" }, "dependencies": { "@cucumber/ci-environment": "^13.0.0", "@cucumber/cucumber-expressions": "19.0.0", "@cucumber/gherkin": "^39.1.0", "@cucumber/gherkin-utils": "^11.0.0", "@cucumber/html-formatter": "^23.1.0", "@cucumber/junit-xml-formatter": "^0.13.3", "@cucumber/messages": "^32.3.1", "@cucumber/query": "^15.0.1", "@cucumber/tag-expressions": "^9.1.0", "cli-table3": "0.6.5", "commander": "^13.1.0", "mime-types": "^3.0.2", "tinyglobby": "0.2.17" }, "devDependencies": { "@babel/plugin-proposal-decorators": "^7.29.7", "@cucumber/compatibility-kit": "^29.1.4", "@cucumber/cucumber": "^12.8.2", "@cucumber/pretty-formatter": "3.3.0", "@eslint/js": "^10.0.1", "@playwright/experimental-ct-react": "1.58.2", "@playwright/test": "^1.58.2", "@types/micromatch": "^4.0.10", "@types/mime-types": "^3.0.1", "@types/node": "^20.0.0", "@types/react": "^19.2.14", "@types/react-dom": "^19.2.3", "cross-env": "^10.1.0", "eslint": "^10.4.1", "eslint-plugin-playwright": "^2.10.4", "eslint-plugin-visual-complexity": "0.1.4", "expect-type": "^1.3.0", "globals": "^17.6.0", "http-server": "^14.1.1", "json-paths": "0.1.2", "knip": "^6.16.1", "lint-staged": "17.0.7", "marked": "^18.0.5", "micromatch": "4.0.8", "npm-run-all": "^4.1.5", "prettier": "^3.8.3", "prettier-plugin-gherkin": "^4.0.0", "react": "^19.2.7", "react-dom": "^19.2.7", "slugify": "1.6.9", "tsx": "4.22.4", "typescript": "6.0.3", "typescript-eslint": "^8.60.1", "xml2js": "0.6.2" }, "keywords": [ "playwright", "cucumber", "gherkin", "bdd", "testing", "e2e" ], "prettier": { "tabWidth": 2, "useTabs": false, "singleQuote": true, "printWidth": 100, "semi": true, "trailingComma": "all", "bracketSpacing": true, "plugins": [ "prettier-plugin-gherkin" ] }, "funding": "https://github.com/sponsors/vitalets", "license": "MIT" }