honojs-middleware/packages/session/package.json

78 lines
1.9 KiB
JSON
Raw Permalink Normal View History

{
"name": "@hono/session",
"version": "0.1.0",
"description": "Session middleware for Hono",
"type": "module",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsup ./src/index.ts ./src/cookies.ts ./src/helper/testing/index.ts",
"prepack": "yarn build",
"publint": "attw --pack --profile node16 && publint",
"typecheck": "tsc -b tsconfig.json",
"test": "vitest"
},
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./cookies": {
"import": {
"types": "./dist/cookies.d.ts",
"default": "./dist/cookies.js"
},
"require": {
"types": "./dist/cookies.d.cts",
"default": "./dist/cookies.cjs"
}
},
"./testing": {
"import": {
"types": "./dist/helper/testing/index.d.ts",
"default": "./dist/helper/testing/index.js"
},
"require": {
"types": "./dist/helper/testing/index.d.cts",
"default": "./dist/helper/testing/index.cjs"
}
}
},
"license": "MIT",
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/honojs/middleware.git",
"directory": "packages/session"
},
"homepage": "https://github.com/honojs/middleware",
"peerDependencies": {
"hono": ">=4.0.0"
},
"dependencies": {
"jose": "^6.0.11"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.4",
"@cloudflare/vitest-pool-workers": "^0.7.8",
"hono": "^4.8.4",
"publint": "^0.3.9",
"tsup": "^8.4.0",
"typescript": "^5.8.2",
"unstorage": "^1.16.0",
"vitest": "^3.2.4"
}
}