SimpliField/sf-time-mock

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "sf-time-mock",
  "version": "1.0.2",
  "description": "Mock utility for a function returning a timestamp (like Date.now()).",
  "main": "src/index.js",
  "scripts": {
    "test": "mocha src/*.mocha.js",
    "lint": "eslint src/*.js",
    "prepublish": "npm test && npm run lint",
    "coveralls": "istanbul cover _mocha --report lcovonly -- src/*.mocha.js -R spec -t 5000 && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage",
    "cover": "istanbul cover --report html _mocha -- src/*.mocha.js -R spec -t 5000",
    "cli": "env NPM_RUN_CLI=1"
  },
  "keywords": [
    "time",
    "mock",
    "date",
    "now",
    "timestamp"
  ],
  "author": "Nicolas Froidure",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/SimpliField/sf-time-mock.git"
  },
  "bugs": {
    "url": "https://github.com/SimpliField/sf-time-mock/issues"
  },
  "homepage": "https://github.com/SimpliField/sf-time-mock",
  "devDependencies": {
    "coveralls": "^2.11.2",
    "eslint": "^3.5.0",
    "eslint-config-simplifield": "^4.2.0",
    "istanbul": "^0.4.5",
    "jsdoc-to-markdown": "^3.0.0",
    "mocha": "^3.0.2",
    "mocha-lcov-reporter": "^1.2.0"
  },
  "dependencies": {
    "debug": "^2.2.0",
    "yerror": "^1.0.1"
  }
}