printhive/package.json
dlawler489 5af88eb5ce
All checks were successful
build-and-push / docker (push) Successful in 29s
Add email/password auth + SMTP password resets
- users + password_resets tables; bcrypt hashing; JWT session in an
  httpOnly cookie (auth_secret auto-generated in settings)
- /api gated behind auth (except /api/config and /api/auth/*)
- First-run creates the account (no open registration after that);
  login, logout, forgot/reset-password flows
- SMTP settings (host/port/secure/user/pass/from) in Settings menu;
  nodemailer sends reset links
- Auth screen (sign in / create account / forgot / reset) gates the SPA;
  Sign out button; COOKIE_SECURE=true in compose for HTTPS

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 22:33:11 +10:00

33 lines
728 B
JSON

{
"name": "printhive",
"version": "1.0.0",
"description": "Printhive — a web app for organizing 3D-printing files (STL, 3MF, OBJ, ...) with URL import",
"main": "server.js",
"scripts": {
"start": "node server.js",
"dev": "nodemon server.js"
},
"keywords": [
"stl",
"3d-printing",
"library",
"manager"
],
"author": "",
"license": "MIT",
"dependencies": {
"adm-zip": "^0.5.17",
"bcryptjs": "^3.0.3",
"cookie-parser": "^1.4.7",
"dotenv": "^17.4.2",
"express": "^4.18.2",
"jsonwebtoken": "^9.0.3",
"multer": "^1.4.5-lts.1",
"node-stl": "^0.7.0",
"nodemailer": "^9.0.1",
"pg": "^8.22.0"
},
"devDependencies": {
"nodemon": "^3.0.2"
}
}