@casl/angular
Version:
Angular module for CASL which makes it easy to add permissions in any Angular app
68 lines • 2.12 kB
JSON
{
"name": "@casl/angular",
"version": "10.0.0",
"description": "Angular module for CASL which makes it easy to add permissions in any Angular app",
"main": "./dist/esm/index.mjs",
"type": "module",
"exports": {
".": {
"types": "./dist/types/public.d.ts",
"import": "./dist/esm/index.mjs"
}
},
"repository": {
"type": "git",
"url": "https://github.com/stalniy/casl.git",
"directory": "packages/casl-angular"
},
"homepage": "https://casl.js.org",
"publishConfig": {
"access": "public"
},
"keywords": [
"casl",
"angular",
"authorization",
"acl",
"permissions"
],
"author": "Sergii Stotskyi <sergiy.stotskiy@gmail.com>",
"license": "MIT",
"peerDependencies": {
"@angular/core": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0",
"@casl/ability": "^7.0.0",
"rxjs": "^7.5.5",
"tslib": "^2.0.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^21.0.0",
"@angular/common": "^21.0.0",
"@angular/compiler": "^21.0.0",
"@angular/compiler-cli": "^21.0.0",
"@angular/core": "^21.0.0",
"@angular/platform-browser": "^21.0.0",
"@angular/platform-browser-dynamic": "^21.0.0",
"@casl/dx": "^1.0.0",
"@types/jest": "^30.0.0",
"jest": "^30.0.0",
"jest-preset-angular": "^16.0.0",
"rxjs": "^7.5.5",
"tslib": "^2.0.0",
"typescript": "~5.9.0",
"zone.js": "~0.16.0",
"@casl/ability": "7.0.0"
},
"files": [
"dist"
],
"scripts": {
"build.prepare": "rm -rf dist/* .angular-build",
"build.ngc": "ngc -p tsconfig.build.json --outDir .angular-build",
"build.types": "dx tsc -p tsconfig.types.json",
"build": "npm run build.prepare && npm run build.ngc && npm run build.types && dx tsdown && rm -rf .angular-build",
"test": "dx jest --config ./jest.config.cjs",
"lint": "dx eslint src/ spec/",
"release.prepare": "npm run lint && NODE_ENV=production npm run build && npm test",
"release": "npm run release.prepare && pnpm publish --tag \"$RELEASE_DIST_TAG\" --publish-branch \"$RELEASE_PUBLISH_BRANCH\""
}
}