-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
76 lines (76 loc) · 2.67 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
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"name": "docker-express-boilerplate",
"version": "1.0.0",
"description": "A Docker-node-typescript-typeorm-postgre boilerplate.",
"main": "index.js",
"author": "Alexis Le Boucher",
"license": "MIT",
"dependencies": {
"bcryptjs": "2.4.3",
"connect-pg-simple": "10.0.0",
"cors": "2.8.5",
"dotenv": "16.4.7",
"express": "4.21.2",
"express-async-errors": "3.1.1",
"express-session": "1.18.1",
"helmet": "8.0.0",
"http-errors": "2.0.0",
"morgan": "1.10.0",
"passport": "0.7.0",
"passport-local": "1.0.0",
"pg": "8.13.1",
"reflect-metadata": "0.2.2",
"tslib": "2.8.1",
"typeorm": "0.3.20",
"validator": "13.12.0"
},
"devDependencies": {
"@eslint-community/eslint-plugin-eslint-comments": "4.4.1",
"@eslint/js": "9.16.0",
"@stylistic/eslint-plugin": "2.12.1",
"@types/bcryptjs": "2.4.6",
"@types/connect-pg-simple": "7.0.3",
"@types/cors": "2.8.17",
"@types/express": "4.17.21",
"@types/express-session": "1.18.1",
"@types/http-errors": "2.0.4",
"@types/jest": "29.5.14",
"@types/morgan": "1.9.9",
"@types/node": "22.10.2",
"@types/passport": "1.0.17",
"@types/passport-local": "1.0.38",
"@types/supertest": "6.0.2",
"@types/validator": "13.12.2",
"eslint": "9.16.0",
"eslint-import-resolver-typescript": "3.7.0",
"eslint-plugin-import": "2.31.0",
"jest": "29.7.0",
"nodemon": "3.1.7",
"supertest": "7.0.0",
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
"typescript": "5.7.2",
"typescript-eslint": "8.18.0"
},
"scripts": {
"start": "node build/index.js",
"dev": "yarn && nodemon -L src/index.ts --watch \"src/**/*.{ts,js}\"",
"build": "tsc -p tsconfig-build.json",
"type-check": "tsc --noEmit",
"lint:fix": "eslint --fix \"{src,__tests__}/**/*.{ts,js}\"",
"lint": "eslint \"{src,__tests__}/**/*.{ts,js}\"",
"test": "jest --runInBand",
"test:coverage": "jest --runInBand --collectCoverage",
"docker:up": "docker-compose up -d && yarn docker:shell",
"docker:down": "docker-compose down",
"docker:shell": "docker exec -it api sh",
"docker:build": "docker build -t docker-express-boilerplate-api .",
"migration:generate": "sh -c 'ts-node ./node_modules/typeorm/cli.js migration:generate -d src/data-source.ts src/migrations/$0'",
"migration:create": "sh -c 'ts-node ./node_modules/typeorm/cli.js migration:create src/migrations/$0'",
"migration:revert": "ts-node ./node_modules/typeorm/cli.js migration:revert -d src/data-source.ts",
"migration:run": "ts-node ./node_modules/typeorm/cli.js migration:run -d src/data-source.ts"
},
"resolutions": {
"@types/express": "4.17.21"
}
}