Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 5.9 KB
/
Copy pathpackage.json
File metadata and controls
125 lines (125 loc) · 5.9 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "fineract-backoffice-ui",
"version": "1.0.0-rc.1",
"license": "Apache-2.0",
"engines": {
"node": ">=26.0.0"
},
"scripts": {
"ng": "ng",
"start": "ng serve",
"start:sandbox": "ng serve --configuration sandbox",
"build": "ng build",
"build:sandbox": "ng build --configuration sandbox",
"watch": "ng build --watch --configuration development",
"test": "ng run fineract-backoffice-ui:unit-test",
"test:mfe": "ng run fineract-mfe:unit-test",
"test:unit": "ng run fineract-backoffice-ui:unit-test",
"test:e2e": "playwright test",
"test:e2e:mobile": "playwright test --project=mobile",
"test:e2e:local": "FINERACT_SERVER_URL=/fineract-provider/api/v1 FINERACT_TENANT_ID=default FINERACT_USERNAME=mifos FINERACT_PASSWORD=password playwright test --project=mocked --project=backend",
"seed:demo-data": "FINERACT_SERVER_URL=/fineract-provider/api/v1 FINERACT_TENANT_ID=default FINERACT_USERNAME=mifos FINERACT_PASSWORD=password playwright test --project=demo-seed",
"e2e:stack": "bash scripts/e2e-stack.sh",
"e2e:stack:fresh": "bash scripts/e2e-stack.sh --fresh",
"e2e:stack:2fa": "bash scripts/e2e-stack-2fa.sh",
"test:e2e:2fa": "FINERACT_SERVER_URL=/fineract-provider/api/v1 FINERACT_TENANT_ID=default FINERACT_USERNAME=mifos FINERACT_PASSWORD=password playwright test --project=two-factor --workers=1",
"lint": "eslint src --suppressions-location eslint-suppressions.json",
"lint:prune": "eslint src --suppressions-location eslint-suppressions.json --prune-suppressions",
"format": "prettier --write .",
"format:check": "prettier --check .",
"generate-api": "npm run copy-swagger && npm run clean-api && npx openapi-generator-cli generate -i ./api-spec/fineract.json -g typescript-angular -o src/app/api -t templates/openapi-generator --additional-properties=ngVersion=22.2.0",
"copy-swagger": "mkdir -p api-spec && node scripts/preprocess-spec.mjs ${FINERACT_SWAGGER_PATH:-./public/api/fineract.json} api-spec/fineract.json",
"clean-api": "node -e \"fs.rmSync('src/app/api/api',{recursive:true,force:true});fs.rmSync('src/app/api/model',{recursive:true,force:true})\"",
"verify-api-client": "npm run generate-api && git diff --exit-code src/app/api",
"i18n:check": "node scripts/check-translations.mjs",
"check:template-text": "node scripts/check-template-text.mjs",
"check:icons": "node scripts/check-icons.mjs",
"check:a11y-names": "node scripts/check-a11y-names.mjs",
"check:ui-primitives": "node scripts/check-ui-primitives.mjs",
"check:internal-endpoints": "node scripts/check-internal-endpoints.mjs",
"check:route-permissions": "node scripts/check-route-permissions.mjs",
"check:permission-codes": "node scripts/check-permission-codes.mjs",
"permissions:snapshot": "bash scripts/fetch-permission-codes.sh | node scripts/snapshot-permission-codes.mjs",
"check:nav-ids": "node scripts/check-nav-ids.mjs",
"check:branding-path": "node scripts/check-branding-path.mjs",
"check:reference-downstream": "node scripts/check-reference-downstream.mjs",
"check:responsive": "node scripts/check-responsive.mjs",
"check:theme-contrast": "node scripts/check-theme-contrast.mjs",
"branding:demo": "node scripts/make-branding-demo.mjs",
"check:licenses": "node scripts/check-dependency-licenses.mjs",
"check:licenses:production": "node scripts/check-dependency-licenses.mjs --production",
"check:licenses:selftest": "node scripts/check-dependency-licenses.mjs --self-test",
"check:version": "node scripts/check-version.mjs",
"test:eslint-rules": "node --test \"eslint-rules/*.test.js\"",
"test:scripts": "node --test \"scripts/*.test.mjs\"",
"typecheck:e2e": "tsc -p tsconfig.e2e.json",
"api:surface": "node scripts/check-api-surface.mjs",
"ga:check": "node scripts/ga-check.mjs",
"demo:record": "DEMO_RECORD=1 DEMO_BEAT_MS=900 PLAYWRIGHT_OUTPUT_DIR=demo-recordings FINERACT_SERVER_URL=/fineract-provider/api/v1 FINERACT_TENANT_ID=default FINERACT_USERNAME=mifos FINERACT_PASSWORD=password playwright test --project=backend --workers=1"
},
"prettier": {
"printWidth": 100,
"singleQuote": true,
"overrides": [
{
"files": "*.html",
"options": {
"parser": "angular"
}
}
]
},
"dependencies": {
"@angular/animations": "22.2.4",
"@angular/cdk": "^22.2.5",
"@angular/common": "22.2.4",
"@angular/compiler": "22.2.4",
"@angular/core": "22.2.4",
"@angular/forms": "22.2.4",
"@angular/platform-browser": "22.2.4",
"@angular/router": "22.2.4",
"@ionic/angular": "^8.8.15",
"@ngx-translate/core": "^18.1.0",
"@ngx-translate/http-loader": "^18.1.0",
"es-module-shims": "^2.8.4",
"ionicons": "^8.0.13",
"rxjs": "~7.8.0",
"tslib": "^2.9.1",
"zone.js": "~0.16.2"
},
"devDependencies": {
"@angular-architects/native-federation": "^22.2.4",
"@angular-devkit/build-angular": "^22.2.5",
"@angular/build": "22.2.5",
"@angular/cli": "^22.2.5",
"@angular/compiler-cli": "22.2.4",
"@axe-core/playwright": "^4.12.1",
"@emnapi/core": "1.11.3",
"@emnapi/runtime": "1.11.3",
"@openapitools/openapi-generator-cli": "^2.43.0",
"@playwright/test": "^1.65.0",
"@softarc/native-federation-orchestrator": "^4.9.0",
"angular-eslint": "^22.0.0",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.5",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-security": "^4.2.1",
"eslint-plugin-unicorn": "^65.0.1",
"jsdom": "^31.0.0",
"license-checker": "^25.0.1",
"prettier": "^3.9.6",
"prettier-plugin-organize-attributes": "^1.0.0",
"typescript": "~6.0.3",
"typescript-eslint": "8.73.0",
"vitest": "^5.1.0"
},
"overrides": {
"@openapitools/openapi-generator-cli": {
"@nestjs/core": {
"path-to-regexp": "^8.3.0"
}
},
"path-to-regexp": "^8.3.0"
}
}