forked from folio-org/ui-oa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
203 lines (203 loc) · 6.56 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
{
"name": "@folio/oa",
"version": "1.1.0",
"description": "FOLIO app for Open Access management",
"main": "src/index.js",
"repository": "folio/ui-oa",
"license": "Apache-2.0",
"engines": {
"node": ">=10.0.0"
},
"scripts": {
"start": "stripes serve",
"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 ",
"test:unit:report": "cp -r ./artifacts/coverage-jest ./artifacts/coverage"
},
"stripes": {
"actsAs": [
"app",
"settings"
],
"displayName": "ui-oa.meta.title",
"route": "/oa",
"home": "/oa/publicationRequests",
"hasSettings": true,
"queryResource": "query",
"okapiInterfaces": {
"oa": "1.0"
},
"optionalOkapiInterfaces": {
"invoice": "7.0",
"erm": "5.0",
"organizations": "1.0",
"finance.exchange-rate": "1.0"
},
"stripesDeps": [
"@folio/stripes-erm-components"
],
"icons": [
{
"name": "app",
"alt": "FOLIO app for Open Acces Management",
"title": "OA"
},
{
"name": "party",
"alt": " ",
"title": "party"
},
{
"name": "journal",
"alt": " ",
"title": "journal"
}
],
"permissionSets": [
{
"permissionName": "module.oa.enabled",
"displayName": "UI: ui-oa module is enabled",
"visible": false
},
{
"permissionName": "settings.oa.enabled",
"displayName": "Settings (OA): display list of settings pages",
"subPermissions": [
"settings.enabled"
],
"visible": false
},
{
"permissionName": "ui-oa.allSettings.manage",
"displayName": "Settings (Open Access): Manage all Open Access settings",
"description": "Grants permission to view and edit all the Open Access settings",
"subPermissions": [
"settings.oa.enabled",
"oa.checklistItems.manage",
"oa.refdata.manage",
"oa.settings.write"
],
"visible": true
},
{
"permissionName": "ui-oa.oa.view",
"displayName": "Open Access Requests: Search & view all",
"description": "A user with this permission can search and view existing Open Access publication requests and related information including checklists. This includes the permission to see and access the OA app in the Folio interface",
"subPermissions": [
"module.oa.enabled",
"oa.publicationRequest.view",
"oa.scholarlyWork.view",
"oa.works.view",
"oa.titleInstances.view",
"oa.correspondence.view",
"oa.party.view",
"oa.charges.view",
"oa.checklistItems.view",
"oa.refdata.read",
"oa.reports.get"
],
"visible": true
},
{
"permissionName": "ui-oa.oa.manage",
"displayName": "Open Access Requests: Edit all",
"description": "A user with this permission can search, view and edit Open Access publication requests and related information including checklists. This includes the permission to create and edit new requests, parties (people), works, charges as well as to change the status and visibility of checklist items on a request",
"subPermissions": [
"oa.publicationRequest.manage",
"oa.scholarlyWork.manage",
"oa.works.manage",
"oa.titleInstances.manage",
"oa.correspondence.manage",
"oa.party.manage",
"oa.charges.manage",
"oa.checklistItems.manage",
"oa.refdata.read",
"oa.reports.get"
],
"visible": true
}
]
},
"devDependencies": {
"@babel/core": "^7.18.6",
"@babel/eslint-parser": "^7.15.0",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-decorators": "^7.12.1",
"@babel/plugin-proposal-function-sent": "^7.18.6",
"@babel/plugin-proposal-throw-expressions": "^7.18.6",
"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.18.9",
"@babel/preset-flow": "^7.18.6",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@folio/eslint-config-stripes": "^6.1.0",
"@folio/handler-stripes-registry": "^1.1.1",
"@folio/stripes-erm-components": "^7.0.3 || ^8.0.0",
"@folio/stripes-erm-testing": "^1.0.0",
"@folio/service-interaction": "^1.0.0",
"@folio/stripes": "^7.3.0 || ^8.0.0",
"@folio/stripes-cli": "^2.6.0",
"@folio/stripes-testing": "^4.2.0",
"@testing-library/dom": "^8.16.0",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^12.1.5",
"@testing-library/user-event": "^14.3.0",
"babel-jest": "^28.1.3",
"babel-plugin-module-resolver": "^4.0.0",
"eslint": "^7.32.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-jest-dom": "^3.2.4",
"eslint-plugin-testing-library": "^3.10.0",
"graphql": "^16.0.0",
"jest": "^28.1.0",
"jest-css-modules": "^2.1.0",
"jest-environment-jsdom": "^28.1.2",
"jest-junit": "^13.2.0",
"moment": "^2.22.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-intl": "^5.8.1",
"react-query": "^3.9.0",
"react-redux": "^7.0.0",
"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",
"sinon": "^14.0.0",
"typescript": "^2.8.0"
},
"dependencies": {
"@folio/stripes-acq-components": "^3.3.0",
"@k-int/stripes-kint-components": "^4.2.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/handler-stripes-registry": "^1.3.0",
"@folio/stripes-erm-components": "^7.0.3 || ^8.0.0",
"@folio/service-interaction": "^1.0.0",
"@folio/stripes": "^7.3.0 || ^8.0.0",
"moment": "^2.22.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-intl": "^5.8.1",
"react-query": "^3.9.0",
"react-router-dom": "^5.2.0"
}
}