-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 2.79 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
77
78
79
80
{
"name": "devs_portal_backend",
"version": "1.0.0",
"description": "Rest API for LarnU Full-stack Bootcamp's final project for our graduation.",
"main": "index.js",
"scripts": {
"dev:start": "ts-node-dev --poll --respawn --transpile-only --quiet ./server.ts",
"dev:debug": "ts-node-dev --poll --respawn --transpile-only --quiet --inspect=4321 --project tsconfig.json ./server.ts",
"dev:lint": "eslint .",
"test:start": "jest --detectOpenHandles",
"test:watch": "jest --watchAll",
"test:coverage": "jest --coverage",
"prod:build": "tsc",
"prod:start": "NODE_ENV=production node ./dist/server.js",
"prod:bundle": "esbuild server.ts --platform=node --bundle --minify --outfile=bundle/server.js",
"typeorm:prod": "NODE_ENV=production typeorm-ts-node-commonjs -d ./dist/src/data-source.js",
"typeorm": "typeorm-ts-node-esm -d ./src/data-source.ts",
"db:create": "ts-node ./node_modules/typeorm-extension/dist/cli/index.js db:create",
"db:drop": "ts-node ./node_modules/typeorm-extension/dist/cli/index.js db:drop",
"db:seed": "ts-node ./node_modules/typeorm-extension/dist/cli/index.js seed",
"db:up": "npm run db:drop && npm run db:create && npm run typeorm migration:run && npm run db:seed"
},
"repository": {
"type": "git",
"url": "git+https://github.com/larnu-bootcamp/devs_portal_backend.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/larnu-bootcamp/devs_portal_backend/issues"
},
"homepage": "https://github.com/larnu-bootcamp/devs_portal_backend#readme",
"dependencies": {
"bcryptjs": "^2.4.3",
"cors": "^2.8.5",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"firebase": "^9.12.1",
"jsonwebtoken": "^8.5.1",
"morgan": "^1.10.0",
"multer": "^1.4.5-lts.1",
"pg": "^8.8.0",
"reflect-metadata": "^0.1.13",
"swagger-ui-express": "^4.5.0",
"typeorm": "^0.3.10",
"typeorm-extension": "^2.1.15",
"uuid": "^9.0.0",
"yamljs": "^0.3.0",
"zod": "^3.19.1"
},
"devDependencies": {
"@types/bcryptjs": "^2.4.2",
"@types/chai": "^4.3.3",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.14",
"@types/jest": "^29.2.0",
"@types/jsonwebtoken": "^8.5.9",
"@types/morgan": "^1.9.3",
"@types/multer": "^1.4.7",
"@types/node": "^18.11.2",
"@types/pg": "^8.6.5",
"@types/supertest": "^2.0.12",
"@types/swagger-ui-express": "^4.1.3",
"@types/uuid": "^8.3.4",
"@types/yamljs": "^0.2.31",
"@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.40.1",
"esbuild": "^0.15.11",
"eslint": "^8.25.0",
"jest": "^29.2.1",
"supertest": "^6.3.0",
"ts-jest": "^29.0.3",
"ts-node-dev": "^2.0.0",
"typescript": "^4.8.4"
},
"engines": {
"node": ">=16"
}
}