This repository has no description
5.9 kB
130 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.' --testPathIgnorePatterns='.e2e.test.'",
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:dev": "npm run build:types && cd src/webapp && npm run dev",
55 "webapp:extension:dev": "cd src/webapp && npm run dev:extension",
56 "webapp:build": "cd src/webapp && npm run build",
57 "webapp:start": "cd src/webapp && npm run start",
58 "webapp:storybook": "cd src/webapp && npm run storybook",
59 "webapp:type-check": "cd src/webapp && npm run type-check",
60 "format": "prettier --write .",
61 "format:check": "prettier --check .",
62 "lint": "eslint .",
63 "lint:fix": "eslint . --fix"
64 },
65 "keywords": [],
66 "author": "",
67 "license": "ISC",
68 "dependencies": {
69 "@atproto/api": "^0.15.2",
70 "@atproto/common": "^0.4.10",
71 "@atproto/identity": "^0.4.9",
72 "@atproto/lexicon": "^0.4.10",
73 "@atproto/oauth-client-node": "^0.2.15",
74 "@atproto/sync": "^0.1.36",
75 "@atproto/syntax": "^0.4.0",
76 "@atproto/xrpc-server": "^0.7.15",
77 "@semble/types": "*",
78 "@upstash/vector": "^1.2.2",
79 "atpi": "^1.0.7",
80 "bullmq": "^5.56.8",
81 "cookie-parser": "^1.4.7",
82 "cors": "^2.8.5",
83 "dotenv": "^16.5.0",
84 "express": "^5.1.0",
85 "ioredis": "^5.6.1",
86 "jsonwebtoken": "^9.0.2",
87 "postgres": "^3.4.5",
88 "redlock": "^5.0.0-beta.2",
89 "uuid": "^11.1.0",
90 "zod": "^3.22.4"
91 },
92 "devDependencies": {
93 "@atproto/lex-cli": "^0.8.0",
94 "@flydotio/dockerfile": "^0.7.10",
95 "@testcontainers/postgresql": "^11.0.3",
96 "@testcontainers/redis": "^11.4.0",
97 "@types/cookie-parser": "^1.4.9",
98 "@types/cors": "^2.8.18",
99 "@types/express": "^5.0.1",
100 "@types/ioredis": "^5.0.0",
101 "@types/jest": "^29.5.14",
102 "@types/jsdom": "^21.1.7",
103 "@types/jsonwebtoken": "^9.0.9",
104 "@types/pg": "^8.11.13",
105 "@types/supertest": "^6.0.3",
106 "@types/ws": "^8.18.1",
107 "@typescript-eslint/eslint-plugin": "^8.37.0",
108 "@typescript-eslint/parser": "^8.37.0",
109 "concurrently": "^9.1.2",
110 "dotenv-cli": "^8.0.0",
111 "drizzle-kit": "^0.31.1",
112 "drizzle-orm": "^0.43.1",
113 "eslint": "^9.31.0",
114 "eslint-config-prettier": "^10.1.5",
115 "eslint-plugin-prettier": "^5.5.1",
116 "eslint-plugin-storybook": "^9.1.2",
117 "jest": "^29.7.0",
118 "jsdom": "^26.1.0",
119 "nodemon": "^3.1.10",
120 "pg": "^8.14.1",
121 "playwright": "^1.40.0",
122 "prettier": "^3.6.2",
123 "supertest": "^7.1.0",
124 "testcontainers": "^11.0.3",
125 "ts-jest": "^29.3.2",
126 "tsconfig-paths": "^4.2.0",
127 "tsup": "^8.4.0",
128 "typescript": "^5.8.3"
129 }
130}