@accurix/centrinfo-widget 1.0.0

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 ADDED
@@ -0,0 +1,71 @@
1
+ {
2
+ "name": "@accurix/centrinfo-widget",
3
+ "version": "1.0.0",
4
+ "type": "module",
5
+ "sideEffects": [
6
+ "./dist/cdn/centrinfo-widget.js"
7
+ ],
8
+ "main": "./dist/index.cjs",
9
+ "module": "./dist/index.mjs",
10
+ "types": "./dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "import": "./dist/index.mjs",
15
+ "require": "./dist/index.cjs"
16
+ },
17
+ "./standalone": "./dist/cdn/centrinfo-widget.js",
18
+ "./package.json": "./package.json"
19
+ },
20
+ "description": "Embeddable Centrinfo public chat widget — a tiny, style-isolated chat client that drops onto any website.",
21
+ "keywords": [
22
+ "centrinfo",
23
+ "chat",
24
+ "widget",
25
+ "sdk"
26
+ ],
27
+ "license": "SEE LICENSE IN LICENSE.md",
28
+ "files": [
29
+ "dist",
30
+ "README.md",
31
+ "LICENSE.md"
32
+ ],
33
+ "publishConfig": {
34
+ "access": "public",
35
+ "registry": "https://registry.npmjs.org/"
36
+ },
37
+ "scripts": {
38
+ "build": "pnpm build:npm && pnpm build:cdn",
39
+ "build-app": "pnpm build",
40
+ "build:cdn": "vite build --config vite.cdn.config.ts && node scripts/write-cdn-manifest.mjs",
41
+ "build:npm": "tsdown --config tsdown.config.ts && node scripts/write-types-compat.mjs",
42
+ "check-types": "tsc --noEmit",
43
+ "dev": "vite --port 3005 --host 0.0.0.0",
44
+ "lint": "eslint .",
45
+ "lint-write": "eslint . --fix",
46
+ "pack:dry-run": "npm --cache /tmp/accurix-npm-cache pack --dry-run",
47
+ "preview": "vite preview --port 3005",
48
+ "publish:cdn": "node scripts/publish-cdn.mjs",
49
+ "publish:npm": "npm publish --access public",
50
+ "publish:npm:provenance": "npm publish --access public --provenance",
51
+ "release": "pnpm verify:release && pnpm publish:npm && pnpm publish:cdn",
52
+ "test-coverage": "vitest run --coverage",
53
+ "test-e2e": "playwright test",
54
+ "test-unit": "vitest run",
55
+ "verify:release": "pnpm check-types && pnpm lint && pnpm test-unit && pnpm build && pnpm pack:dry-run"
56
+ },
57
+ "dependencies": {
58
+ "preact": "catalog:"
59
+ },
60
+ "devDependencies": {
61
+ "@accurix/web-config-eslint": "workspace:^",
62
+ "@playwright/test": "catalog:",
63
+ "@types/node": "catalog:",
64
+ "@vitest/coverage-v8": "catalog:",
65
+ "eslint": "catalog:",
66
+ "tsdown": "catalog:",
67
+ "typescript": "catalog:",
68
+ "vite": "catalog:",
69
+ "vitest": "catalog:"
70
+ }
71
+ }