-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
204 lines (204 loc) · 7.66 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": "@indexdata/harvester-admin",
"version": "2.2.0",
"description": "Admin console for the Index Data Harvester",
"repository": "https://github.com/indexdata/ui-harvester-admin",
"license": "Apache-2.0",
"main": "src/index.js",
"scripts": {
"start": "stripes serve --port 3003 --okapi https://snapshot-dev-okapi.folio-dev.indexdata.com --tenant harvester",
"test": "jest",
"minerva3": "stripes serve --port 3004 --okapi https://okapi.gbv.de --tenant minerva3",
"lint": "eslint -f unix .",
"qlint": "eslint -f unix --rule '{\"no-console\":\"off\"}' .",
"build-mod-descriptor": "stripes mod descriptor --full --strict | jq '.[]' > module-descriptor.json",
"formatjs-compile": "formatjs compile-folder --ast --format simple ./translations/ui-harvester-admin ./translations/ui-harvester-admin/compiled"
},
"stripes": {
"actsAs": [
"app",
"settings"
],
"displayName": "ui-harvester-admin.meta.title",
"route": "/ha",
"queryResource": "query",
"icons": [
{
"name": "app",
"alt": "Admin console for the Index Data Harvester",
"title": "Harvester admin"
}
],
"okapiInterfaces": {
"harvester-admin": "1.0"
},
"permissionSets": [
{
"permissionName": "module.harvester-admin.enabled",
"displayName": "UI: harvester-admin module is enabled",
"visible": false
},
{
"permissionName": "settings.harvester-admin.enabled",
"displayName": "Settings (harvester-admin): display list of settings pages",
"subPermissions": [
"settings.enabled"
],
"visible": false
},
{
"permissionName": "ui-harvester-admin.settings.view",
"displayName": "Harvester admin (Settings): View storage engines, transformation pipelines and transformation steps, and log-file deletion threshold",
"subPermissions": [
"settings.harvester-admin.enabled",
"harvester-admin.storages.collection.get",
"harvester-admin.storages.item.get",
"mod-settings.entries.collection.get",
"mod-settings.global.read.mod-harvester-admin"
],
"visible": true
},
{
"permissionName": "ui-harvester-admin.settings.view-edit",
"displayName": "Harvester admin (Settings): View, edit storage engines, transformation pipelines and transformation steps, and log-file deletion threshold",
"subPermissions": [
"ui-harvester-admin.settings.view",
"harvester-admin.storages.item.put",
"mod-settings.entries.item.put",
"mod-settings.entries.item.post",
"mod-settings.global.write.mod-harvester-admin"
],
"visible": true
},
{
"permissionName": "ui-harvester-admin.settings.view-edit-create",
"displayName": "Harvester admin (Settings): View, edit, create storage engines, transformation pipelines and transformation steps",
"subPermissions": [
"ui-harvester-admin.settings.view-edit",
"harvester-admin.storages.item.post"
],
"visible": true
},
{
"permissionName": "ui-harvester-admin.settings.view-edit-create-delete",
"displayName": "Harvester admin (Settings): View, edit, create, delete storage engines, transformation pipelines and transformation steps",
"subPermissions": [
"ui-harvester-admin.settings.view-edit-create",
"harvester-admin.storages.item.delete"
],
"visible": true
},
{
"permissionName": "ui-harvester-admin.harvestables.view",
"displayName": "Harvester admin: View harvestables",
"subPermissions": [
"module.harvester-admin.enabled",
"harvester-admin.harvestables.collection.get",
"harvester-admin.harvestables.item.get",
"harvester-admin.harvestables.failed-records.collection.get",
"harvester-admin.harvestables.log.get",
"harvester-admin.previous-jobs.collection.get"
],
"visible": true
},
{
"permissionName": "ui-harvester-admin.harvestables.view-edit",
"displayName": "Harvester admin: View, edit harvestables, start/stop jobs",
"subPermissions": [
"ui-harvester-admin.harvestables.view",
"harvester-admin.transformations.collection.get",
"harvester-admin.storages.collection.get",
"harvester-admin.harvestables.item.put",
"harvester-admin.run-jobs",
"harvester-admin.stop-jobs"
],
"visible": true
},
{
"permissionName": "ui-harvester-admin.harvestables.view-edit-create",
"displayName": "Harvester admin: View, edit, create harvestables, start/stop jobs",
"subPermissions": [
"ui-harvester-admin.harvestables.view-edit",
"harvester-admin.harvestables.item.post"
],
"visible": true
},
{
"permissionName": "ui-harvester-admin.harvestables.view-edit-create-delete",
"displayName": "Harvester admin: View, edit, create, delete harvestables, start/stop jobs",
"subPermissions": [
"ui-harvester-admin.harvestables.view-edit-create",
"harvester-admin.harvestables.item.delete"
],
"visible": true
},
{
"permissionName": "ui-harvester-admin.jobs-and-failed-records.view",
"displayName": "Harvester admin: View jobs and failed records",
"subPermissions": [
"module.harvester-admin.enabled",
"harvester-admin.previous-jobs.collection.get",
"harvester-admin.previous-jobs.item.get",
"harvester-admin.previous-jobs.log.get",
"harvester-admin.previous-jobs.failed-records.collection.get",
"harvester-admin.previous-jobs.failed-records.item.get"
],
"visible": true
},
{
"permissionName": "ui-harvester-admin.all",
"displayName": "Harvester admin: All permissions",
"subPermissions": [
"module.harvester-admin.enabled",
"settings.harvester-admin.enabled",
"ui-harvester-admin.settings.view",
"ui-harvester-admin.settings.view-edit",
"ui-harvester-admin.settings.view-edit-create",
"ui-harvester-admin.settings.view-edit-create-delete",
"ui-harvester-admin.harvestables.view",
"ui-harvester-admin.harvestables.view-edit",
"ui-harvester-admin.harvestables.view-edit-create",
"ui-harvester-admin.harvestables.view-edit-create-delete",
"ui-harvester-admin.jobs-and-failed-records.view"
],
"visible": true
}
]
},
"dependencies": {
"@axetroy/react-download": "^1.1.1",
"@indexdata/oai-pmh": "^0.0.2",
"final-form-arrays": "^3.0.2",
"final-form-set-field-data": "^1.0.2",
"lodash": "^4.17.0",
"query-string": "^6.0.0",
"react-final-form": "^6.3.0",
"react-final-form-arrays": "^3.1.3",
"react-inspector": "^5.1.0",
"use-deep-compare": "^1.1.0"
},
"peerDependencies": {
"@folio/stripes": "^9.0.0",
"prop-types": "*",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-intl": "*",
"react-router": "*",
"react-router-dom": "*"
},
"devDependencies": {
"@babel/eslint-parser": "^7.15.0",
"@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",
"@formatjs/cli": "^4.2.20",
"eslint": "^7.32.0",
"eslint-import-resolver-alias": "^1.1.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-intl": "^6.6.0",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0"
}
}