-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
370 lines (370 loc) · 10.5 KB
/
Copy pathpackage.json
File metadata and controls
370 lines (370 loc) · 10.5 KB
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
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
{
"name": "@dateforge/react-calendar",
"version": "3.2.3",
"description": "React date picker and calendar: single date, date range, multiple dates, month and time picker. Modular (pay per module), zero dependencies, SSR-safe, accessible, RTL, 28 light/dark themes. React 18/19, TypeScript.",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/",
"provenance": true
},
"type": "module",
"types": "./dist/index.d.ts",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./context": {
"import": {
"types": "./dist/context.d.ts",
"default": "./dist/context.mjs"
},
"require": {
"types": "./dist/context.d.cts",
"default": "./dist/context.cjs"
}
},
"./prebuilt": {
"import": {
"types": "./dist/prebuilt.d.ts",
"default": "./dist/prebuilt.mjs"
},
"require": {
"types": "./dist/prebuilt.d.cts",
"default": "./dist/prebuilt.cjs"
}
},
"./modules": {
"import": {
"types": "./dist/modules/index.d.ts",
"default": "./dist/modules/index.mjs"
},
"require": {
"types": "./dist/modules/index.d.cts",
"default": "./dist/modules/index.cjs"
}
},
"./modules/days": {
"import": {
"types": "./dist/modules/days.d.ts",
"default": "./dist/modules/days.mjs"
},
"require": {
"types": "./dist/modules/days.d.cts",
"default": "./dist/modules/days.cjs"
}
},
"./modules/toolbar": {
"import": {
"types": "./dist/modules/toolbar.d.ts",
"default": "./dist/modules/toolbar.mjs"
},
"require": {
"types": "./dist/modules/toolbar.d.cts",
"default": "./dist/modules/toolbar.cjs"
}
},
"./modules/months-grid": {
"import": {
"types": "./dist/modules/months-grid.d.ts",
"default": "./dist/modules/months-grid.mjs"
},
"require": {
"types": "./dist/modules/months-grid.d.cts",
"default": "./dist/modules/months-grid.cjs"
}
},
"./modules/time": {
"import": {
"types": "./dist/modules/time.d.ts",
"default": "./dist/modules/time.mjs"
},
"require": {
"types": "./dist/modules/time.d.cts",
"default": "./dist/modules/time.cjs"
}
},
"./modules/presets": {
"import": {
"types": "./dist/modules/presets.d.ts",
"default": "./dist/modules/presets.mjs"
},
"require": {
"types": "./dist/modules/presets.d.cts",
"default": "./dist/modules/presets.cjs"
}
},
"./modules/selected-dates": {
"import": {
"types": "./dist/modules/selected-dates.d.ts",
"default": "./dist/modules/selected-dates.mjs"
},
"require": {
"types": "./dist/modules/selected-dates.d.cts",
"default": "./dist/modules/selected-dates.cjs"
}
},
"./modules/info": {
"import": {
"types": "./dist/modules/info.d.ts",
"default": "./dist/modules/info.mjs"
},
"require": {
"types": "./dist/modules/info.d.cts",
"default": "./dist/modules/info.cjs"
}
},
"./modules/manual-input": {
"import": {
"types": "./dist/modules/manual-input.d.ts",
"default": "./dist/modules/manual-input.mjs"
},
"require": {
"types": "./dist/modules/manual-input.d.cts",
"default": "./dist/modules/manual-input.cjs"
}
},
"./modules/years-track": {
"import": {
"types": "./dist/modules/years-track.d.ts",
"default": "./dist/modules/years-track.mjs"
},
"require": {
"types": "./dist/modules/years-track.d.cts",
"default": "./dist/modules/years-track.cjs"
}
},
"./modules/months-track": {
"import": {
"types": "./dist/modules/months-track.d.ts",
"default": "./dist/modules/months-track.mjs"
},
"require": {
"types": "./dist/modules/months-track.d.cts",
"default": "./dist/modules/months-track.cjs"
}
},
"./modules/days-track": {
"import": {
"types": "./dist/modules/days-track.d.ts",
"default": "./dist/modules/days-track.mjs"
},
"require": {
"types": "./dist/modules/days-track.d.cts",
"default": "./dist/modules/days-track.cjs"
}
},
"./modules/lunar": {
"import": {
"types": "./dist/modules/lunar.d.ts",
"default": "./dist/modules/lunar.mjs"
},
"require": {
"types": "./dist/modules/lunar.d.cts",
"default": "./dist/modules/lunar.cjs"
}
},
"./modules/months-wheel": {
"import": {
"types": "./dist/modules/months-wheel.d.ts",
"default": "./dist/modules/months-wheel.mjs"
},
"require": {
"types": "./dist/modules/months-wheel.d.cts",
"default": "./dist/modules/months-wheel.cjs"
}
},
"./modules/years-wheel": {
"import": {
"types": "./dist/modules/years-wheel.d.ts",
"default": "./dist/modules/years-wheel.mjs"
},
"require": {
"types": "./dist/modules/years-wheel.d.cts",
"default": "./dist/modules/years-wheel.cjs"
}
},
"./modules/years-grid": {
"import": {
"types": "./dist/modules/years-grid.d.ts",
"default": "./dist/modules/years-grid.mjs"
},
"require": {
"types": "./dist/modules/years-grid.d.cts",
"default": "./dist/modules/years-grid.cjs"
}
},
"./themes": {
"import": {
"types": "./dist/themes.d.ts",
"default": "./dist/themes.mjs"
},
"require": {
"types": "./dist/themes.d.cts",
"default": "./dist/themes.cjs"
}
},
"./appearances": {
"import": {
"types": "./dist/appearances.d.ts",
"default": "./dist/appearances.mjs"
},
"require": {
"types": "./dist/appearances.d.cts",
"default": "./dist/appearances.cjs"
}
},
"./style.css": "./dist/style.css"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kirilinsky/dateforge-react-calendar.git"
},
"homepage": "https://calendar-demo-pi.vercel.app/",
"bugs": {
"url": "https://github.com/kirilinsky/dateforge-react-calendar/issues"
},
"files": [
"dist",
"DOCUMENTATION.md",
"llms.txt"
],
"scripts": {
"start": "storybook dev -p 6006 --no-open",
"dev": "tsdown --watch",
"knip": "knip",
"pr": "npx changeset",
"lint": "biome lint .",
"format": "biome format --write .",
"check": "biome check .",
"check:css": "node scripts/check-css-important.mjs",
"check:fix": "biome check --write .",
"check:exports": "publint && attw --pack . --profile node16 --exclude-entrypoints ./style.css && node scripts/check-entrypoints.mjs",
"size": "size-limit",
"size:why": "size-limit --why",
"build": "tsdown --dts && node scripts/fix-cjs-css.mjs && node scripts/fix-dts-type-exports.mjs && npx tsx scripts/generate-theme.ts && npx tsx scripts/generate-appearance.ts",
"clean": "rm -rf dist",
"typecheck": "tsc --noEmit",
"test": "vitest run --passWithNoTests",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:ssr": "vitest run src/__tests__/react/ssr.test.tsx",
"test:storybook": "vitest run --project=storybook --passWithNoTests",
"bench": "vitest bench --config vitest.bench.config.ts",
"fuzz": "FUZZ_RUNS=1000 vitest run src/__tests__/fuzz --reporter=verbose",
"fuzz:ci": "FUZZ_RUNS=200 vitest run src/__tests__/fuzz",
"verify": "npm run typecheck && npm run check && npm run check:css && npm run knip && npm run build && npm run check:exports && npm run size && npm run test",
"storybook": "storybook dev -p 6006 --no-open",
"build-storybook": "storybook build",
"chromatic": "node --env-file=.env.local node_modules/.bin/chromatic"
},
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.18.5",
"@biomejs/biome": "2.5.14",
"@changesets/changelog-github": "1.0.1",
"@changesets/cli": "3.0.3",
"@chromatic-com/storybook": "^5.3.1",
"@codecov/rollup-plugin": "^2.0.1",
"@codspeed/vitest-plugin": "^5.4.0",
"@size-limit/esbuild": "14.1.0",
"@size-limit/esbuild-why": "14.1.0",
"@size-limit/file": "14.1.0",
"@storybook/addon-a11y": "^10.6.1",
"@storybook/addon-docs": "^10.6.1",
"@storybook/addon-vitest": "^10.6.1",
"@storybook/react-vite": "^10.6.1",
"@testing-library/dom": "^10.4.2",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/react": "^16.3.3",
"@testing-library/user-event": "^14.6.7",
"@tsdown/css": "^0.23.0",
"@types/jest-axe": "^3.5.9",
"@types/node": "26.6.3",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vitest/browser": "^4.1.11",
"@vitest/browser-playwright": "^4.1.11",
"@vitest/coverage-v8": "^4.1.11",
"chromatic": "18.10.1",
"happy-dom": "^20.14.5",
"jest-axe": "^11.0.0",
"knip": "^6.38.0",
"playwright": "^1.63.0",
"publint": "^0.3.24",
"react": "^19.3.0",
"react-dom": "^19.3.0",
"size-limit": "14.1.0",
"storybook": "^10.6.1",
"tsdown": "^0.23.0",
"tsx": "^4.23.15",
"typescript": "^7.0.2",
"unrun": "^0.3.1",
"vitest": "^4.1.11"
},
"keywords": [
"react",
"calendar",
"datepicker",
"date picker",
"time picker",
"datetime-picker",
"date range picker",
"multi select",
"typescript",
"a11y",
"accessibility",
"headless",
"customizable",
"mobile",
"composable",
"modular",
"ssr",
"themeable",
"css-grid",
"zero-dependencies",
"dateforge",
"react-calendar",
"react-datepicker",
"react-date-picker",
"date-range",
"daterange",
"range-picker",
"month picker",
"year picker",
"timepicker",
"multi-month",
"inline calendar",
"booking",
"business days",
"timezone",
"i18n",
"rtl",
"dark mode",
"themes",
"nextjs",
"next.js",
"react-18",
"react-19",
"wcag"
],
"engines": {
"node": ">=20.12.0"
},
"sideEffects": [
"**/*.css"
],
"author": "Kirilinsky (https://github.com/kirilinsky)",
"license": "MIT"
}