-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
84 lines (84 loc) · 2.56 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
74
75
76
77
78
79
80
81
82
83
84
{
"name": "root",
"version": "1.0.0",
"private": true,
"engines": {
"node": "20 || 22"
},
"scripts": {
"dev": "yarn workspaces foreach -A --include backend --include app --parallel -v -i run start",
"start": "yarn workspace app start",
"start-backend": "yarn workspace backend start",
"build:backend": "yarn workspace backend build",
"build:all": "backstage-cli repo build --all",
"tsc": "tsc",
"tsc:full": "tsc --skipLibCheck false --incremental false",
"clean": "backstage-cli repo clean",
"test": "backstage-cli repo test && playwright test",
"test:all": "backstage-cli repo test --coverage",
"test:e2e": "playwright test",
"test:no-e2e": "backstage-cli repo test",
"fix": "backstage-cli repo fix",
"lint": "backstage-cli repo lint --since origin/master",
"lint:all": "backstage-cli repo lint",
"prettier:check": "prettier --check .",
"docker:start-database": "docker compose up -d backstage_postgres",
"docker:run-build-backstage": "docker compose up -d --build backstage_app",
"docker:run-backstage": "docker compose up -d backstage_app",
"docker:stop-backstage": "docker compose stop backstage_app",
"docker:remove-backstage": "docker compose down backstage_app",
"docker:remove-all": "docker compose down",
"new": "backstage-cli new --scope internal"
},
"pre-commit": [
"yarn test",
"yarn e2e-test"
],
"workspaces": {
"packages": [
"packages/*",
"plugins/*"
]
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.26.0",
"@backstage/cli": "^0.29.0",
"@backstage/e2e-test-utils": "^0.1.1",
"@playwright/test": "^1.32.3",
"@spotify/prettier-config": "^12.0.0",
"@testing-library/react": "^16.2.0",
"@types/babel__core": "^7",
"@types/babel__preset-env": "^7",
"babel-jest": "^29.7.0",
"canvas": "^2.11.2",
"concurrently": "^8.0.0",
"cross-env": "^7.0.3",
"jest": "^29.7.0",
"jest-canvas-mock": "^2.5.2",
"jsdom": "^24.0.0",
"lerna": "^7.3.0",
"node-gyp": "^10.0.1",
"prettier": "^2.3.2",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "~5.2.0"
},
"resolutions": {
"@types/react": "^18",
"@types/react-dom": "^18"
},
"prettier": "@spotify/prettier-config",
"lint-staged": {
"*.{js,jsx,ts,tsx,mjs,cjs}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md}": [
"prettier --write"
]
},
"packageManager": "[email protected]"
}