-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
71 lines (71 loc) · 2.16 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
{
"name": "root",
"version": "1.0.0",
"private": true,
"engines": {
"node": "18 || 20"
},
"scripts": {
"dev": "export $(cat .env | egrep -v '#|^$' | xargs) && concurrently \"yarn start\" \"yarn start-backend\"",
"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": {
"@backstage/cli": "^0.25.1",
"@backstage/e2e-test-utils": "^0.1.0",
"@playwright/test": "^1.32.3",
"@spotify/prettier-config": "^12.0.0",
"canvas": "^2.11.2",
"concurrently": "^8.0.0",
"jest-canvas-mock": "^2.5.2",
"jsdom": "^24.0.0",
"lerna": "^7.3.0",
"node-gyp": "^10.0.1",
"prettier": "^2.3.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"
]
}
}