packages/casl-aurelia/package.json
{
"name": "@casl/aurelia",
"version": "1.3.1",
"description": "Aurelia plugin for CASL which makes it easy to add permissions in any Aurelia apps",
"main": "dist/umd/index.js",
"module": "dist/es5m/index.js",
"es2015": "dist/es6m/index.mjs",
"typings": "dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/es6m/index.mjs",
"require": "./dist/umd/index.js"
}
},
"repository": {
"type": "git",
"url": "https://github.com/stalniy/casl.git",
"directory": "packages/casl-aurelia"
},
"homepage": "https://casl.js.org",
"publishConfig": {
"access": "public"
},
"scripts": {
"build.prepare": "rm -rf dist/* && npm run build.types",
"build": "npm run build.prepare && BUILD_TYPES=es5m,es6m,umd dx rollup -n casl.au -g aurelia-framework:au,@casl/ability:casl",
"build.types": "dx tsc",
"lint": "dx eslint src/",
"test": "dx jest --env jsdom --config ../dx/config/jest.chai.config.js",
"release.prepare": "npm run lint && npm test && NODE_ENV=production npm run build",
"release": "npm run release.prepare && dx semantic-release"
},
"keywords": [
"casl",
"aurelia",
"authorization",
"acl",
"permissions"
],
"author": "Sergii Stotskyi <sergiy.stotskiy@gmail.com>",
"license": "MIT",
"peerDependencies": {
"@casl/ability": "^3.0.0 || ^4.0.0 || ^5.1.0 || ^6.0.0",
"aurelia-framework": "^1.3.1"
},
"devDependencies": {
"@casl/ability": "^6.0.0",
"@casl/dx": "workspace:^1.0.0",
"@types/jest": "^29.0.0",
"aurelia-bootstrapper": "^2.3.0",
"aurelia-framework": "^1.3.1",
"aurelia-loader-nodejs": "^1.0.1",
"aurelia-pal-browser": "^1.8.0",
"aurelia-polyfills": "^1.3.0",
"aurelia-testing": "^1.0.0-beta.4.0.0",
"chai": "^4.1.0",
"chai-spies": "^1.0.0"
},
"files": [
"dist",
"*.d.ts"
]
}