32992834ee
- Xiaohongshu search via local MCP service (opt-in, zero impact if service not running) - Reddit public JSON fallback (works with zero API keys) - Reddit priority: ScrapeCreators -> OpenAI -> public fallback - Updated env.py: Reddit always available via public fallback Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
62 lines
2.2 KiB
JSON
62 lines
2.2 KiB
JSON
{
|
|
"name": "@steipete/bird",
|
|
"version": "0.8.0",
|
|
"description": "CLI tool for tweeting and replying via Twitter/X GraphQL API",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"bin": {
|
|
"bird": "dist/cli.js"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md",
|
|
"CHANGELOG.md",
|
|
"LICENSE"
|
|
],
|
|
"scripts": {
|
|
"build": "pnpm run build:dist && pnpm run build:binary",
|
|
"build:dist": "tsc && node scripts/copy-dist-assets.js",
|
|
"build:binary": "BIRD_VERSION=$(node -p \"require('./package.json').version\") BIRD_GIT_SHA=$(git rev-parse --short=8 HEAD 2>/dev/null || true) bun build --compile --minify --env=BIRD_* src/cli.ts --outfile bird",
|
|
"dev": "tsx src/index.ts",
|
|
"bird": "pnpm run build:dist && node dist/cli.js",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:live": "pnpm run build:dist && BIRD_LIVE=1 vitest run --no-file-parallelism tests/live/live.test.ts",
|
|
"test:live:all": "pnpm run build:dist && BIRD_LIVE=1 vitest run --no-file-parallelism tests/live/live-all.test.ts",
|
|
"lint": "pnpm run lint:biome && pnpm run lint:oxlint",
|
|
"lint:biome": "biome check .",
|
|
"lint:oxlint": "oxlint --type-aware --tsconfig tsconfig.oxlint.json --import-plugin --node-plugin --vitest-plugin --deny-warnings src tests scripts",
|
|
"lint:fix": "pnpm run lint:biome:fix && pnpm run lint:oxlint:fix",
|
|
"lint:biome:fix": "biome check --write .",
|
|
"lint:oxlint:fix": "oxlint --type-aware --tsconfig tsconfig.oxlint.json --import-plugin --node-plugin --vitest-plugin --deny-warnings --fix src tests scripts",
|
|
"format": "biome format --write .",
|
|
"binary": "pnpm run build:binary",
|
|
"graphql:update": "tsx scripts/update-query-ids.ts"
|
|
},
|
|
"dependencies": {
|
|
"@steipete/sweet-cookie": "0.1.0",
|
|
"commander": "^14.0.2",
|
|
"json5": "^2.2.3",
|
|
"kleur": "^4.1.5"
|
|
},
|
|
"pnpm": {
|
|
"patchedDependencies": {
|
|
"@steipete/sweet-cookie": "patches/@steipete__sweet-cookie.patch"
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2.3.10",
|
|
"@types/node": "^25.0.3",
|
|
"@vitest/coverage-v8": "4.0.16",
|
|
"oxlint": "^1.36.0",
|
|
"oxlint-tsgolint": "^0.10.0",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^5.9.3",
|
|
"vitest": "^4.0.16"
|
|
},
|
|
"engines": {
|
|
"node": ">=22"
|
|
}
|
|
}
|