hybrid-disk-cache
Version:
A hybrid disk cache utilize both the database and the file system.
75 lines (74 loc) • 1.73 kB
JSON
{
"name": "hybrid-disk-cache",
"version": "0.2.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 && npm run 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/rjyo/hybrid-disk-cache",
"repository": {
"type": "git",
"url": "https://github.com/rjyo/hybrid-disk-cache.git"
},
"license": "MIT",
"dependencies": {
"better-sqlite3": "^7.1.1",
"fs-extra": "^9.0.1"
},
"devDependencies": {
"@types/better-sqlite3": "^5.4.0",
"@types/chai": "^4.2.12",
"@types/fs-extra": "^9.0.1",
"@types/mocha": "^8.0.3",
"@types/node": "^14.11.1",
"@typescript-eslint/eslint-plugin": "^4.1.1",
"@typescript-eslint/parser": "^4.1.1",
"chai": "^4.2.0",
"eslint": "^7.9.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"mocha": "^8.1.3",
"nyc": "^15.1.0",
"prettier": "^2.1.2",
"ts-node": "^9.0.0",
"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"
]
}