mirror of
https://github.com/FxEmbed/FxEmbed.git
synced 2026-10-02 01:54:54 +08:00
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
71 lines
2.7 KiB
JSON
71 lines
2.7 KiB
JSON
{
|
|
"name": "fxembed",
|
|
"version": "2.0.0",
|
|
"private": true,
|
|
"description": "Embed X/Twitter and Bluesky videos, polls, and more on Discord and Telegram",
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"main": "dist/worker.js",
|
|
"scripts": {
|
|
"build:atmosphere": "npm run build -w @fxembed/atmosphere",
|
|
"build": "npm run build:atmosphere && node esbuild.config.mjs",
|
|
"build-local": "node esbuild.config.mjs --no-sentry-upload",
|
|
"deploy": "wrangler deploy --no-bundle",
|
|
"log": "wrangler tail",
|
|
"tail": "wrangler tail",
|
|
"dev": "wrangler dev --local",
|
|
"reload": "wrangler deploy --no-bundle && wrangler tail",
|
|
"prettier": "prettier --write .",
|
|
"lint:eslint": "eslint --max-warnings=0 src && npm run lint:eslint -w @fxembed/atmosphere",
|
|
"pretest": "npm run build:atmosphere",
|
|
"test": "vitest",
|
|
"openapi:atmosphere": "npx openapi-typescript https://api.fxtwitter.com/2/openapi.json -o packages/atmosphere/src/relay/generated/fxtwitter-paths.ts && npx openapi-typescript https://api.fxbsky.app/2/openapi.json -o packages/atmosphere/src/relay/generated/fxbsky-paths.ts",
|
|
"credentials:strip": "node tools/stripcredentials.mjs",
|
|
"credentials:add-csrf": "node tools/add_csrf.mjs",
|
|
"credentials:encrypt": "node tools/credential-tools.mjs encrypt",
|
|
"credentials:push": "node tools/credential-tools.mjs push",
|
|
"credentials:encrypt-push": "node tools/credential-tools.mjs encrypt-push",
|
|
"credentials:presign": "node tools/credential-tools.mjs presign",
|
|
"credentials:pull": "node tools/credential-tools.mjs pull",
|
|
"credentials:change-country": "tsx tools/change_country.ts"
|
|
},
|
|
"author": "dangered wolf",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@aws-sdk/client-s3": "^3.1136.0",
|
|
"@aws-sdk/s3-request-presigner": "^3.1136.0",
|
|
"@cloudflare/vitest-pool-workers": "^0.22.0",
|
|
"@cloudflare/workers-types": "^5.20260919.1",
|
|
"@eslint/js": "^10.0.1",
|
|
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
|
"@sentry/esbuild-plugin": "^5.4.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.70.0",
|
|
"@typescript-eslint/parser": "^8.70.0",
|
|
"dotenv": "^17.4.2",
|
|
"eslint": "^10.10.0",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-config-typescript": "^3.0.0",
|
|
"eslint-plugin-optimize-regex": "^1.2.1",
|
|
"eslint-plugin-prettier": "^5.5.6",
|
|
"globals": "^17.12.0",
|
|
"prettier": "^3.9.8",
|
|
"ts-loader": "^9.6.2",
|
|
"tsx": "^4.23.13",
|
|
"typescript": "^6.0.3",
|
|
"typescript-eslint": "^8.70.0",
|
|
"vitest": "^4.1.11",
|
|
"wrangler": "^4.135.0"
|
|
},
|
|
"dependencies": {
|
|
"@fxembed/atmosphere": "*",
|
|
"@hono/sentry": "^1.2.2",
|
|
"@hono/zod-openapi": "^1.6.3",
|
|
"cheerio": "^1.2.0",
|
|
"hono": "^4.13.8",
|
|
"i18next": "^26.4.2",
|
|
"i18next-icu": "^2.4.4",
|
|
"zod": "^4.6.5"
|
|
}
|
|
}
|