forked from stalniy/casl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
77 lines (77 loc) · 2.53 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "@casl/angular",
"version": "8.2.1",
"description": "Angular module for CASL which makes it easy to add permissions in any Angular app",
"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-angular"
},
"homepage": "https://casl.js.org",
"publishConfig": {
"access": "public"
},
"scripts": {
"prebuild": "rm -rf dist/*",
"build": "npm run build.types && npm run build.es5m && npm run build.es6 && npm run build.umd",
"build.es5m": "TARGET=es5 BUILD=es5m npm run rollup",
"build.es6": "TARGET=es2015 BUILD=es6m npm run rollup",
"build.umd": "TARGET=es5 BUILD=umd npm run rollup",
"build.types": "ngc -p tsconfig.types.json && rm -rf dist/types/*.js",
"prerollup": "ngc -p tsconfig.build.json --target $TARGET --outDir dist/$BUILD/tmp",
"rollup": "IGNORE_SUBPATH=1 LIB_MINIFY=false BUILD_TYPES=$BUILD ES_TRANSFORM=false dx rollup -i dist/$BUILD/tmp/index.js -n casl.ng -g @angular/core:ng.core,@casl/ability:casl,tslib:tslib,rxjs:rxjs",
"postrollup": "rm -rf dist/$BUILD/tmp",
"test": "dx jest --config ./jest.config.js",
"lint": "dx eslint src/ spec/",
"prerelease": "npm run lint && NODE_ENV=production npm run build && npm test",
"release": "dx semantic-release"
},
"keywords": [
"casl",
"angular",
"authorization",
"acl",
"permissions"
],
"author": "Sergii Stotskyi <[email protected]>",
"license": "MIT",
"peerDependencies": {
"@angular/core": "^14.0.0 || ^15.0.0 || ^16.0.0",
"@casl/ability": "^3.0.0 || ^4.0.0 || ^5.1.0 || ^6.0.0",
"rxjs": "^7.5.5",
"tslib": "^2.0.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^17.0.0",
"@angular/common": "^16.0.0",
"@angular/compiler": "^16.0.0",
"@angular/compiler-cli": "^16.0.0",
"@angular/core": "^16.0.0",
"@angular/platform-browser": "^16.0.0",
"@angular/platform-browser-dynamic": "^16.0.0",
"@casl/ability": "^6.0.0",
"@casl/dx": "workspace:^1.0.0",
"@types/jest": "^29.0.0",
"jest": "^29.0.0",
"jest-preset-angular": "^13.0.0",
"rxjs": "^7.5.5",
"tslib": "^2.0.0",
"typescript": "~5.0.0",
"zone.js": "~0.13.0"
},
"files": [
"dist",
"*.d.ts"
]
}