-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
117 lines (117 loc) · 4.51 KB
/
package.json
File metadata and controls
117 lines (117 loc) · 4.51 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
{
"name": "root",
"version": "1.0.0",
"private": true,
"engines": {
"node": "20 || 22"
},
"scripts": {
"// Development": "Scripts for local development",
"dev": "yarn start",
"start": "backstage-cli package start",
"build": "backstage-cli package build",
"// Backend Builds": "Build individual backend services",
"build:backend": "yarn build:backend-main && yarn build:backend-catalog && yarn build:backend-techdocs",
"build:backend-main": "yarn workspace backend-main build",
"build:backend-catalog": "yarn workspace backend-catalog build",
"build:backend-techdocs": "yarn workspace backend-techdocs build",
"build:all": "backstage-cli repo build --all",
"// Testing": "Run tests and validation",
"clean": "backstage-cli repo clean",
"test": "backstage-cli repo test",
"test:all": "backstage-cli repo test --coverage",
"test:e2e": "playwright test",
"// Code Quality (CI)": "Linting, type checking, and formatting - used by CI",
"lint": "backstage-cli repo lint --since origin/main",
"lint:all": "backstage-cli repo lint",
"lint:fix": "yarn lint:all --fix",
"type-check": "tsc --noEmit",
"type-check:watch": "tsc --noEmit --watch",
"format": "prettier --write .",
"format:check": "prettier --check .",
"quality:check": "yarn lint:all && yarn type-check && yarn format:check",
"quality:fix": "yarn lint:fix && yarn format",
"validate": "yarn quality:check && yarn test",
"validate:ci": "yarn lint:all && yarn type-check && yarn test:all",
"// Docker": "Container management with Podman",
"docker:build": "podman compose --profile standard --profile kubernetes build",
"docker:build:frontend": "podman compose build frontend",
"docker:build:backend": "yarn docker:build:main && yarn docker:build:catalog && yarn docker:build:techdocs",
"docker:build:main": "podman compose build backend-main",
"docker:build:catalog": "podman compose build backend-catalog",
"docker:build:techdocs": "podman compose build backend-techdocs",
"docker:up": "podman compose --profile standard --profile kubernetes up -d",
"docker:up:build": "podman compose --profile standard --profile kubernetes up --build --force-recreate -d",
"docker:down": "podman compose down",
"docker:logs": "podman compose logs -f",
"// Utilities": "General utility scripts",
"new": "backstage-cli new",
"// Git Hooks": "Husky setup and pre-commit hooks",
"prepare": "husky install || true",
"pre-commit": "yarn type-check && yarn lint-staged",
"// Setup": "Initial project setup and validation",
"setup": "yarn install && yarn prepare && chmod +x .husky/* 2>/dev/null || true",
"setup:complete": "yarn setup && echo '🎉 Setup complete! Use yarn quality:check to validate your setup.'"
},
"workspaces": {
"packages": [
"packages/*",
"plugins/*"
]
},
"devDependencies": {
"@backstage/cli": "^0.34.4",
"@backstage/e2e-test-utils": "^0.1.1",
"@playwright/test": "^1.32.3",
"@spotify/eslint-config-base": "^15.0.0",
"@spotify/eslint-config-react": "^15.0.0",
"@spotify/eslint-config-typescript": "^15.0.0",
"@types/react": "^18",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-deprecation": "^3.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jest": "^27.6.0",
"eslint-plugin-jsx-a11y": "^6.7.0",
"eslint-plugin-react": "^7.33.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-unused-imports": "^3.0.0",
"husky": "^8.0.3",
"lint-staged": "^15.0.0",
"node-gyp": "^10.0.0",
"prettier": "^2.3.2",
"react": "^18.0.2",
"react-dom": "^18.0.2",
"react-router-dom": "^6.3.0",
"typescript": "~5.8.0",
"webpack": "~5.96.0"
},
"resolutions": {
"@material-ui/core/@types/react": "^18",
"@material-ui/core/react": "^18.0.2",
"@material-ui/core/react-dom": "^18.0.2",
"@material-ui/icons/@types/react": "^18",
"@testing-library/dom": "^10.0.0",
"@types/react": "^18",
"@types/react-dom": "^18",
"react": "^18.0.2",
"react-dom": "^18.0.2",
"webpack": "~5.96.0"
},
"prettier": "@backstage/cli/config/prettier",
"lint-staged": {
"*.{js,jsx,ts,tsx,mjs,cjs}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md}": [
"prettier --write"
]
},
"packageManager": "yarn@4.4.1",
"dependencies": {
"@backstage/plugin-home": "^0.8.13"
}
}