-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.back.json
More file actions
97 lines (97 loc) · 3.67 KB
/
package.back.json
File metadata and controls
97 lines (97 loc) · 3.67 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
92
93
94
95
96
97
{
"name": "vercel-basic-replica",
"version": "1.0.0",
"description": "",
"main": "index.cjs",
"type": "module",
"scripts": {
"docker:run": "pnpm docker:build && pnpm docker:start",
"docker:install": "pnpm i && cd src/frontend && pnpm i",
"docker:build": "tsc -b && tsc-alias && cd src/frontend && pnpm docker:build",
"docker:start": "concurrently -k 'pnpm:docker:start:router' 'pnpm:docker:start:worker'",
"docker:start:router": "node --es-module-specifier-resolution=node ./dist/router/index.js",
"docker:start:worker": "node --es-module-specifier-resolution=node ./dist/worker/index.js",
"inject-env": "dotenv -e .env.override -- doppler run --preserve-env=true --",
"install-all": "pnpm i dotenv-cli && pnpm inject-env sh -c 'echo; echo \"🚀 backend...\" && pnpm i && echo; echo \"🚀 frontend...\" && cd src/frontend && pnpm i'",
"build": "concurrently -c bgCyan,bgMagenta,bgBlue 'pnpm:build:backend' 'pnpm:build:frontend' 'pnpm:build:static'",
"build:backend": "pnpm inject-env tsc -b && tsc-alias",
"build:frontend": "pnpm inject-env sh -c 'cd src/frontend && pnpm build'",
"build:static": "cp -r public/ dist/",
"start": "concurrently -k 'pnpm:start:router' 'pnpm:start:worker'",
"start:router": "pnpm inject-env node --es-module-specifier-resolution=node ./dist/router/index.js",
"start:worker": "pnpm inject-env node --es-module-specifier-resolution=node ./dist/worker/index.js",
"dev": "nodemon",
"dev:concurrently": "concurrently -c bgBlue,bgGreen,bgMagenta 'pnpm:dev:router' 'pnpm:dev:worker' 'pnpm:dev:frontend'",
"dev:router": "pnpm inject-env tsx ./src/router/index.ts",
"dev:worker": "pnpm inject-env tsx ./src/worker/index.ts",
"dev:frontend": "pnpm inject-env sh -c 'cd src/frontend && pnpm dev'",
"preinstall": "npx only-allow pnpm",
"prepare": "husky",
"pre-commit": "pnpm run check-branch-name && lint-staged",
"check-branch-name": "chmod 755 githooks/check_branch_name.sh && bash githooks/check_branch_name.sh",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"lint-staged": {
"*.{ts,tsx}": "eslint --fix",
"*.{css,scss}": "prettier --write",
"*.css": "stylelint --fix",
"*.scss": "stylelint --fix"
},
"engines": {
"node": ">=18.0.0",
"pnpm": ">=8.1.0",
"npm": "please-use-pnpm"
},
"dependencies": {
"@auth/express": "^0.5.2",
"@auth/mongodb-adapter": "^2.6.0",
"@aws-sdk/client-s3": "^3.535.0",
"@aws-sdk/lib-storage": "^3.535.0",
"@upstash/redis": "^1.29.0",
"connect-redis": "^7.1.1",
"cors": "^2.8.5",
"express": "^4.18.3",
"express-session": "^1.18.0",
"ioredis": "^5.3.2",
"mime-types": "^2.1.35",
"mongodb": "^6.5.0",
"only-allow": "^1.2.1",
"redis": "^4.6.13",
"simple-git": "^3.22.0",
"husky": "^9.0.11",
"concurrently": "^8.2.2",
"ts-node": "^10.9.2",
"tsc-alias": "^1.8.8",
"tsconfig-paths": "^4.2.0",
"tscpaths": "^0.0.9",
"tsx": "^4.7.2",
"typescript": "^5.4.2",
"zod": "^3.22.4",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/express-session": "^1.18.0",
"@types/mime-types": "^2.1.4",
"@types/node": "^20.11.28"
},
"devDependencies": {
"@commitlint/cli": "^19.2.0",
"@commitlint/config-conventional": "^19.1.0",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"autoprefixer": "^10.4.18",
"cjs-to-es6": "^2.0.1",
"dotenv-cli": "^7.4.1",
"eslint": "^8.57.0",
"eslint-config-next": "^14.1.3",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.1",
"lint-staged": "^15.2.2",
"nodemon": "^3.1.0"
}
}