ts-bdd
Version:
A TypeScript BDD testing framework with typed shared examples and state management
72 lines (71 loc) • 2.26 kB
JSON
{
"name": "ts-bdd",
"version": "1.1.2",
"description": "A TypeScript BDD testing framework with typed shared examples and state management",
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/cjs/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
}
},
"scripts": {
"build": "yarn build:clean && yarn build:esm && yarn build:cjs",
"build:clean": "rm -rf dist",
"build:esm": "tsc -p tsconfig.esm.json",
"build:cjs": "tsc -p tsconfig.cjs.json && yarn build:cjs-package",
"build:cjs-package": "echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json && echo '{\"type\":\"module\"}' > dist/esm/package.json",
"test": "vitest run",
"dev": "vitest",
"format": "prettier --write .",
"check-format": "prettier --check .",
"check-exports": "attw --pack",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"type-check": "tsc --noEmit --project tsconfig.json",
"type-check:tests": "tsc --noEmit --project tsconfig.test.json",
"ci": "yarn check-format && yarn lint && yarn type-check && yarn test && yarn build && yarn check-exports",
"prepublishOnly": "yarn check-format && yarn lint && yarn type-check && yarn test && yarn build",
"publish-dry": "npm publish --dry-run"
},
"files": [
"dist"
],
"keywords": [
"bdd",
"testing",
"typescript",
"shared-examples",
"behavior-driven-development"
],
"author": "amirketter",
"license": "ISC",
"repository": {
"type": "git",
"url": "git+https://github.com/amirketter/ts-bdd.git"
},
"bugs": {
"url": "https://github.com/amirketter/ts-bdd/issues"
},
"homepage": "https://github.com/amirketter/ts-bdd#readme",
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.2",
"@types/node": "^24.0.3",
"@typescript-eslint/eslint-plugin": "^8.34.1",
"@typescript-eslint/parser": "^8.34.1",
"eslint": "^9.29.0",
"prettier": "^3.5.3",
"ts-node": "^10.9.2",
"typescript": "^5.8.3",
"vitest": "^3.2.4"
}
}