UNPKG

jest-gwt

Version:

A small library to help Jest support given-when-then style testing without a bunch of overhead

90 lines (89 loc) 1.96 kB
{ "name": "jest-gwt", "version": "3.1.2", "description": "A small library to help Jest support given-when-then style testing without a bunch of overhead", "main": "lib/index.js", "types": "lib/index.d.ts", "files": [ "lib", "src", "!**/*.spec.ts" ], "scripts": { "build": "wireit", "test": "wireit", "lint": "wireit", "test:coverage": "wireit", "prepublishOnly": "wireit" }, "wireit": { "build": { "command": "tsc --project ./tsconfig.build.json", "files": [ "src/**/*.ts", "tsconfig.*", "!src/**/*.spec.ts" ], "output": [ "lib/**" ] }, "lint": { "command": "eslint ./src ./examples" }, "test": { "command": "jest" }, "test:coverage": { "command": "jest --coverage" }, "prepublishOnly": { "dependencies": [ "lint", "test:coverage", "build" ] } }, "repository": { "type": "git", "url": "git+https://github.com/devzeebo/jest-gwt.git" }, "peerDependencies": { "@jest/globals": ">26.0.0 || >27.0.0 || >28.0.0 || >29.0.0", "jest": ">26.0.0 || >27.0.0 || >28.0.0 || >29.0.0" }, "keywords": [ "jest", "gwt", "unit", "testing", "given", "when", "then" ], "author": "Eric Siebeneich", "license": "MIT", "bugs": { "url": "https://github.com/devzeebo/jest-gwt/issues" }, "homepage": "https://github.com/devzeebo/jest-gwt#readme", "devDependencies": { "@jest/globals": "^29.6.4", "@react-ddd/eslint-config": "^0.3.1", "@swc/core": "^1.3.83", "@swc/jest": "^0.2.29", "@types/jest": "^29.5.4", "@types/lodash": "^4.14.198", "@types/node": "^20.6.0", "axios": "^1.5.0", "jest": "^29.6.4", "jest-mock": "^29.6.3", "lodash": "^4.17.21", "typescript": "^5.2.2", "wireit": "^0.13.0" }, "dependencies": { "gwt-runner": "^2.3.0" } }