@casl/angular 9.0.2 → 9.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +8 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@casl/angular",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.3",
|
|
4
4
|
"description": "Angular module for CASL which makes it easy to add permissions in any Angular app",
|
|
5
5
|
"main": "dist/umd/index.js",
|
|
6
6
|
"module": "dist/es5m/index.js",
|
|
@@ -23,19 +23,18 @@
|
|
|
23
23
|
"access": "public"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
|
-
"
|
|
27
|
-
"build": "npm run build.
|
|
26
|
+
"build.prepare": "rm -rf dist/* && npm run build.types",
|
|
27
|
+
"build": "npm run build.prepare && npm run build.es5m && npm run build.es6 && npm run build.umd",
|
|
28
28
|
"build.es5m": "TARGET=es5 BUILD=es5m npm run rollup",
|
|
29
29
|
"build.es6": "TARGET=es2015 BUILD=es6m npm run rollup",
|
|
30
30
|
"build.umd": "TARGET=es5 BUILD=umd npm run rollup",
|
|
31
31
|
"build.types": "ngc -p tsconfig.types.json && rm -rf dist/types/*.js",
|
|
32
|
-
"
|
|
33
|
-
"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",
|
|
34
|
-
"postrollup": "rm -rf dist/$BUILD/tmp",
|
|
32
|
+
"rollup.prepare": "ngc -p tsconfig.build.json --target $TARGET --outDir dist/$BUILD/tmp",
|
|
33
|
+
"rollup": "npm run rollup.prepare && 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 && rm -rf dist/$BUILD/tmp",
|
|
35
34
|
"test": "dx jest --config ./jest.config.js",
|
|
36
35
|
"lint": "dx eslint src/ spec/",
|
|
37
|
-
"
|
|
38
|
-
"release": "dx semantic-release"
|
|
36
|
+
"release.prepare": "npm run lint && NODE_ENV=production npm run build && npm test",
|
|
37
|
+
"release": "npm run release.prepare && dx semantic-release"
|
|
39
38
|
},
|
|
40
39
|
"keywords": [
|
|
41
40
|
"casl",
|
|
@@ -53,7 +52,7 @@
|
|
|
53
52
|
"tslib": "^2.0.0"
|
|
54
53
|
},
|
|
55
54
|
"devDependencies": {
|
|
56
|
-
"@angular-devkit/build-angular": "^
|
|
55
|
+
"@angular-devkit/build-angular": "^19.0.0",
|
|
57
56
|
"@angular/common": "^19.0.0",
|
|
58
57
|
"@angular/compiler": "^19.0.0",
|
|
59
58
|
"@angular/compiler-cli": "^19.0.0",
|