UNPKG

jest-prettyhtml-matchers

Version:

Custom Jest snapshot matchers that use prettyhtml to format strings.

68 lines (67 loc) 2.01 kB
{ "name": "jest-prettyhtml-matchers", "version": "1.17.15", "description": "Custom Jest snapshot matchers that use prettyhtml to format strings.", "author": "Tane Morgan (https://github.com/tanem)", "main": "dist/index.js", "typings": "dist/index.d.ts", "files": [ "dist" ], "homepage": "https://github.com/tanem/jest-prettyhtml-matchers", "bugs": "https://github.com/tanem/jest-prettyhtml-matchers/issues", "repository": "github:tanem/jest-prettyhtml-matchers", "keywords": [ "custom", "javascript", "jest", "matchers", "prettyhtml", "snapshot", "testing", "typescript" ], "license": "MIT", "scripts": { "check": "run-s check:*", "check:format": "prettier --list-different \"**/*.{mjs,js,ts}\"", "check:types": "tsc --noEmit", "clean": "run-s clean:*", "clean:coverage": "del coverage", "clean:dist": "del dist ", "clean:test": "ts-node scripts/clean", "compile": "tsc -p tsconfig.base.json", "format": "prettier --write \"**/*.{mjs,js,ts}\"", "lint": "eslint .", "release": "tanem-scripts release", "test": "run-s check lint clean compile && ts-node scripts/test" }, "peerDependencies": { "jest": "^25.0.0 || ^26.0.0 || ^27.0.0 || ^28.0.0 || ^29.0.0", "jest-snapshot": "^25.0.0 || ^26.0.0 || ^27.0.0 || ^28.0.0 || ^29.0.0" }, "dependencies": { "@starptech/prettyhtml": "^0.10.0" }, "devDependencies": { "@eslint/eslintrc": "3.2.0", "@eslint/js": "9.15.0", "@types/fs-extra": "11.0.4", "@types/jest": "29.5.14", "@typescript-eslint/eslint-plugin": "8.15.0", "@typescript-eslint/parser": "8.15.0", "del": "6.1.1", "del-cli": "6.0.0", "eslint": "9.15.0", "eslint-config-prettier": "9.1.0", "fs-extra": "11.2.0", "jest": "29.7.0", "jest-snapshot": "29.7.0", "npm-run-all2": "7.0.1", "prettier": "3.3.3", "tanem-scripts": "7.0.27", "ts-jest": "29.2.5", "ts-node": "10.9.2", "typescript": "5.7.2" } }