UNPKG

@next-boost/next-boost

Version:

Add a cache layer for next.js SSR pages. Use stale-while-revalidate to boost the performance.

78 lines (77 loc) 1.9 kB
{ "name": "@next-boost/next-boost", "version": "0.15.2", "description": "Add a cache layer for next.js SSR pages. Use stale-while-revalidate to boost the performance.", "main": "dist/handler.js", "bin": { "next-boost": "dist/next/server.js" }, "scripts": { "build": "rm -rf dist && swc src --out-dir dist", "prepublishOnly": "yarn tsc && yarn test", "lint": "eslint src/*.ts test/*.ts", "test": "jest --testPathIgnorePatterns redis" }, "files": [ "dist", "README.md" ], "author": { "name": "Rakuraku Jyo", "email": "jyo.rakuraku@gmail.com" }, "repository": { "type": "git", "url": "git@github.com:next-boost/next-boost.git" }, "homepage": "https://github.com/next-boost/next-boost", "license": "MIT", "dependencies": { "http-graceful-shutdown": "^3.1.5", "multee": "^0.2.3" }, "peerDependencies": { "next": "^12.0.0" }, "devDependencies": { "@next-boost/hybrid-disk-cache": "^0.3.0", "@next-boost/redis-cache": "^0.3.0", "@swc/cli": "^0.1.51", "@swc/core": "^1.2.109", "@swc/jest": "^0.2.5", "@types/jest": "^27.0.1", "@types/node": "^16.7.10", "@types/supertest": "^2.0.10", "@types/uuid": "^8.3.0", "@typescript-eslint/eslint-plugin": "^4.1.1", "@typescript-eslint/parser": "^4.1.1", "dotenv": "^10.0.0", "eslint": "^7.9.0", "jest": "^27.0.1", "regenerator-runtime": "^0.13.9", "supertest": "^6.0.1", "ts-node": "^10.0.0", "typescript": "^4.0.3" }, "keywords": [ "next", "nextjs", "ssr", "cache", "stale-while-revalidate", "react" ], "publishConfig": { "access": "public" }, "prettier": { "semi": false, "singleQuote": true, "trailingComma": "all", "proseWrap": "never", "endOfLine": "lf", "tabWidth": 2, "arrowParens": "avoid", "printWidth": 100 } }