48 lines
1.4 KiB
JSON
48 lines
1.4 KiB
JSON
{
|
|
"name": "obsidian-note-sharing-server",
|
|
"version": "0.0.1",
|
|
"description": "",
|
|
"main": "server.js",
|
|
"scripts": {
|
|
"test-watch": "vitest",
|
|
"test": "vitest run unit",
|
|
"test:unit": "vitest run unit",
|
|
"test:integration": "run-s db:test:cleanup db:test:migrate test:integration:test",
|
|
"test:integration:test": "dotenv -e .env.test -- vitest run --coverage --no-threads",
|
|
"db:test:migrate": "dotenv -e .env.test -- npx prisma db push",
|
|
"db:test:cleanup": "rm -f ./prisma/test.sqlite",
|
|
"coverage": "vitest run --coverage",
|
|
"build": "npx tsc",
|
|
"dev": "npx nodemon ./server.ts | npx pino-colada"
|
|
},
|
|
"author": "Maxime Cannoodt (mcndt)",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@prisma/client": "^4.0.0",
|
|
"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",
|
|
"vitest": "^0.17.1"
|
|
}
|
|
}
|