UNPKG

vite-plugin-cloudflare-functions

Version:
112 lines 2.54 kB
{ "name": "vite-plugin-cloudflare-functions", "version": "0.8.4", "description": "Make Cloudflare Pages Functions works with Vite friendly", "keywords": [ "cloudflare", "vite", "cloudflare-workers", "cloudflare-pages" ], "homepage": "https://github.com/yjl9903/vite-plugin-cloudflare-functions#readme", "bugs": { "url": "https://github.com/yjl9903/vite-plugin-cloudflare-functions/issues" }, "repository": { "type": "git", "url": "git+https://github.com/yjl9903/vite-plugin-cloudflare-functions.git" }, "license": "MIT", "author": "XLor", "sideEffects": false, "exports": { ".": { "require": "./dist/index.cjs", "import": "./dist/index.mjs", "types": "./dist/index.d.ts" }, "./vite": { "require": "./dist/index.cjs", "import": "./dist/index.mjs", "types": "./dist/index.d.ts" }, "./plugin": { "require": "./dist/index.cjs", "import": "./dist/index.mjs", "types": "./dist/index.d.ts" }, "./worker": { "require": "./dist/worker.cjs", "import": "./dist/worker.mjs", "types": "./dist/worker.d.ts" }, "./client": { "require": "./dist/client.cjs", "import": "./dist/client.mjs", "types": "./dist/client.d.ts" }, "./types": { "types": "./types.d.ts" } }, "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "typesVersions": { "*": { "*": [ "./dist/*", "./*" ] } }, "files": [ "dist", "*.d.ts" ], "dependencies": { "@breadc/death": "^0.9.7", "@cloudflare/workers-types": "^4.20241230.0", "debug": "^4.4.0", "fast-glob": "^3.3.3", "mlly": "^1.7.3", "picocolors": "^1.1.1", "tree-kill": "^1.2.2" }, "devDependencies": { "@types/debug": "^4.1.12", "axios": "^1.7.9", "ofetch": "^1.4.1", "ohmyfetch": "^0.4.21", "typescript": "^5.7.3", "wrangler": "^3.100.0" }, "peerDependencies": { "axios": "^1.5.0", "ofetch": "^1.3.4", "ohmyfetch": "^0.4.21", "vite": ">=3.1.8", "wrangler": "^2.20.1 || ^3.0.0" }, "peerDependenciesMeta": { "axios": { "optional": true }, "ofetch": { "optional": true }, "ohmyfetch": { "optional": true } }, "engines": { "node": ">=v18.16.0" }, "scripts": { "build": "unbuild", "dev": "unbuild --watch", "test": "vitest", "test:ci": "vitest --run", "typecheck": "tsc --noEmit" } }