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