-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
253 lines (253 loc) · 8.86 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
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
{
"name": "@folio/bulk-edit",
"version": "4.2.2",
"description": "Description for bulk edit",
"main": "index.js",
"repository": "",
"license": "Apache-2.0",
"stripes": {
"actsAs": [
"app"
],
"displayName": "ui-bulk-edit.meta.title",
"route": "/bulk-edit",
"home": "/bulk-edit",
"okapiInterfaces": {
"bulk-operations": "1.0",
"entity-types": "2.0",
"users": "15.4 16.0"
},
"optionalOkapiInterfaces": {},
"icons": [
{
"name": "app",
"alt": "View and manage bulk edit",
"title": "Bulk edit"
}
],
"stripesDeps": [
"@folio/stripes-acq-components"
],
"permissionSets": [
{
"permissionName": "module.bulk-edit.enabled",
"displayName": "UI: Bulk edit module is enabled",
"visible": false,
"subPermissions": []
},
{
"permissionName": "ui-bulk-edit.base-view.manage",
"displayName": "Bulk Edit: View base permissions",
"replaces": ["ui-bulk-edit.view.base"],
"visible": false,
"subPermissions": [
"module.bulk-edit.enabled",
"bulk-operations.item.preview.get",
"bulk-operations.item.preview.download.get",
"bulk-operations.item.errors.get",
"bulk-operations.download.item.get",
"bulk-operations.collection.get",
"bulk-operations.item.get",
"usergroups.collection.get",
"data-export.job.item.download",
"configuration.entries.collection.get"
]
},
{
"permissionName": "ui-bulk-edit.base-edit.manage",
"displayName": "Bulk Edit: View edit permissions",
"replaces": ["ui-bulk-edit.edit.base"],
"visible": false,
"subPermissions": [
"ui-bulk-edit.base-view.manage",
"bulk-operations.item.upload.post",
"bulk-operations.item.cancel.post",
"bulk-operations.item.content-update.post",
"bulk-operations.item.marc-content-update.post",
"bulk-operations.item.start.post",
"inventory-storage.loan-types.collection.get",
"inventory-storage.locations.collection.get",
"inventory-storage.location-units.institutions.collection.get",
"inventory-storage.location-units.campuses.collection.get",
"inventory-storage.location-units.libraries.collection.get",
"remote-storage.mappings.collection.get",
"usergroups.collection.get",
"bulk-operations.used.tenants.get",
"consortia.publications.item.get",
"consortia.publications.item.post",
"consortia.publications-results.item.get",
"consortium-search.institutions.collection.get",
"consortium-search.campuses.collection.get",
"consortium-search.libraries.collection.get",
"inventory-storage.statistical-codes.collection.get",
"inventory-storage.statistical-code-types.collection.get"
]
},
{
"permissionName": "ui-bulk-edit.users.csv.view",
"displayName": "Bulk Edit: Local - View user records",
"replaces": ["ui-bulk-edit.view"],
"visible": true,
"subPermissions": [
"ui-bulk-edit.base-view.manage",
"ui-bulk-edit.base-edit.manage",
"bulk-operations.item.users.get"
]
},
{
"permissionName": "ui-bulk-edit.users.csv.edit",
"displayName": "Bulk Edit: Local - Edit user records",
"replaces": ["ui-bulk-edit.edit"],
"subPermissions": [
"ui-bulk-edit.users.csv.view",
"ui-bulk-edit.base-edit.manage",
"bulk-operations.item.users.put"
],
"visible": true
},
{
"permissionName": "ui-bulk-edit.inventory.view",
"displayName": "Bulk Edit: In app - View inventory records",
"replaces": ["ui-bulk-edit.app-view"],
"subPermissions": [
"ui-bulk-edit.base-view.manage",
"ui-bulk-edit.base-edit.manage",
"bulk-operations.item.inventory.get"
],
"visible": true
},
{
"permissionName": "ui-bulk-edit.inventory.edit",
"displayName": "Bulk Edit: In app - Edit inventory records",
"replaces": ["ui-bulk-edit.app-edit"],
"subPermissions": [
"ui-bulk-edit.inventory.view",
"ui-bulk-edit.base-edit.manage",
"inventory-storage.item-note-types.collection.get",
"inventory-storage.holdings-note-types.collection.get",
"inventory-storage.electronic-access-relationships.collection.get",
"bulk-operations.item.inventory.put"
],
"visible": true
},
{
"permissionName": "ui-bulk-edit.users.edit",
"displayName": "Bulk edit: In app - Edit user records",
"replaces": ["ui-bulk-edit.app-edit.users"],
"subPermissions": [
"ui-bulk-edit.base-edit.manage",
"bulk-operations.item.users.get",
"bulk-operations.item.users.put"
],
"visible": true
},
{
"permissionName": "ui-bulk-edit.logs.view",
"displayName": "Bulk edit: Can view logs",
"subPermissions": [
"bulk-operations.download.item.get",
"bulk-operations.collection.get",
"bulk-operations.list-users.collection.get",
"users.collection.get"
],
"visible": true
},
{
"permissionName": "ui-bulk-edit.query.execute",
"displayName": "Bulk edit: Can build query",
"replaces": ["ui-bulk-edit.query"],
"subPermissions": [
"module.bulk-edit.enabled",
"usergroups.item.get",
"addresstypes.item.get",
"inventory-storage.statistical-codes.item.get",
"inventory-storage.item-note-types.item.get",
"inventory-storage.call-number-types.item.get",
"inventory-storage.call-number-types.item.get",
"inventory-storage.electronic-access-relationships.item.get",
"fqm.entityTypes.collection.get",
"fqm.entityTypes.item.get",
"fqm.entityTypes.item.columnValues.get",
"fqm.query.async.results.get",
"fqm.query.async.post",
"fqm.query.async.delete",
"bulk-operations.item.query.post"
],
"visible": true
}
]
},
"scripts": {
"build": "yarn stripes build --output ./output",
"lint": "eslint .",
"start": "yarn stripes serve",
"test:unit": "jest --ci --coverage && yarn run test:unit:report",
"test:unit:report": "cp -r ./artifacts/coverage-jest ./artifacts/coverage",
"test:e2e": "echo Not implemented",
"test": "yarn run test:unit && yarn run test:e2e",
"build-mod-descriptor": "stripes mod descriptor --full --strict | jq '.[]' > module-descriptor.json ",
"formatjs-compile": "formatjs compile-folder --ast --format simple ./translations/ui-bulk-edit ./translations/ui-bulk-edit/compiled"
},
"devDependencies": {
"@babel/core": "^7.8.0",
"@babel/eslint-parser": "^7.18.9",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-decorators": "^7.0.0",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/plugin-transform-runtime": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.18.6",
"@folio/eslint-config-stripes": "^7.0.0",
"@folio/stripes": "^9.0.0",
"@folio/stripes-cli": "^3.0.0",
"@folio/stripes-data-transfer-components": "^6.1.0",
"@folio/stripes-testing": "^4.4.0",
"@formatjs/cli": "^6.1.3",
"@testing-library/dom": "^8.19.0",
"@testing-library/jest-dom": "^5.11.1",
"@testing-library/react": "^11.0.2",
"@testing-library/react-hooks": "^5.1.0",
"@testing-library/user-event": "^12.8.3",
"babel-jest": "^26.4.2",
"core-js": "^3.6.1",
"eslint": "^7.32.0",
"eslint-import-resolver-webpack": "^0.13.2",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-jest": "^24.0.0",
"faker": "^4.1.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^26.4.2",
"jest-css-modules": "^2.1.0",
"jest-junit": "^11.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-intl": "^6.4.4",
"react-query": "^3.6.0",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"regenerator-runtime": "^0.13.3",
"testing-library-selector": "^0.2.1"
},
"dependencies": {
"@folio/stripes-acq-components": "^6.0.0",
"file-saver": "^2.0.5",
"history": "^5.1.0",
"lodash": "^4.17.5",
"moment": "^2.29.1",
"prop-types": "^15.5.10",
"query-string": "^6.1.0",
"react-final-form": "^6.5.2",
"react-router-prop-types": "^1.0.4",
"uuid": "^9.0.0",
"yup": "^1.4.0"
},
"peerDependencies": {
"@folio/stripes": "^9.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-intl": "^6.4.4",
"react-query": "^3.6.0",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0"
}
}