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.
18 lines
318 B
JSON
18 lines
318 B
JSON
{
|
|
"name": "xget",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"private": false,
|
|
"scripts": {
|
|
"dev": "vercel dev",
|
|
"deploy": "vercel --prod",
|
|
"vercel-build": "echo 'No build step required'"
|
|
},
|
|
"dependencies": {
|
|
"express": "^4.19.2"
|
|
},
|
|
"devDependencies": {
|
|
"@vercel/node": "^3.0.0"
|
|
}
|
|
}
|