-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
38 lines (38 loc) · 1.08 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
{
"name": "hw-backend-stucture",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "nodemon index.js",
"docker:dev:db": "docker compose up -d hw_db",
"docker:build": "docker compose build",
"generate:migration": "knex migrate:make",
"generate:seed": "knex seed:make",
"migrate:latest": "knex migrate:latest",
"seed": "knex seed:run",
"reset:db": "knex migrate:rollback && npm run migrate:latest && npm run seed",
"test": "npm run reset:db && jest ./tests/index.test.js --forceExit --detectOpenHandles",
"docker:test:db": "docker compose -f docker-compose.test.yml up -d hw_db_test",
"docker:test": "docker compose -f docker-compose.test.yml up hm_test"
},
"author": "",
"license": "ISC",
"dependencies": {
"dotenv": "16.3.1",
"express": "4.18.2",
"joi": "17.11.0",
"jsonwebtoken": "9.0.2",
"knex": "3.0.1",
"pg": "8.11.3"
},
"devDependencies": {
"chai": "4.3.10",
"chai-http": "4.4.0",
"jest": "29.7.0",
"nodemon": "3.0.1"
},
"engines": {
"node": "20"
}
}