moxie-backend/package.json
Z User bbdbc0c1df Switch from sqlite3 to sql.js for cross-platform compatibility
- Replace sqlite3 (native) with sql.js (pure JS/WebAssembly)
- Fixes GLIBC version compatibility issues
- Rewrite database module for sql.js async API
- Add proper file persistence for sql.js (in-memory with save-to-file)
- Update server startup to initialize database before listening

sql.js works everywhere without native compilation
2026-03-27 22:38:36 +00:00

30 lines
685 B
JSON

{
"name": "moxie-backend",
"version": "1.0.0",
"description": "",
"main": "src/index.js",
"scripts": {
"start": "node src/index.js",
"dev": "node --watch src/index.js"
},
"repository": {
"type": "git",
"url": "https://f8e1300d871e905e27ce54c3455a3343104d9b04@git.client.guacamolebox.net/butterfly/moxie-backend.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"type": "module",
"dependencies": {
"bcryptjs": "^3.0.3",
"cors": "^2.8.6",
"dotenv": "^17.3.1",
"express": "^5.2.1",
"express-oauth2-jwt-bearer": "^1.7.4",
"helmet": "^8.1.0",
"jose": "^6.2.2",
"sql.js": "^1.14.1",
"uuid": "^13.0.0"
}
}