noteshare.space/server/package.json

52 lines
1.6 KiB
JSON
Raw Normal View History

2022-06-22 00:30:11 +03:00
{
"name": "obsidian-quickshare-server",
2022-06-22 00:30:11 +03:00
"version": "0.0.1",
2022-07-11 13:04:53 +03:00
"description": "Express + SQLite3 + Prisma app for hosting encrypted notes.",
2022-06-22 00:30:11 +03:00
"main": "server.js",
"scripts": {
2022-07-10 15:03:23 +03:00
"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",
2022-07-10 15:03:23 +03:00
"test:db:reset": "dotenv -e .env.test -- npx prisma migrate reset -f",
2022-06-22 00:30:11 +03:00
"build": "npx tsc",
2022-11-13 15:20:19 +03:00
"dev": "npx nodemon src/server.ts | npx pino-colada",
"migrate": "npx prisma migrate dev"
2022-06-22 00:30:11 +03:00
},
"author": "Maxime Cannoodt (mcndt)",
"license": "MIT",
"dependencies": {
2022-06-29 15:17:38 +03:00
"@prisma/client": "^4.0.0",
"bloom-filters": "^3.0.0",
2022-07-10 15:19:58 +03:00
"body-parser": "^1.20.0",
2022-07-11 00:26:52 +03:00
"class-validator": "^0.13.2",
"crc": "^4.1.1",
2022-06-22 00:30:11 +03:00
"dotenv": "^16.0.1",
"express": "^4.18.1",
2022-06-29 23:19:50 +03:00
"express-rate-limit": "^6.4.0",
2022-06-29 18:14:05 +03:00
"helmet": "^5.1.0",
2022-07-06 15:59:38 +03:00
"pino": "^8.1.0",
"pino-http": "^8.1.1",
2022-06-22 00:30:11 +03:00
"sqlite3": "^5.0.8"
},
"devDependencies": {
2022-06-23 21:22:34 +03:00
"@types/cors": "^2.8.12",
2022-06-22 00:30:11 +03:00
"@types/express": "^4.17.13",
"@types/node": "^18.0.0",
"@types/sqlite3": "^3.1.8",
2022-07-09 11:47:03 +03:00
"@types/supertest": "^2.0.12",
2022-07-09 13:26:49 +03:00
"c8": "^7.11.3",
"dotenv-cli": "^6.0.0",
2022-06-29 18:14:05 +03:00
"nodemon": "^2.0.18",
2022-07-09 13:26:49 +03:00
"npm-run-all": "^4.1.5",
2022-07-06 16:12:11 +03:00
"pino-colada": "^2.2.2",
2022-06-29 15:17:38 +03:00
"prisma": "^4.0.0",
2022-06-22 00:30:11 +03:00
"supertest": "^6.2.3",
"ts-node": "^10.8.1",
"typescript": "^4.7.4",
"vite-tsconfig-paths": "^3.5.0",
"vitest": "^0.17.1"
2022-06-22 00:30:11 +03:00
}
}