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