@falcondev-oss/caps
Version:
Simple, fully type-safe library to handle permissions/access control by defining capabilities with generators.
56 lines • 1.46 kB
JSON
{
"name": "@falcondev-oss/caps",
"type": "module",
"version": "0.5.1",
"description": "Simple, fully type-safe library to handle permissions/access control by defining capabilities with generators.",
"license": "Apache-2.0",
"repository": "github:falcondev-oss/caps",
"bugs": {
"url": "https://github.com/falcondev-oss/caps/issues"
},
"keywords": [
"permissions",
"access control",
"capabilities",
"generator",
"typescript"
],
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"files": [
"dist"
],
"engines": {
"node": "22",
"pnpm": "10"
},
"dependencies": {
"remeda": "^2.21.0",
"type-fest": "^4.35.0"
},
"devDependencies": {
"@louishaftmann/eslint-config": "^4.1.1",
"@louishaftmann/prettier-config": "^4.1.1",
"eslint": "^9.21.0",
"prettier": "^3.5.2",
"tsup": "^8.4.0",
"typescript": "^5.7.3",
"vitest": "^3.0.7"
},
"changelogithub": {
"extends": "gh:falcondev-it/configs/changelogithub"
},
"scripts": {
"test": "vitest run",
"build": "tsup",
"lint": "eslint --cache . && prettier --check --cache .",
"lint:ci": "eslint --cache --cache-strategy content . && prettier --check --cache --cache-strategy content .",
"lint:fix": "eslint --fix --cache . && prettier --write --cache .",
"type-check": "tsc --noEmit"
}
}