UNPKG

find-test-names

Version:

Given a Mocha / Cypress spec file, returns the list of suite and test names

57 lines (56 loc) 1.65 kB
{ "name": "find-test-names", "version": "1.29.18", "description": "Given a Mocha / Cypress spec file, returns the list of suite and test names", "main": "src", "files": [ "bin", "src" ], "bin": { "find-test-names": "bin/find-test-names.js", "update-test-count": "bin/update-test-count.js", "print-tests": "bin/print-tests.js" }, "scripts": { "test": "ava --config ava.config.mjs", "semantic-release": "semantic-release", "demo": "DEBUG=find-test-names node bin/find-test-names.js demo/spec.js", "demo-update-md": "DEBUG=find-test-names node bin/update-test-count.js out.md 'test-cy/**/*.js'", "demo-print": "node bin/print-tests.js 'test-cy/**/*.js'", "stop-only": "DEBUG=stop-only stop-only --folder test --exclude exclusive.js", "prepare": "husky", "deps": "npm audit --report --omit dev" }, "repository": { "type": "git", "url": "https://github.com/bahmutov/find-test-names.git" }, "keywords": [ "mocha", "cypress", "tests" ], "author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/bahmutov/find-test-names/issues" }, "homepage": "https://github.com/bahmutov/find-test-names#readme", "dependencies": { "@babel/parser": "^7.27.2", "@babel/plugin-syntax-jsx": "^7.27.1", "acorn-walk": "^8.2.0", "debug": "^4.3.3", "globby": "^11.0.4", "simple-bin-help": "^1.8.0" }, "devDependencies": { "ava": "6.4.1", "common-tags": "1.8.2", "husky": "9.1.7", "prettier": "3.6.2", "semantic-release": "24.2.7", "stop-only": "3.4.3" } }