-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 3.07 KB
/
Copy pathpackage.json
File metadata and controls
91 lines (91 loc) · 3.07 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "express-ts-postgres-starter",
"version": "1.0.0",
"description": "Express TypeScript PostgreSQL starter with authentication, testing, and best practices",
"main": "dist/index.js",
"scripts": {
"start": "node dist/index.js",
"dev": "npx nodemon src/index.ts",
"watch": "npx tsc -w",
"build": "npx tsc",
"lint": "npx eslint . --ext .ts",
"format": "npx prettier --write \"{src,test,scripts,__tests__}/**/*.{ts,js}\" \"*.{ts,js}\"",
"test": "npm run test:unit && npm run test:integration && npm run test:e2e",
"test:unit": "npx jest --config __tests__/jest.unit.config.js",
"test:integration": "npx jest --config __tests__/jest.integration.config.js",
"test:e2e": "npx jest --config __tests__/jest.e2e.config.js",
"test:watch": "npx jest --watch",
"test:coverage": "npx jest --coverage",
"migrate:create": "npx node-pg-migrate --config migrate-config.js create",
"migrate:up": "npx node-pg-migrate --config migrate-config.js up",
"migrate:down": "npx node-pg-migrate --config migrate-config.js down",
"docs": "npx tsoa spec-and-routes",
"docker": "docker compose up",
"docker:build": "docker compose up --build",
"docker:down": "docker compose down",
"docker:logs": "docker compose logs -f",
"pipeline": "npm run lint && npm run migrate:up && npm test"
},
"keywords": [
"express",
"typescript",
"postgresql",
"authentication",
"api"
],
"author": "",
"license": "MIT",
"dependencies": {
"bcrypt": "^5.1.1",
"compression": "^1.7.4",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"express-rate-limit": "^7.1.5",
"helmet": "^7.1.0",
"jsonwebtoken": "^9.0.2",
"morgan": "^1.10.0",
"node-pg-migrate": "^7.6.1",
"passport": "^0.7.0",
"passport-jwt": "^4.0.1",
"passport-local": "^1.0.0",
"pg": "^8.11.3",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.0",
"tsoa": "^5.1.1",
"uuid": "^11.1.0",
"winston": "^3.11.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/bcrypt": "^5.0.2",
"@types/compression": "^1.7.5",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.11",
"@types/jsonwebtoken": "^9.0.5",
"@types/morgan": "^1.9.9",
"@types/node": "^20.10.5",
"@types/passport": "^1.0.16",
"@types/passport-jwt": "^3.0.13",
"@types/passport-local": "^1.0.38",
"@types/pg": "^8.10.9",
"@types/supertest": "^2.0.16",
"@types/swagger-jsdoc": "^6.0.4",
"@types/swagger-ui-express": "^4.1.6",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"concurrently": "^8.2.2",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.0.1",
"jest": "^29.7.0",
"nodemon": "^3.0.2",
"prettier": "^3.1.1",
"supertest": "^6.3.3",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
}
}