kalendly 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +192 -55
- package/dist/core/index.d.mts +2 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/index.d.mts +16 -1
- package/dist/index.d.ts +16 -1
- package/dist/index.js +229 -33
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +229 -33
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +228 -32
- package/dist/index.umd.js.map +1 -1
- package/dist/styles/calendar.css +135 -27
- package/package.json +20 -34
package/package.json
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kalendly",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "A universal calendar web component — works in React, Vue, Angular,
|
|
3
|
+
"version": "0.2.2",
|
|
4
|
+
"description": "A universal calendar web component — works in React, Vue, Angular, Svelte, Solid.js, and plain HTML with no framework dependency",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"module": "./dist/index.mjs",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"engines": {
|
|
9
|
+
"node": ">=20.0.0"
|
|
10
|
+
},
|
|
5
11
|
"scripts": {
|
|
6
12
|
"build": "tsup && npm run copy:styles && npm run copy:dist",
|
|
7
13
|
"copy:styles": "mkdir -p dist/styles && cp src/styles/calendar.css dist/styles/",
|
|
@@ -12,7 +18,6 @@
|
|
|
12
18
|
"test:ui": "vitest --ui",
|
|
13
19
|
"test:run": "vitest run",
|
|
14
20
|
"test:coverage": "vitest run --coverage",
|
|
15
|
-
"test:watch": "vitest --watch",
|
|
16
21
|
"test:package": "node tests/integration/package-validation.test.mjs",
|
|
17
22
|
"test:manual": "echo 'Open tests/manual/*.html in browser' && npx serve . -p 8080",
|
|
18
23
|
"lint": "eslint src tests",
|
|
@@ -24,35 +29,16 @@
|
|
|
24
29
|
"prepublishOnly": "npm run test && npm run build",
|
|
25
30
|
"prepack": "npm run test:package"
|
|
26
31
|
},
|
|
27
|
-
"repository": {
|
|
28
|
-
"type": "git",
|
|
29
|
-
"url": "git+https://github.com/callezenwaka/kalendly.git"
|
|
30
|
-
},
|
|
31
|
-
"bugs": {
|
|
32
|
-
"url": "https://github.com/callezenwaka/kalendly/issues"
|
|
33
|
-
},
|
|
34
|
-
"homepage": "https://github.com/callezenwaka/kalendly#readme",
|
|
35
|
-
"main": "./dist/index.js",
|
|
36
|
-
"module": "./dist/index.mjs",
|
|
37
|
-
"types": "./dist/index.d.ts",
|
|
38
|
-
"engines": {
|
|
39
|
-
"node": ">=20.0.0"
|
|
40
|
-
},
|
|
41
32
|
"exports": {
|
|
42
33
|
".": {
|
|
43
34
|
"types": "./dist/index.d.ts",
|
|
44
35
|
"import": "./dist/index.mjs",
|
|
45
|
-
"require": "./dist/index.
|
|
36
|
+
"require": "./dist/index.js"
|
|
46
37
|
},
|
|
47
38
|
"./core": {
|
|
48
39
|
"types": "./dist/core/index.d.ts",
|
|
49
40
|
"import": "./dist/core/index.mjs",
|
|
50
|
-
"require": "./dist/core/index.
|
|
51
|
-
},
|
|
52
|
-
"./react": {
|
|
53
|
-
"types": "./dist/index.d.ts",
|
|
54
|
-
"import": "./dist/index.mjs",
|
|
55
|
-
"require": "./dist/index.cjs"
|
|
41
|
+
"require": "./dist/core/index.js"
|
|
56
42
|
},
|
|
57
43
|
"./styles": {
|
|
58
44
|
"types": "./styles.d.ts",
|
|
@@ -65,20 +51,15 @@
|
|
|
65
51
|
"README.md",
|
|
66
52
|
"LICENSE"
|
|
67
53
|
],
|
|
68
|
-
"peerDependenciesMeta": {
|
|
69
|
-
"react": {
|
|
70
|
-
"optional": true
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
54
|
"lint-staged": {
|
|
74
55
|
"package.json": [
|
|
75
56
|
"sh -c 'npm install --package-lock-only' sh",
|
|
76
57
|
"git add package-lock.json"
|
|
77
58
|
],
|
|
78
|
-
"*.{ts,
|
|
59
|
+
"*.{ts,js,json,css,md}": [
|
|
79
60
|
"prettier --write"
|
|
80
61
|
],
|
|
81
|
-
"*.
|
|
62
|
+
"*.ts": [
|
|
82
63
|
"eslint --fix",
|
|
83
64
|
"vitest related --run",
|
|
84
65
|
"bash -c 'tsc --noEmit'"
|
|
@@ -86,9 +67,6 @@
|
|
|
86
67
|
},
|
|
87
68
|
"devDependencies": {
|
|
88
69
|
"@eslint/js": "^10.0.1",
|
|
89
|
-
"@testing-library/dom": "^10.4.0",
|
|
90
|
-
"@testing-library/jest-dom": "^6.9.1",
|
|
91
|
-
"@testing-library/user-event": "^14.6.1",
|
|
92
70
|
"@types/node": "^25.6.0",
|
|
93
71
|
"@typescript-eslint/eslint-plugin": "^8.58.1",
|
|
94
72
|
"@typescript-eslint/parser": "^8.58.1",
|
|
@@ -117,6 +95,14 @@
|
|
|
117
95
|
"events",
|
|
118
96
|
"datepicker"
|
|
119
97
|
],
|
|
98
|
+
"repository": {
|
|
99
|
+
"type": "git",
|
|
100
|
+
"url": "git+https://github.com/callezenwaka/kalendly.git"
|
|
101
|
+
},
|
|
102
|
+
"bugs": {
|
|
103
|
+
"url": "https://github.com/callezenwaka/kalendly/issues"
|
|
104
|
+
},
|
|
105
|
+
"homepage": "https://github.com/callezenwaka/kalendly#readme",
|
|
120
106
|
"author": "Callis Ezenwaka <callisezenwaka@outlook.com>",
|
|
121
107
|
"license": "MIT"
|
|
122
108
|
}
|