UNPKG

@cucumber/cucumber

Version:

The official JavaScript implementation of Cucumber.

358 lines (357 loc) 14.1 kB
{ "name": "@cucumber/cucumber", "description": "The official JavaScript implementation of Cucumber.", "keywords": [ "testing", "bdd", "cucumber", "gherkin", "tests" ], "version": "12.5.0", "funding": "https://opencollective.com/cucumber", "homepage": "https://github.com/cucumber/cucumber-js", "author": "Julien Biezemans <jb@jbpros.com>", "contributors": [ "Aaron Garvey", "abelalmeida <abelalmeida@u.boisestate.edu>", "Adam Ark <Adam-ARK@users.noreply.github.com>", "Ádám Gólya <adam.golya@lab.coop>", "Ahmed Ashour (https://github.com/asashour)", "ahulab <alexbaluha@gmail.com>", "Alexandru Gologan (https://github.com/agologan)", "Artem Bronitsky <quex@yandex.ru>", "Artem Repko <roby-boby@ukr.net>", "Artur Kania <kaniartur@gmail.com>", "Artur Neumann <artur@jankaritech.com>", "Artur Pomadowski <artur.pomadowski@gmail.com>", "Aslak Hellesøy <aslak.hellesoy@gmail.com>", "Auke van Leeuwen (https://github.com/aukevanleeuwen)", "Aurélien Reeves <aurelien.reeves@smartbear.com>", "basemmerink <bas.emmerink@gmail.com>", "Ben Van Treese <vantreeseba@gmail.com>", "Benjamín Eidelman <beneidel+gh@gmail.com>", "Brian Clozel <brian.clozel@gmail.com>", "Bruce Lindsay <skynet1024@gmail.com>", "Charles Rudolph <charles.rudolph@originate.com>", "Chris Young <chris@chrisyoung.org>", "chrismilleruk <chrismilleruk@gmail.com>", "Cody Ray Hoeft <crhoeft@gmail.com>", "Craig Morris <craig.michael.morris@gmail.com>", "Dale Gardner <dalegardner@live.com>", "Darrin Holst <darrinholst@gmail.com>", "David Godfrey <reactiveraven@reactiveraven.co.uk>", "David Goss <david@davidgoss.co>", "David H. Gutteridge <dhgutteridge@users.noreply.github.com>", "Dawn Minion <35529725+dawn-minion@users.noreply.github.com>", "dbillingham <dbillinghamuk@yahoo.co.uk>", "DevSide <thomas.triau@gmail.com>", "Diego Di Mauro <hurrikam@users.noreply.github.com>", "Dmitry Shirokov <deadrunk@gmail.com>", "Dmytro Shpakovskyi <Marketionist@users.noreply.github.com>", "Douglas Eggleton (https://github.com/douglaseggleton)", "Eddie Loeffen <eddieloeffen@gmail.com>", "efokschaner <eddyaod@gmail.com>", "Elwyn <elwyn@L1.co.nz>", "Fedotov Daniil <hairyhum@gmail.com>", "Fernando Acorreia <fernandoacorreia@gmail.com>", "Florian Ribon <florian.ribon@gmail.com>", "Gabe Hayes <gabriel.hayes@gmail.com>", "Gary Taylor <gary.taylor@hismessages.com>", "gforceg <greghedin@gmail.com>", "Giuseppe DiBella <gd46@njit.edu>", "Greg Knaddison <greg.knaddison@gmail.com>", "Honza Javorek <mail@honzajavorek.cz>", "Hugues Malphettes <hmalphettes@gmail.com>", "Ilya Kozhevnikov <github@kozhevnikov.com>", "Israel Halle <isra017@gmail.com>", "Izhaki <roey@gefri.org>", "Jan Molak <jan.molak@smartcodeltd.co.uk>", "Jan-Eric Duden <jeduden@gmail.com>", "Jaryk (https://github.com/Ugzuzg)", "Jayson Smith <github@nes.33mail.com>", "Jeff Tian (https://github.com/Jeff-Tian)", "Jesse Harlin <harlinjesse@gmail.com>", "João Guilherme Farias Duda <jgfd@cin.ufpe.br>", "Joaquín Sorianello <joac@users.noreply.github.com>", "Joey Jan <OverFlow636@users.noreply.github.com>", "John Krull <astrom.flux@gmail.com>", "John McLaughlin <john.mjhm@gmail.com>", "John Wright <johngeorge.wright@gmail.com>", "Johny Jose <johny@playlyfe.com>", "Jonathan Gomez <jonathanbgomez@gmail.com>", "Jonathan Kim <jkimbo@gmail.com>", "Josh Chisholm <joshuachisholm@gmail.com>", "Josh Goldberg <joshuakgoldberg@outlook.com>", "Josua Schmid <jschmid@fastmail.net>", "jshifflet <jason.shifflet@gmail.com>", "Julian <JuloWaks@users.noreply.github.com>", "Julian <microweb10@gmail.com>", "Julien Biezemans <jb@jbpros.com>", "Julien Gonzalez (https://github.com/customcommander)", "Karine Pires <karine.pires@alterway.fr>", "Kārlis Amoliņš <karlis.amolins.5@gmail.com>", "Karthik Viswanath <karthik.viswanath-contractor@adp.com>", "Kevin Goslar <kevin.goslar@gmail.com>", "Kevin Kirsche <Kev.Kirsche+GitHub@gmail.com>", "Kim, Jang-hwan <janghwan@gmail.com>", "Konstantin Epishev <konstantin@epishev.me>", "kostya.misura <kostya.misura@gmail.com>", "Krispin Schulz <krispin.schulz@blackbridge.com>", "Kushal Pisavadia", "Kyle Moore <kyledmoore@gmail.com>", "lackita (https://github.com/lackita)", "Leonardo <mondloslp@gmail.com>", "Long Nguyen (https://github.com/zcmgyu)", "lopesc <lopesc@users.noreply.github.com>", "Lucas Cimon <lucas.cimon@gmail.com>", "Ludek", "Lukas Degener <l.degener@tarent.de>", "Łukasz Gandecki <lgandecki@css.edu>", "M.P. Korstanje <mpkorstanje@users.noreply.github.com>", "mannyluvstacos <mannyis@typingona.computer>", "Manny Pamintuan <mannyis+still@typingona.computer>", "Marat Dyatko <vectart@gmail.com>", "Marc Burton <marc.burton@first-utility.com>", "Marcel Hoyer <mhoyer@pixelplastic.de>", "Marco Muller <marco@remotemetering.net>", "Mark Amery <markamery@btinternet.com>", "Mark Stein (https://github.com/markstein)", "Martin Delille <martin@phonations.com>", "Máté Karácsony <k_mate@inf.elte.hu>", "Mateusz Derks <mateusz.derks@schibsted.pl>", "Matt Travi (https://github.com/travi)", "Matteo Collina <matteo.collina@gmail.com>", "Maxim Koretskiy <mr.green.tv@gmail.com>", "mgonnet <gonnet.matias@gmail.com>", "Michael Lloyd Morris (https://github.com/michael-lloyd-morris)", "Michael Zedeler <michael@zedeler.dk>", "Miika Hänninen <miika.hanninen@gmail.com>", "Mona Ghassemi (https://github.com/BlueMona)", "Namchee (https://github.com/Namchee)", "nebehr <thorgeir@tut.by>", "Nico Jansen <jansennico@gmail.com>", "Niklas Närhinen <niklas@narhinen.net>", "Niyaz Akhmetov <axmet180@gmail.com>", "Noah Davis <noahd1@yahoo.com>", "notaphplover (https://github.com/notaphplover)", "Oliver Odo (https://github.com/olivierodo)", "Oliver Rogers <oli.rogers@gmail.com>", "Olivier Melcher <olivier.melcher@gmail.com>", "Olle Jonsson <olle.jonsson@gmail.com>", "Omar Gonzalez <omar@almerblank.com>", "Paul Jensen <paulbjensen@gmail.com>", "Paul Shannon (https://devpaul.com)", "please-rewrite <please-rewrite@users.noreply.github.com>", "plocket <plocket@users.noreply.github.com>", "Renier Morales <renier@morales-rodriguez.net>", "Ricardo Albuquerque (https://github.com/ricalbuquerque)", "Rick Lee-Morlang <rick@lee-morlang.com>", "RolandArgos <roland.ormrod@argos.co.uk>", "Ronald Chen (https://github.com/Pyrolistical)", "Sam Saccone <sam@samx.it>", "Scott Deakin (https://github.com/GeekyDeaks)", "seantdg <sm.davis@gmx.com>", "Seb Rose <seb@claysnow.co.uk>", "Sérgio Junior <sergioamjr91@gmail.com>", "Simon Dean <simon@simondean.org>", "Simon Lampen <simonlampen@vinsight.net>", "Sonny Piers <sonny@fastmail.net>", "Stanley Shyiko <stanley.shyiko@gmail.com>", "Steve Hynding (https://github.com/hynding)", "Steve Tooke <tooky@cucumber.io>", "szymonprz <szymonprz@gmail.com>", "Ted de Koning", "temyers <temyers@users.noreply.github.com>", "Tim Perry <tim.perry@softwire.com>", "Toluwap (https://github.com/harcop)", "Tom V <tom@toc.com>", "Tomer Ben-Rachel <tomerpacific@gmail.com>", "Tristan Dunn <tristanzdunn@gmail.com>", "Tristan Zander <tristan.zander@ncino.com>", "unknown <jharlin@NormanDev2.telogical.com>", "Valerio Innocenti Sedili <valerio.innocenti.ext@yoox.com>", "Vasily Shelkov <vasilydshelkov@gmail.com>", "vincent.capicotto <vincent.capicotto@hiptest.net>", "vincent-psarga <vincent.pretre@smartbear.com>", "Warren <w.green@hotmail.com>", "Will Farrell <will@mojotech.com>", "yaronassa <yaronassa@users.noreply.github.com>", "Yohan Siguret <yohan.siguret@gmail.com>", "Zearin <Zearin@users.noreply.github.com>", "zs-zs <zsolt.zsigmondi@hotmail.com>" ], "repository": { "type": "git", "url": "git://github.com/cucumber/cucumber-js.git" }, "bugs": { "email": "cukes@googlegroups.com", "url": "https://github.com/cucumber/cucumber-js/issues" }, "directories": { "lib": "./lib" }, "main": "./lib/index.js", "exports": { ".": { "import": "./lib/wrapper.mjs", "require": "./lib/index.js", "types": "./lib/index.d.ts" }, "./api": { "import": "./lib/api/wrapper.mjs", "require": "./lib/api/index.js", "types": "./lib/api/index.d.ts" }, "./lib/*": { "require": "./lib/*.js" }, "./package.json": "./package.json" }, "types": "./lib/index.d.ts", "engines": { "node": "20 || 22 || >=24" }, "enginesTested": { "node": "20 || 22 || 24 || 25" }, "dependencies": { "@cucumber/ci-environment": "12.0.0", "@cucumber/cucumber-expressions": "18.0.1", "@cucumber/gherkin": "37.0.1", "@cucumber/gherkin-streams": "6.0.0", "@cucumber/gherkin-utils": "10.0.0", "@cucumber/html-formatter": "22.3.0", "@cucumber/junit-xml-formatter": "0.9.0", "@cucumber/message-streams": "4.0.1", "@cucumber/messages": "31.1.0", "@cucumber/pretty-formatter": "1.0.1", "@cucumber/tag-expressions": "8.1.0", "assertion-error-formatter": "^3.0.0", "capital-case": "^1.0.4", "chalk": "^4.1.2", "cli-table3": "0.6.5", "commander": "^14.0.0", "debug": "^4.3.4", "error-stack-parser": "^2.1.4", "figures": "^3.2.0", "glob": "^13.0.0", "has-ansi": "^4.0.1", "indent-string": "^4.0.0", "is-installed-globally": "^0.4.0", "is-stream": "^2.0.0", "knuth-shuffle-seeded": "^1.0.6", "lodash.merge": "^4.6.2", "lodash.mergewith": "^4.6.2", "luxon": "3.7.2", "mime": "^3.0.0", "mkdirp": "^3.0.0", "mz": "^2.7.0", "progress": "^2.0.3", "read-package-up": "^12.0.0", "semver": "7.7.3", "string-argv": "0.3.1", "supports-color": "^8.1.1", "type-fest": "^4.41.0", "util-arity": "^1.1.0", "yaml": "^2.2.2", "yup": "1.7.1" }, "devDependencies": { "@cucumber/compatibility-kit": "^26.0.0", "@cucumber/query": "14.7.0", "@eslint/compat": "^2.0.0", "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.29.0", "@microsoft/api-extractor": "7.55.2", "@sinonjs/fake-timers": "15.1.0", "@types/chai": "4.3.20", "@types/debug": "4.1.12", "@types/dirty-chai": "2.0.5", "@types/express": "5.0.5", "@types/fs-extra": "9.0.13", "@types/has-ansi": "5.0.2", "@types/lodash.merge": "4.6.9", "@types/lodash.mergewith": "4.6.9", "@types/luxon": "3.7.1", "@types/mocha": "10.0.10", "@types/mustache": "4.2.6", "@types/mz": "2.7.9", "@types/node": "^20.11.25", "@types/progress": "2.0.7", "@types/semver": "7.7.1", "@types/sinon-chai": "3.2.12", "@types/sinonjs__fake-timers": "15.0.1", "@types/stream-buffers": "3.0.8", "@types/tmp": "0.2.6", "@typescript-eslint/eslint-plugin": "^8.34.0", "@typescript-eslint/parser": "^8.34.0", "chai": "4.5.0", "chai-exclude": "2.1.1", "coffeescript": "2.7.0", "dependency-lint": "7.1.0", "dirty-chai": "2.0.1", "eslint": "^9.29.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-n": "^17.20.0", "eslint-plugin-unicorn": "^62.0.0", "express": "^5.0.0", "fs-extra": "10.1.0", "genversion": "3.2.0", "mocha": "^11.0.1", "mustache": "4.2.0", "nyc": "17.1.0", "prettier": "^3.5.3", "reindent-template-literals": "1.1.0", "shx": "0.4.0", "sinon": "21.0.1", "sinon-chai": "3.7.0", "stream-to-string": "1.2.1", "tmp": "0.2.5", "ts-node": "10.9.2", "tsd": "0.33.0", "typedoc": "^0.28.0", "typescript": "^5.8.3" }, "overrides": { "ansi-regex": "^5.0.1" }, "scripts": { "build-local": "genversion --es6 src/version.ts && tsc --build tsconfig.node.json && shx cp src/wrapper.mjs lib/ && shx cp src/api/wrapper.mjs lib/api/", "cck-test": "mocha 'compatibility/**/*_spec.ts'", "exports-generate-docs": "typedoc", "exports-test": "api-extractor run --config exports/api/api-extractor.json --verbose && api-extractor run --config exports/root/api-extractor.json --verbose", "exports-update": "api-extractor run --config exports/api/api-extractor.json --verbose --local && api-extractor run --config exports/root/api-extractor.json --verbose --local", "feature-test": "node bin/cucumber.js", "lint-code-autofix": "eslint --fix \"{compatibility,example,features,scripts,src,test}/**/*.ts\"", "lint-code": "eslint \"{compatibility,example,features,scripts,src,test}/**/*.ts\"", "lint-dependencies": "dependency-lint", "lint-format-autofix": "prettier --write .", "lint-format": "prettier --check .", "lint": "npm run lint-code && npm run lint-format && npm run lint-dependencies", "preexports-generate-docs": "npm run build-local", "preexports-test": "npm run build-local", "preexports-update": "npm run build-local", "prelint-autofix": "npm run build-local", "prelint-code": "npm run build-local", "precck-test": "npm run build-local", "prefeature-test": "npm run build-local", "prepublishOnly": "rm -rf lib && npm run build-local", "pretest-coverage": "npm run build-local", "pretypes-test": "npm run build-local", "test-coverage": "nyc --silent mocha 'src/**/*_spec.ts' 'compatibility/**/*_spec.ts' && nyc --silent --no-clean node bin/cucumber.js --tags \"not @source-mapping\" && nyc report --reporter=lcov", "test": "npm run lint && npm run exports-test && npm run types-test && npm run unit-test && npm run cck-test && npm run feature-test", "types-test": "tsd", "unit-test": "mocha 'src/**/*_spec.ts'" }, "bin": { "cucumber-js": "bin/cucumber.js" }, "license": "MIT", "files": [ "api/", "bin/", "lib/" ] }