UNPKG

@amiceli/vitest-cucumber

Version:

vitest tools to use Gherkin feature in unit tests

66 lines (65 loc) 1.86 kB
{ "name": "@amiceli/vitest-cucumber", "version": "6.2.0", "description": "vitest tools to use Gherkin feature in unit tests", "main": "dist/src/module.js", "bin": { "vitest-cucumber": "dist/cli-generate.js" }, "exports": { ".": "./dist/src/module.js", "./browser": "./dist/src/browser/index.js" }, "types": "./dist/src/module.d.ts", "files": [ "dist" ], "scripts": { "build": "npx tsc --declaration --project tsconfig.json", "build:watch": "npx tsc -w --declaration --project tsconfig.json", "build:script": "esbuild scripts/cli.ts --bundle --platform=node > dist/cli-generate.js", "build:all": "npm run build && npm run build:script", "lefthook:prepare": "lefthook install", "lint": "biome check", "lint:fix": "biome check --write", "prebuild": "node prebuild.js", "test": "npm run prebuild && vitest", "test:unit": "npm run prebuild && vitest --run", "test:coverage": "npm run prebuild && vitest run --coverage" }, "keywords": [ "vitest", "cucumber", "Gherkin" ], "author": "amiceli", "license": "ISC", "devDependencies": { "@biomejs/biome": "2.3.2", "@commitlint/cli": "^20.1.0", "@commitlint/config-conventional": "^20.0.0", "@types/node": "^20.4.5", "@vitest/coverage-v8": "^4.0.4", "esbuild": "0.25.8", "lefthook": "^1.13.6", "typescript": "^5.8.3", "vite": "^7.1.12" }, "peerDependencies": { "vitest": "^4.0.4" }, "dependencies": { "callsites": "^4.2.0", "minimist": "^1.2.8", "parsecurrency": "^1.1.1", "ts-morph": "^26.0.0" }, "repository": { "type": "git", "url": "git+https://github.com/amiceli/vitest-cucumber.git" }, "bugs": { "url": "https://github.com/amiceli/vitest-cucumber/issues" }, "homepage": "https://github.com/amiceli/vitest-cucumber#readme" }