-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
150 lines (150 loc) · 4.85 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
{
"name": "@folio/checkout",
"version": "11.0.0",
"description": "Item Check-out",
"repository": "folio-org/ui-checkout",
"publishConfig": {
"registry": "https://repository.folio.org/repository/npm-folio/"
},
"license": "Apache-2.0",
"main": "src/index.js",
"stripes": {
"actsAs": [
"app"
],
"displayName": "ui-checkout.meta.title",
"route": "/checkout",
"queryResource": "query",
"icons": [
{
"name": "app",
"alt": "Check out items on behalf of patrons",
"title": "Checkout"
}
],
"okapiInterfaces": {
"circulation": "9.0 10.0 11.0 12.0 13.0 14.0",
"add-info": "0.1",
"configuration": "2.0",
"loan-policy-storage": "1.0 2.0",
"users": "16.1",
"inventory": "10.0 11.0 12.0 13.0 14.0",
"automated-patron-blocks": "0.1",
"notes": "4.0"
},
"permissionSets": [
{
"permissionName": "module.checkout.enabled",
"displayName": "UI: Check out module is enabled"
},
{
"permissionName": "ui-checkout.circulation.execute",
"displayName": "Check out: Check out circulating items",
"replaces": ["ui-checkout.circulation"],
"description": "Set of permissions needed to check out circulation items",
"visible": true,
"subPermissions": [
"users.collection.get",
"usergroups.collection.get",
"proxiesfor.collection.get",
"accounts.collection.get",
"manualblocks.collection.get",
"patron-blocks.automated-patron-blocks.collection.get",
"module.checkout.enabled",
"inventory.items.collection.get",
"circulation.check-out-by-barcode.post",
"circulation.loans.collection.get",
"circulation.requests.collection.get",
"circulation-storage.loan-policies.collection.get",
"circulation.end-patron-action-session.post",
"configuration.entries.collection.get",
"note.links.collection.get"
]
},
{
"permissionName": "ui-checkout.all",
"displayName": "Check out: All permissions",
"description": "Entire set of permissions needed to use Check out",
"visible": true,
"subPermissions": [
"ui-checkout.circulation.execute"
]
},
{
"permissionName": "ui-checkout.viewLoans.view",
"displayName": "Check out: View loans",
"replaces": ["ui-checkout.viewLoans"],
"description": "Entire set of permissions needed to view loans",
"visible": true
},
{
"permissionName": "ui-checkout.viewFeeFines.view",
"displayName": "Check out: View fees/fines",
"replaces": ["ui-checkout.viewFeeFines"],
"description": "Entire set of permissions needed to view fees/fines",
"visible": true
},
{
"permissionName": "ui-checkout.viewRequests.view",
"displayName": "Check out: View requests",
"replaces": ["ui-checkout.viewRequests"],
"description": "Entire set of permissions needed to view requests",
"visible": true
}
]
},
"scripts": {
"start": "stripes serve",
"test:jest": "jest --ci --coverage --colors",
"test": "yarn run test:jest",
"lint": "eslint .",
"build-mod-descriptor": "stripes mod descriptor --full --strict | jq '.[]' > module-descriptor.json ",
"formatjs-compile": "formatjs compile-folder --ast --format simple ./translations/ui-checkout ./translations/ui-checkout/compiled"
},
"devDependencies": {
"@babel/core": "^7.17.12",
"@babel/eslint-parser": "^7.17.0",
"@folio/eslint-config-stripes": "^7.0.0",
"@folio/jest-config-stripes": "^2.0.0",
"@folio/stripes": "^9.2.5",
"@folio/stripes-cli": "^3.0.0",
"@folio/stripes-components": "^12.0.0",
"@folio/stripes-core": "^10.2.3",
"@folio/stripes-testing": "^4.4.0",
"@formatjs/cli": "^6.1.3",
"core-js": "^3.6.4",
"eslint": "7.32.0",
"eslint-import-resolver-alias": "^1.1.2",
"identity-obj-proxy": "^3.0.0",
"inflected": "^2.0.4",
"moment": "^2.29.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-intl": "^6.4.4",
"react-router-dom": "^5.2.0",
"redux": "^4.0.0",
"regenerator-runtime": "^0.13.3"
},
"dependencies": {
"final-form": "^4.19.1",
"inactivity-timer": "^1.0.0",
"lodash": "^4.17.4",
"moment-timezone": "^0.5.34",
"prop-types": "^15.6.0",
"react-audio-player": "^0.9.0",
"react-final-form": "^6.4.0"
},
"peerDependencies": {
"@folio/stripes": "^9.2.5",
"moment": "^2.29.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-intl": "^6.4.4",
"react-router-dom": "^5.2.0"
},
"optionalDependencies": {
"@folio/circulation": "^9.0.0",
"@folio/plugin-create-inventory-records": "^5.0.0",
"@folio/plugin-find-user": "^7.0.0"
}
}