- Install better-sqlite3 package for persistent storage - Create database service with projects table schema - Add indexes on deletedAt and name for efficient queries - Support soft-delete with deletedAt timestamp - Export database instance for use in server.js Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
33 lines
813 B
JSON
33 lines
813 B
JSON
{
|
|
"name": "obsidian-web-interface",
|
|
"version": "1.0.0",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"start": "node server.js",
|
|
"dev": "node server.js",
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"description": "",
|
|
"dependencies": {
|
|
"@xterm/addon-fit": "^0.11.0",
|
|
"@xterm/addon-web-links": "^0.12.0",
|
|
"@xterm/xterm": "^6.0.0",
|
|
"bcryptjs": "^3.0.3",
|
|
"better-sqlite3": "^12.6.2",
|
|
"cookie-parser": "^1.4.7",
|
|
"express": "^4.22.1",
|
|
"express-session": "^1.18.2",
|
|
"fast-xml-parser": "^5.3.3",
|
|
"highlight.js": "^11.11.1",
|
|
"markdown-it": "^14.1.0",
|
|
"node-pty": "^1.1.0",
|
|
"ws": "^8.19.0",
|
|
"xterm": "^5.3.0",
|
|
"xterm-addon-fit": "^0.8.0",
|
|
"xterm-addon-web-links": "^0.9.0"
|
|
}
|
|
}
|