UNPKG

jest-date

Version:

Custom jest matchers to test dates

76 lines (75 loc) 2.31 kB
{ "name": "jest-date", "version": "1.1.6", "description": "Custom jest matchers to test dates", "main": "dist/index.js", "repository": "git@github.com:pkuczynski/jest-date.git", "url": "https://github.com/pkuczynski/jest-date", "contributors": [ "Stefan Wullems <stefan@exivity.com>", "Piotr Kuczynski <piotr.kuczynski@gmail.com" ], "license": "MIT", "private": false, "keywords": [ "date", "date-fns", "jest", "jest date" ], "devDependencies": { "@typescript-eslint/eslint-plugin": "4.33.0", "@typescript-eslint/parser": "4.33.0", "doctoc": "^2.2.1", "kcd-scripts": "^13.0.0", "pretty-format": "^29.5.0", "ts-jest": "^29.0.5", "typescript": "^4.9.5" }, "dependencies": { "@babel/runtime": "^7.21.0", "date-fns": "^2.29.3", "jest-matcher-utils": "^29.5.0" }, "scripts": { "build": "npm run build:clean && tsc && npm run build:root && npm run build:docs", "build:clean": "rm -rf dist extend-expect.js extend-expect.d.ts matchers.js matchers.d.ts", "build:root": "tsc matchers.ts --noEmit false --declaration true && tsc extend-expect.ts --noEmit false --declaration true", "publish:major": "npm run build && npm version major && npm publish && npm run build:clean", "publish:minor": "npm run build && npm version minor && npm publish && npm run build:clean", "publish:patch": "npm run build && npm version patch && npm publish && npm run build:clean", "build:docs": "doctoc . --maxlevel 3 --notitle", "format": "kcd-scripts format", "lint": "kcd-scripts lint", "setup": "npm install && npm run validate -s", "test": "kcd-scripts test", "test:update": "npm test -- --updateSnapshot --coverage", "validate": "kcd-scripts validate" }, "files": [ "dist", "extend-expect.js", "extend-expect.d.ts", "matchers.js", "matchers.d.ts" ], "eslintConfig": { "parser": "@typescript-eslint/parser", "plugins": [ "@typescript-eslint" ], "extends": [ "./node_modules/kcd-scripts/eslint.js", "plugin:@typescript-eslint/eslint-recommended" ], "rules": { "babel/no-invalid-this": "off", "import/no-unresolved": "off" } }, "eslintIgnore": [ "node_modules", "coverage", "dist" ] }