backstage/package.json

54 lines
1.5 KiB
JSON
Raw Normal View History

2022-12-22 15:01:37 +01:00
{
"name": "root",
"version": "1.0.0",
"private": true,
"engines": {
2024-04-06 23:18:30 +02:00
"node": "14 || 16 || 20"
2022-12-22 15:01:37 +01:00
},
"scripts": {
"dev": "concurrently \"yarn start\" \"yarn start-backend\"",
"start": "yarn workspace app start",
"start-backend": "yarn workspace backend start",
"build": "backstage-cli repo build --all",
"build-image": "yarn workspace backend build-image",
"tsc": "tsc",
"tsc:full": "tsc --skipLibCheck false --incremental false",
"clean": "backstage-cli clean && lerna run clean",
"diff": "lerna run diff --",
"test": "backstage-cli test",
"test:all": "lerna run test -- --coverage",
"lint": "backstage-cli repo lint --since origin/master",
"lint:all": "backstage-cli repo lint",
"prettier:check": "prettier --check .",
"create-plugin": "backstage-cli create-plugin --scope internal",
"remove-plugin": "backstage-cli remove-plugin"
},
"workspaces": {
"packages": [
"packages/*",
"plugins/*"
]
},
"devDependencies": {
2024-04-06 23:18:30 +02:00
"@backstage/cli": "^0.26.0",
"@spotify/prettier-config": "^15.0.0",
"concurrently": "^8.0.0",
"lerna": "^8.0.0",
2024-04-06 23:18:30 +02:00
"prettier": "^3.0.0",
"typescript": "~5.4.0"
2022-12-22 15:01:37 +01:00
},
"resolutions": {
"@types/react": "^17",
"@types/react-dom": "^17"
},
"prettier": "@spotify/prettier-config",
"lint-staged": {
"*.{js,jsx,ts,tsx,mjs,cjs}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md}": [
"prettier --write"
]
}
}