Files
kv-login/package.json
abearxiong a7829ba5e6 feat: enhance login handling and message creation
- Updated main.ts to export createMessage and queryLogin.
- Modified checkPluginLogin in login-handle.ts to return structured results.
- Refactored query.ts to adjust imports and export queryLogin.
- Cleaned up kv-login.ts by removing unused imports and improving method handling.
- Adjusted Vite configuration for deployment path changes.
- Simplified web.html by removing unnecessary import maps and scripts.
- Created web.ts to handle login success events and user redirection logic.
2026-02-03 18:33:35 +08:00

44 lines
1.0 KiB
JSON

{
"name": "@kevisual/kv-login",
"version": "0.1.8",
"description": "",
"main": "src/main.ts",
"scripts": {
"dev": "vite",
"build": "bun bun.config.ts",
"postbuild": "dts -i src/main.ts -o app.d.ts",
"build:test": "vite build",
"prepub": "rm -rf ./dist && pnpm run build:test",
"pub": "ev deploy ./dist -k login -v 0.1.12 -u -y yes"
},
"keywords": [],
"files": [
"types",
"src",
"dist"
],
"author": "abearxiong <xiongxiao@xiongxiao.me> (https://www.xiongxiao.me)",
"license": "MIT",
"packageManager": "pnpm@10.28.2",
"publishConfig": {
"access": "public"
},
"type": "module",
"dependencies": {
"@kevisual/context": "^0.0.4",
"@kevisual/query": "^0.0.39",
"crypto-js": "^4.2.0",
"lit-html": "^3.3.2",
"qrcode": "^1.5.4"
},
"exports": {
".": "./dist/app.js",
"./types": "./types/index.d.ts"
},
"types": "./types/index.d.ts",
"devDependencies": {
"@kevisual/api": "^0.0.44",
"@types/bun": "^1.3.8",
"vite": "^7.3.1"
}
}