-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
73 lines (73 loc) · 3.86 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
{
"name": "graduatenu",
"engines": {
"node": ">= 14.x"
},
"homepage": "https://graduatenu.com",
"private": true,
"workspaces": {
"packages": [
"packages/*"
]
},
"scripts": {
"dev": "concurrently \"yarn foreach '@graduate/(common|api|frontend|api-client)' run dev\" \"yarn dev:proxy\"",
"prod": "concurrently \"yarn foreach '@graduate/(common|api|frontend|api-client)' run prod\" \"yarn dev:proxy\"",
"foreach": "yarn workspaces foreach --parallel --verbose --interlaced --include",
"dev:proxy": "node infrastructure/develop/dev-proxy.js",
"dev:db:up": "docker compose -f infrastructure/develop/docker-compose.db.yml up -d",
"dev:db:down": "docker compose -f infrastructure/develop/docker-compose.db.yml down",
"frontend:docker:build": "docker build -t graduatenu-frontend -f infrastructure/prod/Dockerfile.app .",
"frontend:docker:run": "docker run -p 4000:3000 graduatenu-frontend",
"backend:docker:build": "docker compose -f infrastructure/develop/docker-compose.api.yml build",
"backend:docker:run": "docker compose -f infrastructure/develop/docker-compose.api.yml up -d",
"backend:docker:down": "docker compose -f infrastructure/develop/docker-compose.api.yml down",
"frontend:build": "docker build --platform linux/amd64 --build-arg=\"COMMIT=$(git rev-parse HEAD)\" --build-arg=\"BUILD_TIMESTAMP=$(date +%s)\" --build-arg=\"COMMIT_MESSAGE=$(git --no-pager show -s --format=%s)\" -t $(sh ./infrastructure/prod/get-ecr-image-name.sh local-head frontend) -f ./infrastructure/prod/Dockerfile.app .",
"frontend:run": "docker run -p 4000:3000 $(sh ./infrastructure/prod/get-ecr-image-name.sh local-head frontend)",
"frontend:push": "docker push $(sh ./infrastructure/prod/get-ecr-image-name.sh local-head frontend)",
"backend:build": "docker build --platform linux/amd64 --build-arg=\"COMMIT=$(git rev-parse HEAD)\" --build-arg=\"BUILD_TIMESTAMP=$(date +%s)\" --build-arg=\"COMMIT_MESSAGE=$(git --no-pager show -s --format=%s)\" -t $(sh ./infrastructure/prod/get-ecr-image-name.sh local-head backend) -f ./infrastructure/prod/Dockerfile.server .",
"backend:run": "docker run -p 4001:3001 $(sh ./infrastructure/prod/get-ecr-image-name.sh local-head backend)",
"backend:push": "docker push $(sh ./infrastructure/prod/get-ecr-image-name.sh local-head backend)",
"ecr:docker:auth": "aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin $(aws sts get-caller-identity --query Account --output text).dkr.ecr.us-east-1.amazonaws.com",
"lint": "eslint packages/ --ext .ts,.tsx .",
"tsc": "yarn workspaces foreach -v --exclude . run tsc",
"g:babel": "cd $INIT_CWD && babel",
"g:cross-env": "cd $INIT_CWD && cross-env",
"postinstall": "husky install"
},
"dependencies": {
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.17.8",
"@nestjs/axios": "^3.0.2",
"@nestjs/terminus": "^10.2.2",
"@nestjs/throttler": "^5.0.1",
"cross-env": "^7.0.3",
"fuse.js": "^7.0.0",
"nodemailer": "^6.9.1",
"react-icons": "^5.3.0",
"universal-cookie": "^7.2.0"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.7",
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.16.7",
"@types/nodemailer": "^6.4.7",
"@typescript-eslint/eslint-plugin": "^5.15.0",
"@typescript-eslint/parser": "^5.15.0",
"concurrently": "^7.0.0",
"eslint": "^8.11.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-monorepo-cop": "^1.0.2",
"eslint-plugin-no-only-tests": "^2.6.0",
"express": "^4.17.3",
"http-proxy-middleware": "^2.0.3",
"husky": "^8.0.0",
"prettier": "^2.5.1",
"prettier-plugin-jsdoc": "^0.3.38",
"pretty-quick": "^3.1.3",
"typescript": "^4.6.2"
},
"packageManager": "[email protected]"
}