54 lines
1.5 KiB
JSON
54 lines
1.5 KiB
JSON
{
|
|
"name": "root",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"engines": {
|
|
"node": "14 || 16 || 20"
|
|
},
|
|
"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": {
|
|
"@backstage/cli": "^0.27.0",
|
|
"@spotify/prettier-config": "^15.0.0",
|
|
"concurrently": "^8.0.0",
|
|
"lerna": "^8.0.0",
|
|
"prettier": "^3.0.0",
|
|
"typescript": "~5.5.0"
|
|
},
|
|
"resolutions": {
|
|
"@types/react": "^18.0.0",
|
|
"@types/react-dom": "^18.0.0"
|
|
},
|
|
"prettier": "@spotify/prettier-config",
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx,mjs,cjs}": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
],
|
|
"*.{json,md}": [
|
|
"prettier --write"
|
|
]
|
|
}
|
|
} |