This repository has no description
6.0 kB
135 lines
1{
2 "name": "semble",
3 "version": "1.0.0",
4 "description": "",
5 "main": "index.js",
6 "workspaces": [
7 "src/types",
8 "src/webapp",
9 "src/packages/semble-pds-client"
10 ],
11 "directories": {
12 "doc": "docs"
13 },
14 "scripts": {
15 "build:webapp": "npm run build:types && npm run build --workspace=semble-webapp",
16 "build:types": "npm run build --workspace=@semble/types",
17 "dev:types": "npm run dev --workspace=@semble/types",
18 "type-check": "tsc --noEmit",
19 "start": "node dist/index.js",
20 "worker:feeds": "node dist/workers/feed-worker.js",
21 "worker:search": "node dist/workers/search-worker.js",
22 "worker:firehose": "node dist/workers/firehose-worker.js",
23 "worker:notifications": "node dist/workers/notification-worker.js",
24 "worker:sync": "node dist/workers/sync-worker.js",
25 "test": "jest",
26 "test:unit": "jest --testPathIgnorePatterns='.integration.test.|.e2e.test.|src/webapp/'",
27 "test:integration": "jest --testPathPattern='.integration.test.'",
28 "test:integration:db": "jest --testPathPattern='.integration.test.' --testNamePattern='Drizzle'",
29 "test:integration:db:watch": "jest --watch --testPathPattern='.integration.test.' --testNamePattern='Drizzle'",
30 "test:integration:redis": "jest --testPathPattern='.integration.test.' --testNamePattern='BullMQ'",
31 "test:integration:redis:watch": "jest --watch --testPathPattern='.integration.test.' --testNamePattern='BullMQ'",
32 "test:e2e": "jest --testPathPattern='.e2e.test.' --testTimeout=300000",
33 "test:watch": "jest --watch",
34 "test:unit:watch": "jest --watch --testPathIgnorePatterns='.integration.test.' --testPathIgnorePatterns='.e2e.test.'",
35 "test:integration:watch": "jest --watch --testPathPattern='.integration.test.'",
36 "build": "tsup",
37 "build:check": "tsc --noEmit",
38 "build:watch": "tsc --watch",
39 "dev:app:inner": "dotenv -e .env.local -- concurrently -k -n TYPE,APP -c red,blue \"tsc --noEmit --watch\" \"tsup --watch --onSuccess='node dist/index.js'\"",
40 "dev:worker:feeds:inner": "dotenv -e .env.local -- concurrently -k -n WORKER -c green \"tsup --watch --onSuccess='node dist/workers/feed-worker.js'\"",
41 "dev:worker:search:inner": "dotenv -e .env.local -- concurrently -k -n WORKER -c yellow \"tsup --watch --onSuccess='node dist/workers/search-worker.js'\"",
42 "dev:mock": "USE_MOCK_PERSISTENCE=true USE_FAKE_PUBLISHERS=true USE_MOCK_AUTH=true USE_MOCK_VECTOR_DB=true npm run dev:app:inner",
43 "dev:mock:pub:auth": "USE_FAKE_PUBLISHERS=true USE_MOCK_AUTH=true npm run dev",
44 "dev": "bash ./scripts/dev-combined.sh",
45 "migrate": "node dist/scripts/migrate.js",
46 "lexgen": "lex gen-server ./src/modules/atproto/infrastructure/lexicon ./src/modules/atproto/infrastructure/lexicons/* ./src/modules/atproto/infrastructure/lexicons/at/margin/*",
47 "db:start": "docker run --name annos-postgres -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=annotations -p 5432:5432 -d postgres:14",
48 "db:stop": "docker stop annos-postgres",
49 "db:remove": "docker rm annos-postgres",
50 "redis:start": "docker run --name annos-redis -p 6379:6379 -d redis:7-alpine",
51 "redis:stop": "docker stop annos-redis",
52 "redis:remove": "docker rm annos-redis",
53 "db:generate": "drizzle-kit generate --schema=./src/modules/**/*.sql.ts --out=./src/shared/infrastructure/database/migrations --dialect=postgresql",
54 "webapp:test": "cd src/webapp && npm run test",
55 "webapp:dev": "npm run build:types && cd src/webapp && npm run dev",
56 "webapp:extension:dev": "cd src/webapp && npm run dev:extension",
57 "webapp:build": "cd src/webapp && npm run build",
58 "webapp:start": "cd src/webapp && npm run start",
59 "webapp:storybook": "cd src/webapp && npm run storybook",
60 "webapp:type-check": "cd src/webapp && npm run type-check",
61 "format": "prettier --write .",
62 "format:check": "prettier --check .",
63 "lint": "eslint .",
64 "lint:fix": "eslint . --fix"
65 },
66 "keywords": [],
67 "author": "",
68 "license": "ISC",
69 "dependencies": {
70 "@atproto/api": "^0.15.2",
71 "@atproto/common": "^0.4.10",
72 "@atproto/identity": "^0.4.9",
73 "@atproto/lexicon": "^0.4.10",
74 "@atproto/oauth-client-node": "^0.2.15",
75 "@atproto/sync": "^0.1.36",
76 "@atproto/syntax": "^0.4.0",
77 "@atproto/xrpc-server": "^0.7.15",
78 "@semble/types": "*",
79 "@sentry/node": "^10.42.0",
80 "@upstash/vector": "^1.2.2",
81 "atpi": "^1.0.7",
82 "bullmq": "^5.56.8",
83 "cookie-parser": "^1.4.7",
84 "cors": "^2.8.5",
85 "dotenv": "^16.5.0",
86 "express": "^5.1.0",
87 "ioredis": "^5.6.1",
88 "jsonwebtoken": "^9.0.2",
89 "postgres": "^3.4.5",
90 "react-force-graph-2d": "^1.29.1",
91 "redlock": "^5.0.0-beta.2",
92 "uuid": "^11.1.0",
93 "zod": "^3.22.4"
94 },
95 "devDependencies": {
96 "@atproto/lex-cli": "^0.8.0",
97 "@flydotio/dockerfile": "^0.7.10",
98 "@posthog/react": "^1.8.0",
99 "@testcontainers/postgresql": "^11.0.3",
100 "@testcontainers/redis": "^11.4.0",
101 "@types/cookie-parser": "^1.4.9",
102 "@types/cors": "^2.8.18",
103 "@types/express": "^5.0.1",
104 "@types/ioredis": "^5.0.0",
105 "@types/jest": "^29.5.14",
106 "@types/jsdom": "^21.1.7",
107 "@types/jsonwebtoken": "^9.0.9",
108 "@types/pg": "^8.11.13",
109 "@types/supertest": "^6.0.3",
110 "@types/ws": "^8.18.1",
111 "@typescript-eslint/eslint-plugin": "^8.37.0",
112 "@typescript-eslint/parser": "^8.37.0",
113 "concurrently": "^9.1.2",
114 "dotenv-cli": "^8.0.0",
115 "drizzle-kit": "^0.31.1",
116 "drizzle-orm": "^0.43.1",
117 "eslint": "^9.31.0",
118 "eslint-config-prettier": "^10.1.5",
119 "eslint-plugin-prettier": "^5.5.1",
120 "jest": "^29.7.0",
121 "jsdom": "^26.1.0",
122 "nodemon": "^3.1.10",
123 "pg": "^8.14.1",
124 "playwright": "^1.40.0",
125 "posthog-js": "^1.348.0",
126 "prettier": "^3.6.2",
127 "supertest": "^7.1.0",
128 "testcontainers": "^11.0.3",
129 "ts-jest": "^29.3.2",
130 "tsconfig-paths": "^4.2.0",
131 "tsup": "^8.4.0",
132 "typescript": "^5.8.3",
133 "vite": "^8.0.10"
134 }
135}