mirror of
https://github.com/misenhower/splatoon3.ink.git
synced 2026-11-18 16:58:18 -06:00
The Worker's lanes, RegionAuth renewals and direct archive writes replace app/cron.mjs, warmCaches and DataArchiver, which only spectre used. Local runs keep every updater, social, screenshot and archive tool; there is no local scheduler, and local snapshots stay in storage/archive/. ARCHIVE_DATA now has to be "true": any value, including the "false" in .env.example, used to turn archiving on. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
120 lines
4.8 KiB
JSON
120 lines
4.8 KiB
JSON
{
|
|
"name": "splatoon3.ink",
|
|
"version": "0.0.0",
|
|
"engines": {
|
|
"node": "24.x"
|
|
},
|
|
"imports": {
|
|
"#image-converter": {
|
|
"workerd": "./app/common/image/convert.worker.mjs",
|
|
"default": "./app/common/image/convert.node.mjs"
|
|
},
|
|
"#avatars": {
|
|
"workerd": "./app/social/avatars/index.worker.mjs",
|
|
"default": "./app/social/avatars/index.node.mjs"
|
|
},
|
|
"#local-screenshot-driver": {
|
|
"workerd": "./app/screenshots/drivers/LocalScreenshotDriver.worker.mjs",
|
|
"default": "./app/screenshots/drivers/LocalScreenshotDriver.mjs"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview --port 5050",
|
|
"lint": "eslint .",
|
|
"lint-fix": "npm run lint -- --fix",
|
|
"test": "vitest run && npm run updater:test",
|
|
"test:watch": "vitest",
|
|
"updater:test": "vitest run --config workers/updater/vitest.config.mjs",
|
|
"admin:dev": "vite --config workers/updater/admin/vite.config.mjs",
|
|
"admin:build": "vite build --config workers/updater/admin/vite.config.mjs",
|
|
"updater:dev": "wrangler dev --config workers/updater/wrangler.jsonc --env dev --test-scheduled",
|
|
"updater:deploy:dry-run": "npm run admin:build && wrangler deploy --config workers/updater/wrangler.jsonc --env dev --dry-run",
|
|
"updater:deploy": "npm run admin:build && wrangler deploy --config workers/updater/wrangler.jsonc --env dev",
|
|
"updater:deploy:production": "npm run admin:build && wrangler deploy --config workers/updater/wrangler.jsonc --env production",
|
|
"updater:tail": "wrangler tail --config workers/updater/wrangler.jsonc --env dev",
|
|
"compressor:deploy:dry-run": "wrangler deploy --config workers/compressor/wrangler.jsonc --env dev --dry-run",
|
|
"compressor:deploy": "wrangler deploy --config workers/compressor/wrangler.jsonc --env dev",
|
|
"compressor:deploy:production": "wrangler deploy --config workers/compressor/wrangler.jsonc --env production",
|
|
"compressor:tail": "wrangler tail --config workers/compressor/wrangler.jsonc --env dev",
|
|
"social": "node app/index.mjs social",
|
|
"social:preview": "node app/social/preview.mjs",
|
|
"social:compare": "npm run build && node app/social/comparison/generate.mjs",
|
|
"social:test": "node app/index.mjs socialTest",
|
|
"social:test:image": "node app/index.mjs socialTestImage",
|
|
"social:test:mastodon": "node app/index.mjs socialTestMastodon",
|
|
"social:test:bluesky": "node app/index.mjs socialTestBluesky",
|
|
"social:test:threads": "node app/index.mjs socialTestThreads",
|
|
"social:avatars": "node app/index.mjs updateAvatars",
|
|
"social:buffer:channels": "node app/index.mjs bufferChannels",
|
|
"screenshot": "node app/screenshots/cli.mjs",
|
|
"screenshot:cloudflare": "wrangler dev --config workers/screenshots/wrangler.jsonc",
|
|
"splatnet:quick": "node app/index.mjs splatnet quick",
|
|
"splatnet": "node app/index.mjs splatnet default",
|
|
"splatnet:all": "node app/index.mjs splatnet all",
|
|
"data:archive:compress": "node app/index.mjs archiveCompress",
|
|
"data:archive:compress:dry-run": "node app/index.mjs archiveCompress --dry-run",
|
|
"data:archive:prune": "node app/index.mjs archivePrune",
|
|
"data:archive:prune:dry-run": "node app/index.mjs archivePrune --dry-run",
|
|
"data:archive:stats": "node app/index.mjs archiveStats",
|
|
"data:archive:verify": "node app/index.mjs archiveVerify",
|
|
"data:archive:verify:repair": "node app/index.mjs archiveVerify --repair"
|
|
},
|
|
"dependencies": {
|
|
"@atproto/api": "^0.20.42",
|
|
"@aws-sdk/client-s3": "^3.341.0",
|
|
"@headlessui/vue": "^1.7.23",
|
|
"@heroicons/vue": "^2.2.0",
|
|
"@noble/hashes": "^2.4.0",
|
|
"@sentry/cloudflare": "^10.78.0",
|
|
"@sentry/core": "^10.78.0",
|
|
"aws4fetch": "^1.0.20",
|
|
"console-stamp": "^3.0.6",
|
|
"dotenv": "^17.3.1",
|
|
"ical-generator": "^11.1.1",
|
|
"jose": "^6.2.17",
|
|
"jsonpath-plus": "^10.4.0",
|
|
"lodash": "^4.17.21",
|
|
"masto": "^8.0.0",
|
|
"p-filter": "^4.1.0",
|
|
"p-limit": "^7.3.0",
|
|
"p-queue": "^9.1.0",
|
|
"pinia": "^4.0.3",
|
|
"puppeteer-core": "^25.9.0",
|
|
"sharp": "^0.35.4",
|
|
"sirv": "^3.0.2",
|
|
"tar-stream": "^3.2.0",
|
|
"vue": "^3.5.42",
|
|
"vue-i18n": "^11.4.10",
|
|
"vue-router": "^5.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/vitest-plugin": "^1.1.2",
|
|
"@dword-design/eslint-plugin-import-alias": "^8.1.3",
|
|
"@eslint/js": "^10.0.1",
|
|
"@intlify/unplugin-vue-i18n": "^11.2.5",
|
|
"@tailwindcss/vite": "^4.3.3",
|
|
"@vitejs/plugin-vue": "^6.0.8",
|
|
"eslint": "^10.9.1",
|
|
"eslint-plugin-jsdoc": "^63.3.3",
|
|
"eslint-plugin-vue": "^10.8.0",
|
|
"globals": "^17.3.0",
|
|
"tailwindcss": "^4.3.3",
|
|
"typescript": "^6.0.3",
|
|
"vite": "^8.2.2",
|
|
"vitest": "^4.1.11",
|
|
"vue-eslint-parser": "^10.4.0",
|
|
"wrangler": "^4.127.1"
|
|
},
|
|
"overrides": {
|
|
"sharp": "$sharp",
|
|
"nxapi": {
|
|
"uuid": "^11.1.1",
|
|
"node-notifier": {
|
|
"uuid": "^11.1.1"
|
|
}
|
|
}
|
|
}
|
|
}
|