honojs-middleware/packages/casbin/package.json

62 lines
1.4 KiB
JSON

{
"name": "@hono/casbin",
"version": "0.0.0",
"description": "Casbin middleware for Hono",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./helper": {
"import": {
"types": "./dist/helper/index.d.ts",
"default": "./dist/helper/index.js"
},
"require": {
"types": "./dist/helper/index.d.cts",
"default": "./dist/helper/index.cjs"
}
}
},
"files": [
"dist"
],
"scripts": {
"test": "vitest --run",
"build": "tsup ./src/index.ts ./src/helper/index.ts --format esm,cjs --dts",
"publint": "publint",
"release": "yarn build && yarn test && yarn publint && yarn publish"
},
"license": "MIT",
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/honojs/middleware.git"
},
"homepage": "https://github.com/honojs/middleware",
"peerDependencies": {
"casbin": ">=5.30.0",
"hono": ">=4.5.11"
},
"devDependencies": {
"casbin": "^5.30.0",
"hono": "^4.5.11",
"tsup": "^8.1.0",
"typescript": "^5.5.3",
"vitest": "^2.0.1"
}
}