noteshare.space/server/package.json
2022-07-10 23:26:52 +02:00

48 lines
1.4 KiB
JSON

{
"name": "obsidian-note-sharing-server",
"version": "0.0.1",
"description": "",
"main": "server.js",
"scripts": {
"test": "run-s test:db:reset test:test",
"coverage": "run-s test:db:reset test:coverage",
"test-watch": "dotenv -e .env.test -- vitest unit --coverage",
"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 ./server.ts | npx pino-colada"
},
"author": "Maxime Cannoodt (mcndt)",
"license": "MIT",
"dependencies": {
"@prisma/client": "^4.0.0",
"body-parser": "^1.20.0",
"class-validator": "^0.13.2",
"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"
}
}