senecajs/seneca-cache

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "@seneca/cache",
  "version": "4.2.1",
  "description": "In-memory caching plugin for seneca",
  "main": "cache.js",
  "scripts": {
    "test": "lab -v -P test -t 100 -L -r console -o stdout -r html -o test/coverage.html",
    "doc": "seneca-doc",
    "prettier": "prettier --write *.js lib/*.js test/*.js",
    "coveralls": "lab -s -P test -r lcov | coveralls",
    "clean": "rm -rf node_modules package-lock.json yarn.lock",
    "reset": "npm run clean && npm i && npm test",
    "repo-tag": "REPO_VERSION=`node -e \"console.log(require('./package').version)\"` && echo TAG: v$REPO_VERSION && git commit -a -m v$REPO_VERSION && git push && git tag v$REPO_VERSION && git push --tags;",
    "repo-publish-quick": "npm run prettier && npm test && npm run doc && npm run repo-tag && npm publish --access public --registry=http://registry.npmjs.org",
    "repo-publish": "npm run clean && npm i && npm run repo-publish-quick"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/senecajs/seneca-cache.git"
  },
  "keywords": [
    "seneca",
    "cache",
    "memory",
    "plugin"
  ],
  "contributors": [
    "Richard Rodger (http://richardrodger.com/)",
    "Seamus D'Arcy"
  ],
  "license": "MIT",
  "dependencies": {
    "lru-cache": "~6.0.0"
  },
  "devDependencies": {
    "@hapi/code": "^8.0.1",
    "@hapi/lab": "^22.0.4",
    "@seneca/cache-test": "^2.0.0",
    "@sinonjs/fake-timers": "^6.0.1",
    "coveralls": "^3.1.0",
    "prettier": "^2.0.5",
    "seneca": "^3.22.0",
    "@seneca/doc": "^4.0.0",
    "seneca-plugin-validator": "^0.6.1",
    "seneca-promisify": "^2.0.0"
  },
  "files": [
    "cache.js",
    "lib",
    "README.md",
    "LICENSE.txt"
  ]
}