Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 4.11 KB
/
Copy pathpackage.json
File metadata and controls
102 lines (102 loc) · 4.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "activitypub",
"version": "1.2.13",
"repository": "git@github.com:TryGhost/ActivityPub.git",
"author": "Ghost Foundation",
"license": "MIT",
"main": "src/app.ts",
"type": "module",
"engines": {
"node": "24"
},
"packageManager": "pnpm@12.14.0",
"scripts": {
"build": "esbuild src/app.ts --sourcemap --platform=neutral --bundle --packages=external --outfile=dist/app.js",
"build:dev": "pnpm build --sourcemap=inline",
"build:watch": "concurrently \"pnpm build:dev --watch\" \"node --inspect=0.0.0.0:9229 --watch dist/app.js\"",
"predev": "docker compose build migrate fake-gcs",
"dev": "docker compose up activitypub -d --build",
"dev:standalone": "docker compose up activitypub nginx -d --build",
"stop": "docker compose stop",
"db": "docker compose exec mysql mysql -uroot -proot activitypub",
"fix": "docker compose down --rmi all activitypub activitypub-testing cucumber-tests nginx",
"logs": "docker compose logs activitypub -f",
"wipe-db": "docker compose down -v mysql && docker compose up -d activitypub nginx && echo 'ActivityPub DB wiped. You must restart Ghost'",
"migration": "docker compose run migrate create",
"migrate": "docker compose up migrate",
"schema:dump": "./dev/docker/schema-dump",
"test:cucumber": "./dev/docker/cucumber-tests",
"test": "docker compose run --rm migrate-testing up && docker compose run --rm -v \"$(pwd)/dist:/opt/activitypub/dist\" activitypub-testing pnpm _test:all && pnpm test:cucumber",
"_test:types": "tsc --noEmit",
"test:types": "docker compose run --rm activitypub-testing pnpm _test:types",
"_test:unit": "vitest run --dir src --coverage --reporter=dot '.unit.test.ts'",
"test:unit": "docker compose run --rm activitypub-testing pnpm _test:unit",
"_test:unit:dev": "vitest --dir src --coverage --reporter=dot '.unit.test.ts'",
"test:unit:dev": "docker compose run --rm activitypub-testing pnpm _test:unit:dev",
"_test:integration": "vitest run --dir src --coverage --reporter=dot '.integration.test.ts'",
"test:integration": "docker compose run --rm activitypub-testing pnpm _test:integration",
"_test:code": "vitest run --dir src --coverage --reporter=dot '.test.ts'",
"test:code": "docker compose run --rm activitypub-testing pnpm _test:code",
"_test:all": "pnpm _test:types && pnpm _test:code",
"test:all": "docker compose run --rm activitypub-testing pnpm _test:all",
"_test:single": "vitest run --coverage --reporter=dot",
"test:single": "docker compose run --rm activitypub-testing pnpm _test:single",
"lint": "biome check",
"fmt": "biome format --write"
},
"files": [
"src"
],
"devDependencies": {
"@biomejs/biome": "2.5.15",
"@cucumber/cucumber": "13.3.0",
"@faker-js/faker": "10.6.0",
"@fedify/cli": "2.4.4",
"@types/html-to-text": "9.0.4",
"@types/jsonwebtoken": "9.0.10",
"@types/node": "22.20.5",
"@types/sanitize-html": "2.16.2",
"@vitest/coverage-v8": "5.0.5",
"concurrently": "10.0.6",
"esbuild": "0.28.2",
"nock": "15.0.2",
"typescript": "7.0.2",
"vite-tsconfig-paths": "6.1.1",
"vitest": "5.0.5",
"wiremock-captain": "4.1.3"
},
"dependencies": {
"@fedify/fedify": "2.4.4",
"@fedify/hono": "2.4.4",
"@fedify/redis": "2.4.4",
"@fedify/vocab": "2.4.4",
"@fedify/vocab-runtime": "2.4.4",
"@fedify/webfinger": "2.4.4",
"@google-cloud/pubsub": "6.3.0",
"@google-cloud/storage": "8.4.0",
"@hono/node-server": "2.1.5",
"@js-temporal/polyfill": "0.5.1",
"@logtape/logtape": "2.4.1",
"@opentelemetry/api": "1.9.1",
"@opentelemetry/core": "2.12.0",
"@sentry/node": "11.8.0",
"awilix": "13.0.5",
"es-toolkit": "1.52.0",
"hono": "4.13.13",
"html-to-text": "10.0.1",
"ioredis": "5.11.1",
"jsonwebtoken": "9.0.3",
"knex": "3.3.0",
"ky": "2.2.0",
"linkify-html": "4.3.3",
"linkifyjs": "4.3.3",
"mysql2": "3.24.6",
"node-html-parser": "9.0.4",
"reflect-metadata": "0.2.2",
"sanitize-html": "2.18.1",
"sharp": "0.35.5",
"uuid": "14.0.3",
"x-forwarded-fetch": "0.2.0",
"zod": "4.6.7"
}
}