-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
162 lines (162 loc) · 4.68 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
{
"name": "@folio/calendar",
"version": "11.0.3",
"description": "Calendar settings",
"repository": "folio-org/ui-calendar",
"publishConfig": {
"registry": "https://repository.folio.org/repository/npm-folio/"
},
"license": "Apache-2.0",
"engines": {
"node": ">=8.9.4"
},
"main": "src/index.tsx",
"stripes": {
"actsAs": [
"settings"
],
"displayName": "ui-calendar.meta.title",
"route": "/calendar",
"hasSettings": true,
"icons": [
{
"name": "app",
"alt": "Service Point Opening Calendar",
"title": "Calendar"
}
],
"okapiInterfaces": {
"calendar": "5.0",
"service-points": "3.0",
"users": "16.0"
},
"permissionSets": [
{
"permissionName": "module.calendar.enabled",
"displayName": "UI: Calendar module is enabled",
"visible": false
},
{
"permissionName": "settings.calendar.enabled",
"displayName": "Settings (Calendar): Display calendar in the settings list",
"subPermissions": [
"settings.enabled"
],
"visible": false
},
{
"permissionName": "ui-calendar.view",
"displayName": "Settings (Calendar): Can view existing calendars",
"description": "User can view existing calendars",
"subPermissions": [
"module.calendar.enabled",
"settings.calendar.enabled",
"calendar.view",
"configuration.entries.collection.get",
"inventory-storage.service-points.collection.get",
"users.item.get"
],
"visible": true
},
{
"permissionName": "ui-calendar.create",
"displayName": "Settings (Calendar): Can create and assign new calendars",
"description": "User can create and assign new calendars",
"subPermissions": [
"ui-calendar.view",
"calendar.create"
],
"replaces": [
"ui-calendar.edit",
"ui-calendar.all"
],
"visible": true
},
{
"permissionName": "ui-calendar.update",
"displayName": "Settings (Calendar): Can edit and reassign existing calendars",
"description": "User can edit and reassign existing calendars",
"subPermissions": [
"ui-calendar.view",
"calendar.update"
],
"replaces": [
"ui-calendar.edit",
"ui-calendar.all"
],
"visible": true
},
{
"permissionName": "ui-calendar.delete",
"displayName": "Settings (Calendar): Can delete existing calendars",
"description": "User can delete existing calendars",
"subPermissions": [
"ui-calendar.view",
"calendar.delete"
],
"replaces": [
"ui-calendar.all"
],
"visible": true
}
]
},
"scripts": {
"start": "stripes serve",
"lint": "eslint .",
"test": "jest",
"coverage": "jest --coverage",
"build-mod-descriptor": "stripes mod descriptor --full --strict | jq '.[]' > module-descriptor.json ",
"formatjs-compile": "formatjs compile-folder --ast --format simple ./translations/ui-calendar ./translations/ui-calendar/compiled"
},
"devDependencies": {
"@folio/eslint-config-stripes": "^7.0.0",
"@folio/stripes": "^9.0.0",
"@folio/stripes-cli": "^3.0.0",
"@formatjs/cli": "^6.2.0",
"@testing-library/jest-dom": "^6.1.3",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.5.1",
"@types/jest": "^29.5.5",
"@types/react": "^18.2.0",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"eslint": "^8.49.0",
"eslint-import-resolver-webpack": "^0.13.2",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-junit": "^16.0.0",
"prettier": "^3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-intl": "^6.4.7",
"react-router-dom": "^5.2.0",
"ts-jest": "^29.1.1"
},
"dependencies": {
"@types/memoizee": "^0.4.8",
"@types/react-router-dom": "^5.2.0",
"classnames": "^2.3.2",
"dayjs": "^1.11.10",
"final-form": "^4.20.10",
"final-form-arrays": "^3.1.0",
"fuzzysort": "^2.0.4",
"history": "^4.7.11",
"ky": "^0.31.1",
"memoizee": "0.4.15",
"react-final-form": "^6.5.9",
"react-final-form-arrays": "^3.1.4",
"utility-types": "^3.10.0"
},
"peerDependencies": {
"@folio/stripes": "^9.0.0",
"final-form": "^4.20.7",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-final-form": "^6.5.9",
"react-intl": "^6.4.4",
"react-query": "^3.39.2",
"react-router-dom": "^5.2.0"
}
}