generated from gdsc-nits-org/MENPAL-T
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
88 lines (88 loc) · 2.95 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
81
82
83
84
85
86
87
88
{
"name": "penpal-t",
"config": {
"dist_dir": "dist",
"build_dir": "build",
"build_entry": "server.js",
"dist_outfile": "main.js"
},
"scripts": {
"start": "pnpm build && sls offline --httpPort 5000",
"start-win": "pnpm build-win && sls offline --httpPort 5000",
"start-server": "pnpm build && node ./dist/main.js",
"start-server-win": "pnpm build-win && node ./dist/main.js",
"dev-start": "nodemon -e ts --exec pnpm run start-server",
"dev": "nodemon -e ts --exec pnpm run dev-start",
"dev-win": "nodemon -e ts --exec pnpm run start-server-win",
"build": "pnpm compile && pnpm esbuild && rm -rf $npm_package_config_build_dir",
"build-win": "pnpm compile && pnpm esbuild-win && del /s /q /f %npm_package_config_build_dir% 1>nul",
"esbuild": "esbuild $npm_package_config_build_dir/$npm_package_config_build_entry --bundle --platform=node --target=node18 --outfile=$npm_package_config_dist_dir/$npm_package_config_dist_outfile --minify",
"esbuild-win": "esbuild %npm_package_config_build_dir%/%npm_package_config_build_entry% --bundle --platform=node --target=node18 --outfile=%npm_package_config_dist_dir%/%npm_package_config_dist_outfile% --minify",
"compile": "tsc",
"lint": "eslint . --ext .ts --fix",
"pretty": "pnpm prettier --write .",
"precommit": "lint-staged",
"prepare": "npx simple-git-hooks",
"db:update": "prisma migrate dev"
},
"devDependencies": {
"@types/cookie-parser": "^1.4.3",
"@types/cookie-session": "^2.0.44",
"@types/cors": "^2.8.13",
"@types/express": "^4.17.16",
"@types/morgan": "^1.9.4",
"@types/multer": "^1.4.7",
"@types/node": "^18.11.18",
"@types/passport": "^1.0.12",
"@types/passport-local": "^1.0.35",
"@types/swagger-ui-express": "^4.1.3",
"@types/yamljs": "^0.2.31",
"@typescript-eslint/eslint-plugin": "^5.49.0",
"@typescript-eslint/parser": "^5.49.0",
"dotenv": "^16.3.1",
"esbuild": "^0.17.4",
"eslint": "^8.32.0",
"lint-staged": "^13.1.0",
"nodemon": "^2.0.20",
"prettier": "^2.8.3",
"prisma": "^4.15.0",
"simple-git-hooks": "^2.8.1",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.2",
"typescript": "^4.9.4"
},
"dependencies": {
"@aws-sdk/abort-controller": "^3.0.0",
"@aws-sdk/client-s3": "^3.352.0",
"@prisma/client": "^5.0.0",
"@types/jsonwebtoken": "^9.0.5",
"cookie-parser": "^1.4.6",
"cookie-session": "^2.0.0",
"cors": "^2.8.5",
"express": "^4.18.2",
"express-validator": "^6.15.0",
"firebase-admin": "^12.0.0",
"helmet": "^6.0.1",
"jsonwebtoken": "^9.0.2",
"morgan": "^1.10.0",
"multer": "1.4.5-lts.1",
"passport": "0.5",
"passport-local": "^1.0.0"
},
"lint-staged": {
"*.ts": [
"pnpm lint",
"pnpm pretty"
]
},
"simple-git-hooks": {
"pre-commit": "pnpm precommit"
},
"nodemonConfig": {
"ignore": [
"./build/**",
"./dist/**",
".serverless/**"
]
}
}