Files
jp 0917366cdf Separate JSON API backend (vm_api.py) + React+TanStack frontend scaffold
- vm_api.py: pure FastAPI JSON API on :8098 with CORS
- vm-api.service: systemd unit for API (replaces inline HTML vm_web.py for frontend)
- vm_web.py: kept intact as fallback; Apache now proxies /api/ -> :8098
- frontend/: Vite + React + TanStack Query scaffold
- Apache vhost updated: DocumentRoot -> frontend/dist, /api/ proxy, SPA fallback
- All original HTML pages still functional via :8099 during transition
2026-08-13 17:42:33 +01:00

78 lines
1.7 KiB
JSON

{
"name": "seroval-plugins",
"type": "module",
"version": "1.6.2",
"files": [
"dist"
],
"engines": {
"node": ">=10"
},
"license": "MIT",
"keywords": [
"pridepack"
],
"devDependencies": {
"@types/node": "^24.10.0",
"@vitest/ui": "^4.0.6",
"esbuild": "^0.28.1",
"seroval": "1.6.2",
"tsdown": "^0.22.14",
"tslib": "^2.8.1",
"typescript": "^7.0.2",
"vitest": "^4.0.6"
},
"peerDependencies": {
"seroval": "^1.0"
},
"private": false,
"description": "Stringify JS values",
"repository": {
"url": "https://github.com/lxsmnsyc/seroval.git",
"type": "git"
},
"homepage": "https://github.com/lxsmnsyc/seroval/tree/main/packages/plugins",
"bugs": {
"url": "https://github.com/lxsmnsyc/seroval/issues"
},
"publishConfig": {
"access": "public"
},
"author": "Alexis Munsayac",
"exports": {
".": {
"development": {
"import": "./dist/dev/index.js",
"require": "./dist/dev/index.cjs",
"default": "./dist/dev/index.js"
},
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
},
"./web": {
"development": {
"import": "./dist/dev/web.js",
"require": "./dist/dev/web.cjs",
"default": "./dist/dev/web.js"
},
"import": "./dist/web.js",
"require": "./dist/web.cjs",
"default": "./dist/web.js"
},
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"web": [
"./dist/types/web/index.d.ts"
]
}
},
"scripts": {
"build": "tsdown",
"watch": "tsdown --watch",
"test": "vitest",
"test:ui": "vitest --ui"
}
}