UNPKG

@udisc/hybrid-disk-cache

Version:

A hybrid disk cache utilize both the database and the file system.

78 lines (77 loc) 1.79 kB
{ "name": "@udisc/hybrid-disk-cache", "version": "0.5.0", "description": "A hybrid disk cache utilize both the database and the file system.", "main": "dist/index.js", "scripts": { "build": "tsc", "prepublishOnly": "rm -rf dist && yarn build", "lint": "eslint src/*.ts test/*.ts", "test": "NODE_ENV=test mocha --require ts-node/register test/**/*.test.ts", "test-cov": "NODE_ENV=test nyc mocha test/*.test.ts" }, "files": [ "dist", "README.md" ], "author": { "name": "Rakuraku Jyo", "email": "jyo.rakuraku@gmail.com" }, "homepage": "https://github.com/next-boost/hybrid-disk-cache", "repository": { "type": "git", "url": "https://github.com/next-boost//hybrid-disk-cache.git" }, "license": "MIT", "dependencies": { "better-sqlite3": "^11.8.1", "fs-extra": "^10.0.0" }, "devDependencies": { "@types/better-sqlite3": "^7.6.12", "@types/chai": "^4.2.12", "@types/fs-extra": "^9.0.1", "@types/mocha": "^9.0.0", "@types/node": "^16.7.10", "@typescript-eslint/eslint-plugin": "^4.1.1", "@typescript-eslint/parser": "^4.1.1", "chai": "^4.2.0", "eslint": "^7.9.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^4.0.0", "mocha": "^9.1.1", "nyc": "^15.1.0", "prettier": "^2.1.2", "ts-node": "^10.2.1", "typescript": "^4.0.3" }, "nyc": { "include": [ "src/**/*.ts" ], "extension": [ ".ts" ], "require": [ "ts-node/register" ], "reporter": [ "text", "text-summary", "lcovonly", "html" ], "sourceMap": true }, "keywords": [ "disk-cache", "file-cache", "ttl", "sqlite3", "cache" ], "publishConfig": { "access": "public" } }