Files
xget/package.json
T
xixu-me 2c2862cb78 Add multi-platform function adapters and CI workflow
Introduces adapters for Vercel, Netlify Edge, Deno Deploy, and Cloudflare Pages, each with platform-specific entry points and configuration files. Adds a GitHub Actions CI workflow for linting, type checking, and testing. Updates lint scripts to include adapters, improves type annotations in src/index.js, and fixes a type assertion in security tests.
2025-12-10 16:08:10 +08:00

36 lines
974 B
JSON

{
"dependencies": {
"express": "^5.2.1",
"xget": "file:"
},
"devDependencies": {
"@cloudflare/vitest-pool-workers": "^0.10.14",
"@cloudflare/workers-types": "^4.20251205.0",
"eslint": "^9.39.1",
"eslint-config-prettier": "^10.1.8",
"prettier": "^3.7.4",
"typescript": "^5.9.3",
"vitest": "^3.1.4",
"wrangler": "^4.47.0"
},
"name": "xget",
"private": false,
"scripts": {
"deploy": "wrangler deploy",
"dev": "wrangler dev",
"format": "prettier --write src/ test/ *.js *.json",
"format:check": "prettier --check src/ test/ *.js *.json",
"lint": "eslint src/ test/ adapters/",
"lint:fix": "eslint src/ test/ adapters/ --fix",
"start": "wrangler dev",
"test": "vitest",
"test:coverage": "vitest run --coverage",
"test:run": "vitest run",
"test:ui": "vitest --ui",
"test:watch": "vitest --watch",
"type-check": "tsc --noEmit"
},
"type": "module",
"version": "1.0.0"
}