kalendly 0.3.4 → 0.3.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kalendly",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "A universal calendar web component — works in React, Vue, Angular, Svelte, Solid.js, and plain HTML with no framework dependency",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -13,21 +13,25 @@
13
13
  "copy:styles": "mkdir -p dist/styles && cp src/styles/calendar.css dist/styles/",
14
14
  "copy:dist": "rm -rf docs/dist && cp -r dist docs/dist",
15
15
  "dev": "tsup --watch",
16
- "dev:examples": "npm run build && npx serve docs -p 5173",
16
+ "dev:examples": "npm run build && serve docs -p 5173",
17
17
  "test": "vitest",
18
18
  "test:ui": "vitest --ui",
19
19
  "test:run": "vitest run",
20
20
  "test:coverage": "vitest run --coverage",
21
21
  "test:package": "node tests/integration/package-validation.test.mjs",
22
- "test:manual": "echo 'Open tests/manual/*.html in browser' && npx serve . -p 8080",
22
+ "test:manual": "echo 'Open tests/manual/*.html in browser' && serve . -p 8080",
23
23
  "lint": "eslint src tests",
24
24
  "lint:fix": "eslint src tests --fix",
25
25
  "format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
26
26
  "format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
27
27
  "type-check": "tsc --noEmit",
28
28
  "prepare": "husky",
29
- "prepublishOnly": "npm run test && npm run build",
30
- "prepack": "npm run test:package"
29
+ "prepublishOnly": "npm run test:run && npm run build",
30
+ "prepack": "npm run test:package",
31
+ "test:browser": "npm run build && playwright test",
32
+ "test:browser:ui": "npm run build && playwright test --ui",
33
+ "test:browser:headed": "npm run build && playwright test --headed",
34
+ "test:browser:install": "playwright install chromium webkit"
31
35
  },
32
36
  "exports": {
33
37
  ".": {
@@ -52,10 +56,6 @@
52
56
  "LICENSE"
53
57
  ],
54
58
  "lint-staged": {
55
- "package.json": [
56
- "sh -c 'npm install --package-lock-only' sh",
57
- "git add package-lock.json"
58
- ],
59
59
  "*.{ts,js,json,css,md}": [
60
60
  "prettier --write"
61
61
  ],
@@ -67,6 +67,7 @@
67
67
  },
68
68
  "devDependencies": {
69
69
  "@eslint/js": "^10.0.1",
70
+ "@playwright/test": "^1.62.1",
70
71
  "@types/node": "^25.6.0",
71
72
  "@typescript-eslint/eslint-plugin": "^8.58.1",
72
73
  "@typescript-eslint/parser": "^8.58.1",
@@ -79,6 +80,7 @@
79
80
  "jsdom": "^29.0.2",
80
81
  "lint-staged": "^16.4.0",
81
82
  "prettier": "^3.8.2",
83
+ "serve": "^14.2.6",
82
84
  "tsup": "^8.5.1",
83
85
  "typescript": "^5.9.3",
84
86
  "vitest": "^4.1.4"