@willyim/rbac 0.2.0 → 0.2.1
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 +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willyim/rbac",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Typed RBAC where permissions are the primitive and roles are named permission bags",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/src/define-permissions.js",
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"build": "tsc -p tsconfig.json",
|
|
29
|
+
"prepare": "npm run build",
|
|
29
30
|
"typecheck": "tsc --noEmit",
|
|
30
31
|
"test": "npm run build && node --test ./dist/test/**/*.test.js"
|
|
31
32
|
},
|