-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
52 lines (52 loc) · 1.99 KB
/
Copy pathpackage.json
File metadata and controls
52 lines (52 loc) · 1.99 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
{
"name": "@freewaretools/outercom",
"version": "0.5.2",
"description": "Self-hosted live-chat widget that hands off to Telegram (Slack/Discord pluggable), with an optional Claude or local-LLM first-line. Pre-chat capture, topic-per-customer, transcript email, notification sounds.",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"type": "module",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./react": {
"types": "./dist/react.d.ts",
"default": "./dist/react.js"
},
"./next": {
"types": "./dist/next.d.ts",
"default": "./dist/next.js"
}
},
"files": [
"dist",
"src",
"README.md",
"CHANGELOG.md"
],
"scripts": {
"build": "tsc -p tsconfig.json",
"test": "node --import tsx --test 'test/*.test.ts'",
"clean": "rm -rf dist"
},
"//test-notes": "Tests use Node's built-in runner against src/, with tsx to load TypeScript. tsx (dev-only) rather than Node's native type-stripping because strip-only mode rejects parameter properties, which the source uses. Tests live in test/ and are outside tsconfig's `include`, so they never reach dist/.",
"//install-notes": "Published to npm as @freewaretools/outercom; also git-URL installable (dist/ is committed, so no build step on install). NO prepack/prepare/postinstall scripts on purpose: pnpm blocks build scripts on git-URL installs (ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED). No peerDependencies — react/@anthropic-ai/sdk are provided by the host (the SDK is lazy-loaded); pnpm fails to snapshot a git dep that declares peers. To release: `npm run build`, commit dist/, tag, then `npm publish`.",
"devDependencies": {
"@anthropic-ai/sdk": "^0.102.0",
"@types/react": "^19",
"react": "^19",
"tsx": "^4.23.1",
"typescript": "^5.7.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/freewaretools/outercom.git"
},
"engines": {
"node": ">=18"
}
}