Files
abode/package.json
T
codingetandClaude 4521274a27 feat: add PostgreSQL backend
Mirrors the node:sqlite sub-backend structure with full migration support.
Uses native pg types (UUID, JSONB, TIMESTAMPTZ) and $1/$2 parameterisation
via internal ? placeholders converted at execution time.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-20 02:00:10 +00:00

73 lines
2.8 KiB
JSON

{
"name": "abode",
"version": "0.1.0",
"description": "A management interface for household stuff",
"author": "Codinget <codinget@codi.moe>",
"license": "ISC",
"type": "module",
"bin": {
"abode-migrate": "dist/bin/abode-migrate.cjs",
"abode-repl": "dist/bin/abode-repl.cjs",
"abode-web": "dist/bin/abode-web.cjs",
"abode-tui": "dist/bin/abode-tui.cjs"
},
"scripts": {
"repl": "tsx --import ./src/meta/dev/register.ts",
"abode-migrate": "tsx --import ./src/meta/dev/register.ts src/bin/abode-migrate.ts",
"abode-repl": "tsx --import ./src/meta/dev/register.ts src/bin/abode-repl.ts",
"abode-web": "tsx --import ./src/meta/dev/register.ts --import ./src/meta/dev/webhot.ts src/bin/abode-web.ts",
"abode-tui": "tsx --import ./src/meta/dev/register.ts --import ./src/meta/dev/silenthot.ts src/bin/abode-tui.ts",
"abode-sources": "tsx --import ./src/meta/dev/register.ts src/bin/abode-sources.ts",
"build": "NODE_ENV=production npm run build:impl",
"build:impl": "rm -rf dist && tsx node_modules/.bin/webpack && chmod +x dist/bin/* && chmod -x dist/bin/*.*",
"test": "node --import tsx/esm --import ./src/meta/dev/register.ts --test $(find test -name '*.test.ts' | sort)",
"test:backends": "node --import tsx/esm --import ./src/meta/dev/register.ts --test $(find test/backends -name '*.test.ts' | sort)",
"test:shared": "node --import tsx/esm --import ./src/meta/dev/register.ts --test $(find test/backends -name 'index.test.ts' | sort)",
"test:tools": "node --import tsx/esm --import ./src/meta/dev/register.ts --test $(find test/tools -name '*.test.ts' | sort)",
"typecheck": "tsc --noEmit",
"typecheck:test": "tsc --noEmit -p tsconfig.test.json"
},
"dependencies": {
"@koa/bodyparser": "^6.0.0",
"@koa/router": "^14.0.0",
"@reduxjs/toolkit": "^2.9.0",
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"fullscreen-ink": "^0.1.0",
"hash-wasm": "^4.12.0",
"ink": "^6.3.0",
"ink-text-input": "^6.0.0",
"koa": "^3.0.1",
"pg": "^8.16.3",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"react-redux": "^9.2.0"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.13",
"@types/pg": "^8.20.0",
"@types/koa": "^3.0.0",
"@types/koa__router": "^12.0.4",
"@types/react": "^19.1.12",
"@types/webpack-bundle-analyzer": "^4.7.0",
"copy-webpack-plugin": "^13.0.1",
"css-loader": "^7.1.2",
"dynohot": "^2.1.1",
"mini-css-extract-plugin": "^2.9.4",
"raw-loader": "^4.0.2",
"scss-loader": "^0.0.1",
"ts-loader": "^9.5.4",
"tsx": "^4.20.5",
"typescript": "^5.9.2",
"val-loader": "^6.0.0",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^6.0.1"
},
"engines": {
"node": "^22"
},
"optionalDependencies": {
"better-sqlite3": "^12.2.0"
}
}