@fortedigital/nextjs-cache-handler
Version:
Next.js cache handlers
128 lines (127 loc) • 3.31 kB
JSON
{
"name": "@fortedigital/nextjs-cache-handler",
"author": {
"name": "Forte_ Digital",
"url": "https://fortedigital.com"
},
"homepage": "https://github.com/fortedigital/nextjs-cache-handler",
"bugs": "https://github.com/fortedigital/nextjs-cache-handler/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/fortedigital/nextjs-cache-handler.git"
},
"keywords": [
"cache",
"isr",
"ssg",
"cache-handler",
"next",
"redis"
],
"version": "2.1.0-canary.13",
"type": "module",
"license": "MIT",
"description": "Next.js cache handlers",
"exports": {
".": {
"require": "./dist/handlers/cache-handler.cjs",
"import": "./dist/handlers/cache-handler.js"
},
"./*": {
"require": "./dist/handlers/*.cjs",
"import": "./dist/handlers/*.js"
},
"./instrumentation": {
"require": "./dist/instrumentation/instrumentation.cjs",
"import": "./dist/instrumentation/instrumentation.js"
},
"./cluster/adapter": {
"require": "./dist/helpers/redisClusterAdapter.cjs",
"import": "./dist/helpers/redisClusterAdapter.js"
},
"./helpers/withAbortSignal": {
"require": "./dist/helpers/withAbortSignal.cjs",
"import": "./dist/helpers/withAbortSignal.js"
},
"./helpers/withAbortSignalProxy": {
"require": "./dist/helpers/withAbortSignalProxy.cjs",
"import": "./dist/helpers/withAbortSignalProxy.js"
}
},
"typesVersions": {
"*": {
"*": [
"dist/handlers/cache-handler.d.ts"
],
"instrumentation": [
"dist/instrumentation/instrumentation.d.ts"
],
"composite": [
"dist/handlers/composite.d.ts"
],
"redis-strings": [
"dist/handlers/redis-strings.d.ts"
],
"local-lru": [
"dist/handlers/local-lru.d.ts"
],
"cluster/adapter": [
"dist/helpers/redisClusterAdapter.d.ts"
],
"helpers/withAbortSignal": [
"dist/helpers/withAbortSignal.d.ts"
],
"helpers/withAbortSignalProxy": [
"dist/helpers/withAbortSignalProxy.d.ts"
]
}
},
"scripts": {
"build": "tsup --dts-resolve",
"prepare": "npm run build",
"clean": "rimraf ./dist ./.turbo ./node_modules",
"dev": "tsup --watch",
"test": "jest",
"test:watch": "jest --watch",
"format": "npx prettier --write .",
"lint": "npx eslint",
"lint:fix": "npm run format && npm run lint -- --fix"
},
"dependencies": {
"cluster-key-slot": "1.1.2",
"lru-cache": "11.2.1"
},
"devDependencies": {
"@eslint/js": "^9.35.0",
"@types/jest": "^30.0.0",
"@types/node": "22.16.5",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.2",
"globals": "^16.3.0",
"jest": "^30.1.3",
"prettier": "^3.6.2",
"prettier-plugin-packagejson": "2.5.19",
"rimraf": "6.0.1",
"ts-jest": "^29.4.1",
"tsup": "^8.5.0",
"tsx": "4.20.5",
"typescript": "^5.9.2",
"typescript-eslint": "^8.42.0"
},
"peerDependencies": {
"@redis/client": ">= 5.5.6",
"next": ">=15.2.4"
},
"distTags": [
"next15"
],
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.50.1"
},
"engines": {
"node": ">=22.0.0"
},
"files": [
"dist"
]
}