UNPKG

@eturino/claims

Version:

Claim, ClaimSet and Ability for permissions (Typescript port of https://github.com/eturino/claims)

67 lines (66 loc) 1.72 kB
{ "name": "@eturino/claims", "version": "0.4.7", "description": "Claim, ClaimSet and Ability for permissions (Typescript port of https://github.com/eturino/claims)", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "files": [ "dist", "src", "LICENSE", "README.md" ], "scripts": { "commit": "git-cz", "build": "tsup", "dev": "tsup --watch", "check": "npm run check:biome && npm run check:tsc", "check:biome": "biome check --write src", "check:tsc": "tsc --noEmit", "test": "vitest run --coverage", "test:watch": "vitest", "prepare-release": "npm run check && npm run test && npm run build", "prepare": "husky || true" }, "author": "Eduardo Turiño <eturino@eturino.com>", "repository": { "type": "github", "url": "https://github.com/eturino/claims.ts" }, "bugs": { "url": "https://github.com/eturino/claims.ts/issues" }, "homepage": "https://github.com/eturino/claims.ts", "license": "MIT", "keywords": [ "claims", "permissions" ], "devDependencies": { "@biomejs/biome": "1.9.4", "@commitlint/cli": "^19.7.1", "@commitlint/config-conventional": "^19.7.1", "@commitlint/cz-commitlint": "^19.6.1", "@types/node": "^22.13.4", "@vitest/coverage-v8": "^3.0.5", "commitizen": "^4.3.1", "husky": "^9.1.7", "inquirer": "^9.3.7", "ts-enum-util": "^4.1.0", "tsup": "^8.3.6", "typescript": "^5.7.3", "vitest": "^3.0.5" }, "dependencies": { "es-toolkit": "^1.32.0" }, "peerDependencies": { "@eturino/key-set": ">=5.11.0 <6.0.0" }, "config": { "commitizen": { "path": "@commitlint/cz-commitlint" } } }