jest-plugin-clock
Version:
Jest plugin to mock dates, times, and datetimes.
39 lines (38 loc) • 903 B
JSON
{
"name": "jest-plugin-clock",
"version": "2.9.0",
"description": "Jest plugin to mock dates, times, and datetimes.",
"license": "MIT",
"author": "Mark Miyashita <negativetwelve@gmail.com>",
"homepage": "https://github.com/negativetwelve/jest-plugins",
"repository": "https://github.com/negativetwelve/jest-plugins/tree/master/packages/jest-plugin-clock",
"keywords": [
"clock",
"date",
"datetime",
"jest",
"jest-plugin",
"plugin",
"time",
"test"
],
"main": "build/clock",
"files": [
"build",
"setup.js"
],
"dependencies": {
"mockdate": "^2.0.2"
},
"peerDependencies": {
"jest": "*"
},
"devDependencies": {
"jest-plugin-context": "^2.9.0"
},
"scripts": {
"build": "babel src --out-dir build --ignore '**/*.spec.js'",
"clean": "rimraf build",
"prepublishOnly": "yarn run clean && yarn run build"
}
}