@feedclip/activity 0.1.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,86 @@
1
+ {
2
+ "name": "@feedclip/activity",
3
+ "description": "Local-first activity history engine and React UI for business resources.",
4
+ "license": "MIT",
5
+ "version": "0.1.0",
6
+ "type": "module",
7
+ "sideEffects": [
8
+ "./dist/styles.css"
9
+ ],
10
+ "files": [
11
+ "dist",
12
+ "migrations",
13
+ "README.md"
14
+ ],
15
+ "main": "./dist/index.cjs",
16
+ "module": "./dist/index.js",
17
+ "types": "./dist/index.d.ts",
18
+ "exports": {
19
+ ".": {
20
+ "types": "./dist/index.d.ts",
21
+ "import": "./dist/index.js",
22
+ "require": "./dist/index.cjs"
23
+ },
24
+ "./react": {
25
+ "types": "./dist/react.d.ts",
26
+ "import": "./dist/react.js",
27
+ "require": "./dist/react.cjs"
28
+ },
29
+ "./adapters/memory": {
30
+ "types": "./dist/adapters/memory.d.ts",
31
+ "import": "./dist/adapters/memory.js",
32
+ "require": "./dist/adapters/memory.cjs"
33
+ },
34
+ "./adapters/postgres": {
35
+ "types": "./dist/adapters/postgres.d.ts",
36
+ "import": "./dist/adapters/postgres.js",
37
+ "require": "./dist/adapters/postgres.cjs"
38
+ },
39
+ "./styles.css": "./dist/styles.css",
40
+ "./migration.sql": "./migrations/001_activity_schema.sql"
41
+ },
42
+ "scripts": {
43
+ "dev": "npm run build:demo && python3 -m http.server 5173 --bind 127.0.0.1 --directory demo-dist",
44
+ "build": "npm run clean && npm run typecheck && npm run build:sdk && npm run build:demo",
45
+ "build:sdk": "node scripts/build-package.mjs && tsc -p tsconfig.package.json",
46
+ "build:demo": "node scripts/build-demo.mjs",
47
+ "clean": "rm -rf dist demo-dist .tmp",
48
+ "typecheck": "tsc --noEmit",
49
+ "preview": "python3 -m http.server 4173 --bind 127.0.0.1 --directory demo-dist",
50
+ "test": "node scripts/test.mjs",
51
+ "prepack": "npm run clean && npm run typecheck && npm run build:sdk && npm test"
52
+ },
53
+ "peerDependencies": {
54
+ "react": ">=18 <20",
55
+ "react-dom": ">=18 <20"
56
+ },
57
+ "devDependencies": {
58
+ "@testing-library/react": "^16.3.2",
59
+ "@testing-library/user-event": "^14.6.1",
60
+ "@types/pg": "^8.20.0",
61
+ "@types/react": "^19.2.17",
62
+ "@types/react-dom": "^19.2.3",
63
+ "axe-core": "^4.12.1",
64
+ "css.gg": "2.1.4",
65
+ "esbuild": "0.25.12",
66
+ "jsdom": "^29.1.1",
67
+ "pg": "^8.22.0",
68
+ "react": "^19.0.0",
69
+ "react-dom": "^19.0.0",
70
+ "typescript": "5.7.2"
71
+ },
72
+ "publishConfig": {
73
+ "access": "public"
74
+ },
75
+ "repository": {
76
+ "type": "git",
77
+ "url": "git+https://github.com/andreyshedko/activity.git"
78
+ },
79
+ "bugs": {
80
+ "url": "https://github.com/andreyshedko/activity/issues"
81
+ },
82
+ "homepage": "https://github.com/andreyshedko/activity#readme",
83
+ "engines": {
84
+ "node": ">=20"
85
+ }
86
+ }