-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 4.13 KB
/
Copy pathpackage.json
File metadata and controls
84 lines (84 loc) · 4.13 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
{
"name": "koku-ui-mfe-on-prem",
"version": "0.0.1",
"description": "Koku-ui microfrontend (MFE) with Module Federation",
"main": "index.js",
"repository": "https://github.com/project-koku/koku-ros-ui.git",
"author": "Red Hat",
"license": "GNU AGPLv3",
"private": true,
"workspaces": [
"apps/*",
"libs/*"
],
"engines": {
"node": ">=20.15.0",
"npm": ">=10.8.0"
},
"scripts": {
"build": "npm run build:prod",
"build:prod": "npm run build:libs && npm run -w @koku/koku-mfe-cloud build",
"check:dependencies": "npx npm-check-updates",
"check:dependencies:update": "npx npm-check-updates -u",
"check:messages": "sh libs/scripts/unused-messages.sh",
"clean": "rimraf dist .cache **/dist",
"codemods": "npx @patternfly/pf-codemods@latest apps/koku-mfe-cloud/src",
"deploy": "npm-run-all build lint test",
"install:pkgs": "npm install",
"install:pkgs:force": "npm install --force",
"lint": "npm-run-all lint:*",
"lint:ts": "eslint \"{libs,apps}/*/src/**/*.{ts,tsx}\"",
"lint:ts:fix": "eslint \"{libs,apps}/*/src/**/*.{ts,tsx}\" --fix",
"patch:hosts": "fec patch-etc-hosts",
"postinstall": "ts-patch install && rm -rf .cache",
"release:prod": "sh apps/koku-mfe-cloud/scripts/release-branch.sh -p",
"start": "npm run -w @koku/koku-mfe-cloud start",
"start:csb": "CLOUD_SERVICES_BACKEND_PORT=8000 npm run start",
"start:ephemeral": "EPHEMERAL_PORT=8000 npm run start",
"start:hmr": "HMR=true npm run start",
"start:local:api": "LOCAL_API_PORT=8000 LOCAL_API_HOST=localhost KEYCLOAK_PORT=4020 npm run start",
"start:static": "npm run -w @koku/koku-mfe-cloud start:static",
"stats": "npm run build:prod --profile --json > stats.json",
"test": "jest --no-cache",
"test:clean": "jest --clearCache",
"test:update": "npm run test:clean && jest --updateSnapshot",
"translations": "npm-run-all translations:extract translations:compile translations:compile:ast translations:datafile",
"translations:test": "npm-run-all translations:extract translations:compile translations:compile:ast 'translations:syncTranslations --locale fr' 'translations:syncTranslations --locale de' translations:datafile",
"translations:clean": "find libs/i18n/src -maxdepth 1 -type f -name \"*.json\" ! -name \"data.json\" ! -name \"translations.json\" -exec rm -f {} +",
"translations:extract": "npx formatjs extract apps/koku-mfe-cloud/src/locales/*.ts --out-file build/messages/src/Messages.json",
"translations:compile": "npx formatjs compile build/messages/src/Messages.json --out-file libs/i18n/src/translations.json",
"translations:compile:ast": "npx formatjs compile build/messages/src/Messages.json --out-file libs/i18n/src/en.json --ast",
"translations:datafile": "node libs/scripts/createDataJson.js --lang-dir libs/i18n/src/",
"translations:syncTranslations": "node libs/scripts/syncTranslations.js --lang-dir libs/i18n/src/",
"verify": "npm-run-all build lint test",
"build:libs": "npm run -w @koku/api build && npm run -w @koku/i18n build",
"dev": "npm run -w @koku/koku-mfe-cloud start",
"format": "prettier --check --write \"{libs,apps}/*/src/**/*.{js,jsx,ts,tsx}\""
},
"devDependencies": {
"@eslint/compat": "^1.3.2",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.33.0",
"@swc/core": "^1.13.3",
"@swc/jest": "^0.2.39",
"@types/jest": "^30.0.0",
"@types/react": "^18.3.16",
"@types/react-dom": "^18.3.5",
"@typescript-eslint/eslint-plugin": "^8.39.0",
"@typescript-eslint/parser": "^8.39.0",
"eslint": "^9.32.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-testing-library": "^7.6.4",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^30.0.5",
"jest-transform-stub": "^2.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.6.2",
"rimraf": "^6.0.1",
"typescript": "^5.9.2"
},
"packageManager": "yarn@4.5.0+sha512.837566d24eec14ec0f5f1411adb544e892b3454255e61fdef8fd05f3429480102806bac7446bc9daff3896b01ae4b62d00096c7e989f1596f2af10b927532f39"
}