-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
41 lines (41 loc) · 1.13 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"name": "server",
"version": "1.0.0",
"description": "",
"main": "./src/index.ts",
"scripts": {
"start-dev": "nodemon ./src/server.ts",
"start-ts": "ts-node ./src/server.ts",
"build": "npm install && npx tsc",
"start": "node ./dist/server.js",
"setdb": "npx dbmate -e TEST_DATABASE_URL --no-dump-schema up",
"dropdb": "npx dbmate -e TEST_DATABASE_URL drop",
"test:unit": "npm run setdb && jest --detectOpenHandles",
"test:unit:coverage": "npm run setdb && jest --coverage --detectOpenHandles"
},
"author": "STP24",
"license": "ISC",
"dependencies": {
"cors": "^2.8.5",
"dotenv": "^16.4.2",
"express": "^4.19.2",
"express-validator": "^7.0.1",
"multer": "^1.4.5-lts.1",
"pg": "^8.11.3",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"devDependencies": {
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/pg": "^8.11.0",
"@types/supertest": "^6.0.2",
"dbmate": "^2.14.0",
"jest": "^29.7.0",
"nodemon": "^3.0.3",
"prettier": "^3.2.5",
"supertest": "^6.3.4",
"ts-jest": "^29.1.2"
}
}