-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
204 lines (204 loc) · 6.88 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
{
"name": "@folio/authorization-roles",
"version": "1.6.0",
"description": "FOLIO app for Authorization Roles",
"main": "src/index.js",
"repository": "folio/ui-authorization-roles",
"license": "Apache-2.0",
"scripts": {
"start": "stripes serve",
"startWithTenant": "stripes serve --tenant diku --okapi https://folio-snapshot-okapi.dev.folio.org --hasAllPerms true",
"build": "stripes build --output ./output",
"lint": "eslint .",
"test": "yarn run test:jest",
"test:jest": "jest --ci --coverage",
"test:unit": "yarn run test:jest && yarn run test:unit:report",
"build-mod-descriptor": "stripes mod descriptor --full --strict | jq '.[]' > module-descriptor.json ",
"formatjs-compile": "stripes translate compile",
"test:unit:report": "cp -r ./artifacts/coverage-jest ./artifacts/coverage"
},
"stripes": {
"actsAs": [
"settings"
],
"displayName": "ui-authorization-roles.meta.title",
"route": "/authorization-roles",
"home": "/authorization-roles",
"hasSettings": true,
"queryResource": "query",
"okapiInterfaces": {
"capabilities": "1.0",
"capability-sets": "1.0 2.0",
"role-capabilities": "1.0",
"role-capability-sets": "1.1",
"roles": "1.1",
"roles-user": "1.0"
},
"stripesDeps": [
"@folio/stripes-erm-components",
"@folio/stripes-authorization-components"
],
"icons": [
{
"name": "app",
"alt": "FOLIO app for Authorization Roles",
"title": "Authorization roles"
}
],
"permissionSets": [
{
"permissionName": "settings.authorization-roles.enabled",
"displayName": "Settings (Authorization roles): display list of settings pages",
"subPermissions": [
"settings.enabled"
]
},
{
"permissionName": "ui-authorization-roles.settings.admin",
"displayName": "Settings (Authorization roles): Can manage authorization roles",
"description": "",
"subPermissions": [
"ui-authorization-roles.settings.create",
"ui-authorization-roles.settings.view",
"ui-authorization-roles.settings.edit",
"ui-authorization-roles.settings.delete",
"ui-authorization-roles.users.settings.manage"
],
"visible": true
},
{
"permissionName": "ui-authorization-roles.settings.view",
"displayName": "Settings (Authorization roles): Can view authorization role details",
"description": "",
"subPermissions": [
"settings.authorization-roles.enabled",
"roles.item.get",
"roles.collection.get",
"roles.users.collection.get",
"role-capabilities.collection.get",
"role-capability-sets.collection.get",
"capabilities.collection.get",
"capability-sets.capabilities.collection.get",
"capability-sets.collection.get",
"users.collection.get",
"capabilities.item.get",
"capability-sets.item.get",
"role.capability-sets.collection.get"
],
"visible": true
},
{
"permissionName": "ui-authorization-roles.settings.delete",
"displayName": "Settings (Authorization roles): Can delete authorization roles",
"description": "",
"subPermissions": [
"ui-authorization-roles.settings.view",
"roles.item.delete",
"role-capabilities.collection.delete",
"role-capability-sets.collection.delete"
],
"visible": true
},
{
"permissionName": "ui-authorization-roles.settings.create",
"displayName": "Settings (Authorization roles): Can create authorization roles",
"description": "",
"subPermissions": [
"ui-authorization-roles.settings.view",
"roles.item.post",
"roles.collection.post",
"role-capabilities.collection.post",
"role-capability-sets.collection.post"
],
"visible": true
},
{
"permissionName": "ui-authorization-roles.settings.edit",
"displayName": "Settings (Authorization roles): Can edit authorization roles",
"description": "",
"subPermissions": [
"ui-authorization-roles.settings.view",
"roles.item.put",
"role-capabilities.collection.put",
"role-capability-sets.collection.put"
],
"visible": true
},
{
"permissionName": "ui-authorization-roles.users.settings.view",
"displayName": "Settings (Authorization roles): Can view user/role assignments",
"description": "Also includes basic permissions to view roles",
"subPermissions": [
"ui-authorization-roles.settings.view",
"roles.users.collection.get",
"roles.users.item.get",
"usergroups.collection.get",
"usergroups.item.get"
],
"visible": true
},
{
"permissionName": "ui-authorization-roles.users.settings.manage",
"displayName": "Settings (Authorization roles): Can manage user/role assignments",
"description": "",
"subPermissions": [
"ui-authorization-roles.users.settings.view",
"roles.users.item.post",
"roles.users.item.put",
"roles.users.item.delete",
"users-keycloak.auth-users.item.get",
"users-keycloak.auth-users.item.post"
],
"visible": true
}
]
},
"devDependencies": {
"@babel/core": "^7.18.6",
"@folio/eslint-config-stripes": "^7.0.0",
"@folio/jest-config-stripes": "^2.0.0",
"@folio/stripes": "^9.0.0",
"@folio/stripes-cli": "^3.0.0",
"@folio/stripes-erm-testing": "^2.0.0",
"graphql": "^16.0.0",
"history": "^4.10.1",
"moment": "^2.22.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-intl": "^6.4.4",
"react-query": "^3.9.0",
"react-redux": "^8.0.5",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"redux": "^4.0.0",
"redux-observable": "^1.2.0",
"regenerator-runtime": "^0.13.3",
"rxjs": "^6.6.3"
},
"dependencies": {
"@folio/plugin-select-application": "^1.0.0",
"@folio/stripes-acq-components": "^5.0.0",
"@folio/stripes-authorization-components": "^1.0.0",
"@k-int/stripes-kint-components": "^5.0.0",
"classnames": "^2.2.6",
"compose-function": "^3.0.3",
"final-form": "^4.18.5",
"final-form-arrays": "^3.0.1",
"final-form-focus": "^1.1.2",
"lodash": "^4.17.11",
"prop-types": "^15.6.0",
"query-string": "^6.6.0",
"react-final-form": "^6.3.0",
"react-final-form-arrays": "^3.1.1"
},
"peerDependencies": {
"@folio/stripes": "^9.0.0",
"@folio/stripes-erm-components": "^9.0.0",
"moment": "^2.22.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-intl": "^6.4.4",
"react-query": "^3.9.0",
"react-router-dom": "^5.2.0"
}
}