This repository has no description
3.3 kB
81 lines
1{
2 "name": "annos",
3 "version": "1.0.0",
4 "description": "",
5 "main": "index.js",
6 "directories": {
7 "doc": "docs"
8 },
9 "scripts": {
10 "test": "jest",
11 "test:unit": "jest --testPathIgnorePatterns='.integration.test.' --testPathIgnorePatterns='.e2e.test.'",
12 "test:integration": "jest --testPathPattern='.integration.test.'",
13 "test:integration:db": "jest --testPathPattern='.integration.test.' --testNamePattern='Drizzle'",
14 "test:integration:db:watch": "jest --watch --testPathPattern='.integration.test.' --testNamePattern='Drizzle'",
15 "test:e2e": "jest --testPathPattern='.e2e.test.' --testTimeout=300000",
16 "test:watch": "jest --watch",
17 "test:unit:watch": "jest --watch --testPathIgnorePatterns='.integration.test.' --testPathIgnorePatterns='.e2e.test.'",
18 "test:integration:watch": "jest --watch --testPathPattern='.integration.test.'",
19 "build": "tsup",
20 "build:watch": "tsc --watch",
21 "dev:inner": "dotenv -e .env.local -- concurrently -k -n TYPE,CODE -c red,blue \"tsc --noEmit --watch\" \"tsup --watch --onSuccess='node dist/index.js'\"",
22 "dev:mock": "USE_MOCK_REPOS=true USE_FAKE_PUBLISHERS=true npm run dev:inner",
23 "dev": "bash ./scripts/dev.sh",
24 "migrate": "node dist/scripts/migrate.js",
25 "lexgen": "lex gen-server ./src/modules/atproto/infrastructure/lexicon ./src/modules/atproto/infrastructure/lexicons/*",
26 "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",
27 "db:stop": "docker stop annos-postgres",
28 "db:remove": "docker rm annos-postgres",
29 "db:generate": "drizzle-kit generate --schema=./src/modules/**/*.sql.ts --out=./src/shared/infrastructure/database/migrations --dialect=postgresql",
30 "webapp:dev": "cd src/webapp && npm run dev",
31 "webapp:extension:dev": "cd src/webapp && npm run dev:extension",
32 "webapp:build": "cd src/webapp && npm run build",
33 "webapp:start": "cd src/webapp && npm run start"
34 },
35 "keywords": [],
36 "author": "",
37 "license": "ISC",
38 "dependencies": {
39 "@atproto/api": "^0.15.2",
40 "@atproto/common": "^0.4.10",
41 "@atproto/identity": "^0.4.7",
42 "@atproto/lexicon": "^0.4.10",
43 "@atproto/oauth-client-node": "^0.2.15",
44 "@atproto/sync": "^0.1.20",
45 "@atproto/syntax": "^0.4.0",
46 "@atproto/xrpc-server": "^0.7.15",
47 "cors": "^2.8.5",
48 "dotenv": "^16.5.0",
49 "express": "^5.1.0",
50 "jsonwebtoken": "^9.0.2",
51 "postgres": "^3.4.5",
52 "uuid": "^11.1.0"
53 },
54 "devDependencies": {
55 "@atproto/lex-cli": "^0.8.0",
56 "@flydotio/dockerfile": "^0.7.10",
57 "@testcontainers/postgresql": "^11.0.3",
58 "@types/cors": "^2.8.18",
59 "@types/express": "^5.0.1",
60 "@types/jest": "^29.5.14",
61 "@types/jsdom": "^21.1.7",
62 "@types/jsonwebtoken": "^9.0.9",
63 "@types/pg": "^8.11.13",
64 "@types/supertest": "^6.0.3",
65 "concurrently": "^9.1.2",
66 "dotenv-cli": "^8.0.0",
67 "drizzle-kit": "^0.31.1",
68 "drizzle-orm": "^0.43.1",
69 "jest": "^29.7.0",
70 "jsdom": "^26.1.0",
71 "pg": "^8.14.1",
72 "playwright": "^1.40.0",
73 "prettier": "^3.6.2",
74 "supertest": "^7.1.0",
75 "testcontainers": "^11.0.3",
76 "ts-jest": "^29.3.2",
77 "tsconfig-paths": "^4.2.0",
78 "tsup": "^8.4.0",
79 "typescript": "^5.8.3"
80 }
81}