-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 2.18 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"name": "lc_backend",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build": "npx tsc",
"jasmine": "jasmine --config=jasmine.json",
"migrate:run": "npx db-migrate up:all",
"migrate:reset": "npx db-migrate reset",
"docker:startTest": "docker-compose --env-file .env up db_test -d",
"docker:down": "docker-compose down -v",
"delDbTest": "npx db-migrate db:drop test",
"test": "npm run docker:down && npm run docker:startTest && npm run migrate:reset --test && npm run migrate:run --test && npm run build && npm run jasmine && npm run delDbTest && npm run docker:down",
"docker:startDev": "docker-compose --env-file .env up db_dev -d",
"start:dev": "npm run docker:startDev && nodemon src/app.ts",
"start": "npm run docker:startDev && npm run build && node dist/app.js",
"lint": "eslint --ignore-path .gitignore --ext \"**/*.{ts,tsx}\"",
"format": "prettier --ignore-path .gitignore --config .prettierrc --write \"**/*.+(js|ts|json)\"",
"fix": "eslint --fix src/**/*.{ts,js,json,md}"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@types/bcrypt": "^5.0.0",
"@types/body-parser": "^1.19.2",
"@types/cors": "^2.8.13",
"@types/db-migrate-pg": "^0.0.10",
"@types/express": "^4.17.15",
"@types/jasmine": "^4.3.1",
"@types/jsonwebtoken": "^8.5.9",
"@types/morgan": "^1.9.3",
"@types/node": "^18.11.13",
"@types/pg": "^8.6.5",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"eslint": "^8.29.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"jasmine": "^4.5.0",
"jasmine-spec-reporter": "^7.0.0",
"morgan": "^1.10.0",
"nodemon": "^2.0.20",
"prettier": "^2.8.1",
"supertest": "^6.3.3",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
},
"dependencies": {
"bcrypt": "^5.1.0",
"body-parser": "^1.20.1",
"cors": "^2.8.5",
"db-migrate": "^0.11.13",
"db-migrate-pg": "^1.2.2",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"joi": "^17.7.0",
"jsonwebtoken": "^9.0.0",
"pg": "^8.8.0"
}
}