-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 4.96 KB
/
Copy pathpackage.json
File metadata and controls
83 lines (83 loc) · 4.96 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
{
"name": "payment-processing-poc",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"build:shared": "ng build shared",
"build:shell": "ng build shell --configuration production",
"build:accounts-mfe": "ng build accounts --configuration production",
"build:payments-mfe": "ng build payments --configuration production",
"build:notifications-mfe": "ng build notifications --configuration production",
"build:frontends": "npm run build:shared && npm run build:accounts-mfe && npm run build:payments-mfe && npm run build:notifications-mfe && npm run build:shell",
"build:api:authentication": "npm --prefix backends/authentication run build",
"build:api:accounts": "npm --prefix backends/accounts run build",
"build:api:payments": "npm --prefix backends/payments run build",
"build:api:notifications": "npm --prefix backends/notifications run build",
"build:apis": "npm run build:api:authentication && npm run build:api:accounts && npm run build:api:payments && npm run build:api:notifications",
"build:all": "npm run build:frontends && npm run build:apis",
"start:shell": "ng serve shell --port 4200",
"start:accounts-mfe": "ng serve accounts --port 4201",
"start:payments-mfe": "ng serve payments --port 4202",
"start:notifications-mfe": "ng serve notifications --port 4203",
"start:api:authentication": "DATASET_PATH=$PWD/datasets/json PORT=3000 npm --prefix backends/authentication run dev",
"start:api:accounts": "DATASET_PATH=$PWD/datasets/json PORT=3001 npm --prefix backends/accounts run dev",
"start:api:payments": "DATASET_PATH=$PWD/datasets/json PORT=3002 npm --prefix backends/payments run dev",
"start:api:notifications": "DATASET_PATH=$PWD/datasets/json PORT=3003 npm --prefix backends/notifications run dev",
"test": "ng test --watch=false --browsers=ChromeHeadless",
"docker:up": "docker compose -f infrastructure/docker-compose.yml up --build",
"docker:down": "docker compose -f infrastructure/docker-compose.yml down -v",
"test:api:authentication": "npm --prefix backends/authentication test",
"test:api:accounts": "npm --prefix backends/accounts test",
"test:api:payments": "npm --prefix backends/payments test",
"test:api:notifications": "npm --prefix backends/notifications test",
"test:apis": "npm run test:api:authentication && npm run test:api:accounts && npm run test:api:payments && npm run test:api:notifications",
"start:apis": "concurrently -k -n auth-api,accounts-api,payments-api,notifications-api \"npm run start:api:authentication\" \"npm run start:api:accounts\" \"npm run start:api:payments\" \"npm run start:api:notifications\"",
"start:frontends": "npm run build:shared && concurrently -k -n accounts-mfe,payments-mfe,notifications-mfe,shell \"npm run start:accounts-mfe\" \"npm run start:payments-mfe\" \"npm run start:notifications-mfe\" \"npm run start:shell\"",
"start:all": "npm run build:shared && concurrently -k -n auth-api,accounts-api,payments-api,notifications-api,accounts-mfe,payments-mfe,notifications-mfe,shell \"npm run start:api:authentication\" \"npm run start:api:accounts\" \"npm run start:api:payments\" \"npm run start:api:notifications\" \"npm run start:accounts-mfe\" \"npm run start:payments-mfe\" \"npm run start:notifications-mfe\" \"npm run start:shell\"",
"install:all": "npm install --no-audit --no-fund --registry=https://registry.npmjs.org/ && npm --prefix backends/authentication install --no-audit --no-fund --registry=https://registry.npmjs.org/ && npm --prefix backends/accounts install --no-audit --no-fund --registry=https://registry.npmjs.org/ && npm --prefix backends/payments install --no-audit --no-fund --registry=https://registry.npmjs.org/ && npm --prefix backends/notifications install --no-audit --no-fund --registry=https://registry.npmjs.org/"
},
"prettier": {
"printWidth": 100,
"singleQuote": true,
"overrides": [
{
"files": "*.html",
"options": {
"parser": "angular"
}
}
]
},
"private": true,
"dependencies": {
"@angular/animations": "^21.2.17",
"@angular/common": "^21.2.17",
"@angular/compiler": "^21.2.17",
"@angular/core": "^21.2.17",
"@angular/forms": "^21.2.17",
"@angular/platform-browser": "^21.2.17",
"@angular/router": "^21.2.17",
"@softarc/native-federation-node": "^3.5.5",
"es-module-shims": "^1.5.12",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.16.2"
},
"devDependencies": {
"@angular-architects/native-federation": "^21.2.5",
"@angular-devkit/build-angular": "^21.2.18",
"@angular/build": "^21.2.18",
"@angular/cli": "^21.2.18",
"@angular/compiler-cli": "^21.2.17",
"@types/jasmine": "~5.1.0",
"jasmine-core": "~5.9.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"ng-packagr": "^21.2.5",
"typescript": "~5.9.3",
"concurrently": "^9.2.1"
}
}