noteshare.space/server/package.json

51 lines
1.5 KiB
JSON

{
"name": "obsidian-quickshare-server",
"version": "0.0.1",
"description": "Express + SQLite3 + Prisma app for hosting encrypted notes.",
"main": "server.js",
"scripts": {
"test": "run-s test:db:reset test:test",
"coverage": "run-s test:db:reset test:coverage",
"test-watch": "dotenv -v UNIT_TEST=TRUE -e .env.test -- vitest unit",
"test:test": "dotenv -e .env.test -- vitest run --no-threads",
"test:coverage": "dotenv -e .env.test -- vitest run --no-threads --coverage",
"test:db:reset": "dotenv -e .env.test -- npx prisma migrate reset -f",
"build": "npx tsc",
"dev": "npx nodemon src/server.ts | npx pino-colada"
},
"author": "Maxime Cannoodt (mcndt)",
"license": "MIT",
"dependencies": {
"@prisma/client": "^4.0.0",
"bloom-filters": "^3.0.0",
"body-parser": "^1.20.0",
"class-validator": "^0.13.2",
"crc": "^4.1.1",
"dotenv": "^16.0.1",
"express": "^4.18.1",
"express-rate-limit": "^6.4.0",
"helmet": "^5.1.0",
"pino": "^8.1.0",
"pino-http": "^8.1.1",
"sqlite3": "^5.0.8"
},
"devDependencies": {
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/node": "^18.0.0",
"@types/sqlite3": "^3.1.8",
"@types/supertest": "^2.0.12",
"c8": "^7.11.3",
"dotenv-cli": "^6.0.0",
"nodemon": "^2.0.18",
"npm-run-all": "^4.1.5",
"pino-colada": "^2.2.2",
"prisma": "^4.0.0",
"supertest": "^6.2.3",
"ts-node": "^10.8.1",
"typescript": "^4.7.4",
"vite-tsconfig-paths": "^3.5.0",
"vitest": "^0.17.1"
}
}