Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
172 lines (172 loc) · 6.31 KB
/
Copy pathpackage.json
File metadata and controls
172 lines (172 loc) · 6.31 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
{
"name": "breadcrum.net",
"description": "Breadcrum internet newspaper clippigns",
"version": "2026.10.10",
"type": "module",
"packageManager": "pnpm@10.34.6",
"author": "Bret Comnes <bcomnes@gmail.com> (https://bret.io)",
"bugs": {
"url": "https://github.com/hifiwi-fi/breadcrum.net/issues"
},
"engines": {
"node": ">=26.0.0",
"pnpm": "10.x"
},
"devDependencies": {
"@breadcrum/bookmarklet": "1.0.13",
"@domstack/static": "12.4.0",
"@fastify/type-provider-json-schema-to-ts": "^5.0.1",
"@playwright/test": "^1.65.1",
"@sentry/cli": "^3.8.2",
"@types/common-tags": "^1.8.4",
"@types/concat-stream": "^2.0.3",
"@types/gunzip-maybe": "^1.4.3",
"@types/jsdom": "^30.0.0",
"@types/mime-types": "^3.0.1",
"@types/node": "^26.6.6",
"@types/nodemailer": "^8.0.2",
"@types/pg": "^8.23.1",
"@types/user-agents": "^1.0.4",
"@types/useragent": "^2.3.4",
"@voxpelli/tsconfig": "^17.0.0",
"argsclopts": "^1.0.5",
"classnames": "^2.5.1",
"eslint": "^10.14.0",
"format-duration": "^4.0.0",
"giscus": "^1.6.0",
"highlight.js": "^11.12.0",
"knip": "^6.44.2",
"local-storage-proxy": "^4.0.4",
"mine.css": "^11.1.0",
"neostandard": "0.14.1",
"npm-run-all2": "^9.0.4",
"p-map": "^7.1.1",
"releasearoni": "^0.2.0",
"typescript": "^7.0.2",
"xmlbuilder": "^15.1.1"
},
"funding": {
"type": "individual",
"url": "https://github.com/sponsors/bcomnes"
},
"homepage": "https://github.com/hifiwi-fi/breadcrum.net",
"keywords": [],
"license": "AGPL-3.0-or-later",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/hifiwi-fi/breadcrum.net.git"
},
"scripts": {
"prepublishOnly": "releasearoni --no-npm-check --no-build",
"release": "releasearoni --no-npm-check --no-build",
"version": "releasearoni version",
"test": "run-s test:*",
"test:eslint": "eslint .",
"test:tsc": "tsc",
"test:node": "node --experimental-test-coverage --test --test-reporter=dot --test-reporter-destination=stdout --test-reporter=lcov --test-reporter-destination=lcov.info --test-concurrency=1",
"test:knip": "knip --dependencies",
"test:playwright": "playwright test",
"watch": "run-p watch:*",
"watch:server": "APP_ROLE=all node --import ./src/otel.js node_modules/fastify-cli/cli.js start --config ./src/config/fastify-cli.js --watch -P --ignore-watch='src/client public data .tap' src/app.js",
"watch:domstack": "dom watch --src src/client --dest public --no-serve --drafts",
"build": "run-s build:*",
"build:domstack": "dom build --src src/client --dest public",
"migrate": "node --env-file-if-exists=.env node_modules/postgrator-cli/index.js",
"generate-default-env": "node src/scripts/api/generate-default-env.js",
"start": "pnpm run watch",
"start-api": "APP_ROLE=api node --import ./src/otel.js node_modules/fastify-cli/cli.js start --config ./src/config/fastify-cli.js src/app.js",
"start-worker": "APP_ROLE=worker node --import ./src/otel.js node_modules/fastify-cli/cli.js start --config ./src/config/fastify-cli.js src/app.js",
"deploy": "node src/scripts/deploy.js",
"sentry:login": "sentry-cli login",
"knip": "knip --dependencies",
"new-blogpost": "node src/scripts/create-blogpost.js --title",
"publish-draft": "node src/scripts/publish-blogpost.js",
"print-routes": "APP_ROLE=api fastify print-routes src/app.js",
"print-plugins": "APP_ROLE=api fastify print-plugins src/app.js",
"generate-dbml": "pnpm dlx pg-to-dbml --c postgres://postgres@localhost/breadcrum"
},
"dependencies": {
"@breadcrum/extract-meta": "^2.0.1",
"@bret/is-youtube-url": "^1.0.5",
"@fastify/accepts": "^5.0.7",
"@fastify/auth": "^5.1.2",
"@fastify/autoload": "^6.5.1",
"@fastify/basic-auth": "^6.3.1",
"@fastify/circuit-breaker": "^4.0.4",
"@fastify/compress": "^9.3.0",
"@fastify/cookie": "^11.1.5",
"@fastify/cors": "^11.4.1",
"@fastify/formbody": "^9.0.1",
"@fastify/helmet": "^13.2.0",
"@fastify/jwt": "^10.2.7",
"@fastify/postgres": "^6.1.2",
"@fastify/rate-limit": "^11.2.2",
"@fastify/redis": "^9.0.1",
"@fastify/sensible": "^6.0.7",
"@fastify/static": "^10.1.10",
"@fastify/swagger": "^9.9.3",
"@fastify/swagger-ui": "^6.1.3",
"@maxmind/geoip2-node": "^7.1.0",
"@mozilla/readability": "^0.6.0",
"@nearform/sql": "^1.10.8",
"@opentelemetry/api": "^1.10.0",
"@opentelemetry/exporter-prometheus": "^0.301.0",
"@opentelemetry/host-metrics": "^0.40.0",
"@opentelemetry/instrumentation-http": "^0.301.0",
"@opentelemetry/instrumentation-runtime-node": "^0.38.0",
"@opentelemetry/sdk-node": "^0.301.0",
"@passwordless-id/webauthn": "^2.4.1",
"@preact/signals": "^2.11.4",
"@sentry/browser": "^11.11.0",
"@sentry/node": "^11.11.0",
"@tanstack/preact-query": "^5.107.1",
"abstract-cache-redis": "^2.0.0",
"clean-deep": "^3.4.0",
"common-tags": "^1.8.2",
"concat-stream": "^2.0.0",
"dompurify": "^3.4.17",
"env-schema": "^8.0.1",
"fast-json-body": "^1.1.0",
"fastify": "^5.12.8",
"fastify-cli": "^8.0.3",
"fastify-healthcheck": "^5.1.0",
"fastify-plugin": "^6.0.1",
"fastify-user-agent": "^2.0.2",
"gunzip-maybe": "^1.4.2",
"htm": "^3.1.1",
"hyperid": "^4.0.0",
"ipaddr.js": "^2.5.0",
"jsdom": "^31.0.0",
"json-schema-to-ts": "^3.1.1",
"jsonfeed-to-atom": "^1.2.5",
"jsonfeed-to-rss": "^3.0.8",
"mime-types": "^3.0.2",
"nodemailer": "^10.4.0",
"pg": "^8.23.1",
"pg-boss": "12.38.1",
"postgrator-cli": "^10.0.0",
"preact": "^11.2.0",
"preact-render-to-string": "^6.8.2",
"resolve-email": "^4.0.84",
"type-fest": "^6.0.0",
"undici": "^8.12.4",
"user-agents": "^2.1.237",
"useragent": "^2.3.0"
},
"imports": {
"#types/*.js": "./src/types/*.ts",
"#resources/types/*.js": "./src/resources/types/*.d.ts",
"#routes/*": "./src/routes/*",
"#lib/*": "./src/lib/*",
"#test/*": "./src/test/*",
"#workers/*": "./src/workers/*",
"#resources/*": "./src/resources/*",
"#config/*": "./src/config/*",
"#plugins/*": "./src/plugins/*",
"#client/*": "./src/client/*",
"#components/*": "./src/client/components/*",
"#hooks/*": "./src/client/hooks/*",
"#layouts/*": "./src/client/layouts/*"
}
}