81 lines
2.4 KiB
JSON
81 lines
2.4 KiB
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"engines": {
|
|
"node": "12 || 14"
|
|
},
|
|
"scripts": {
|
|
"dev": "concurrently \"yarn start\" \"yarn start-backend\"",
|
|
"start": "yarn workspace example-app start",
|
|
"start-backend": "yarn workspace example-backend start",
|
|
"build": "lerna run build",
|
|
"tsc": "tsc",
|
|
"tsc:full": "tsc --skipLibCheck false --incremental false",
|
|
"clean": "backstage-cli clean && lerna run clean",
|
|
"diff": "lerna run diff --",
|
|
"test": "lerna run test --since origin/master -- --coverage",
|
|
"test:all": "lerna run test -- --coverage",
|
|
"lint": "lerna run lint --since origin/master --",
|
|
"lint:docs": "node ./scripts/check-docs-quality",
|
|
"lint:all": "lerna run lint --",
|
|
"lint:type-deps": "node scripts/check-type-dependencies.js",
|
|
"docgen": "lerna run docgen",
|
|
"docker-build:app": "yarn workspace example-app build && docker build . -t spotify/backstage",
|
|
"docker-build": "yarn tsc && yarn workspace example-backend build-image",
|
|
"create-plugin": "backstage-cli create-plugin --scope backstage --no-private",
|
|
"remove-plugin": "backstage-cli remove-plugin",
|
|
"release": "changeset version && yarn prettier --write '{packages,plugins}/*/{package.json,CHANGELOG.md}'",
|
|
"prettier:check": "prettier --check .",
|
|
"lerna": "lerna",
|
|
"storybook": "yarn workspace storybook start",
|
|
"build-storybook": "yarn workspace storybook build-storybook"
|
|
},
|
|
"workspaces": {
|
|
"packages": [
|
|
"packages/*",
|
|
"plugins/*"
|
|
]
|
|
},
|
|
"resolutions": {
|
|
"**/@roadiehq/backstage-plugin-*/@backstage/core": "0.3.0"
|
|
},
|
|
"version": "1.0.0",
|
|
"devDependencies": {
|
|
"@changesets/cli": "^2.11.0",
|
|
"@spotify/eslint-config-oss": "^1.0.1",
|
|
"@spotify/prettier-config": "^8.0.0",
|
|
"command-exists": "^1.2.9",
|
|
"concurrently": "^5.2.0",
|
|
"fs-extra": "^9.0.0",
|
|
"husky": "^4.2.3",
|
|
"lerna": "^3.20.2",
|
|
"lint-staged": "^10.1.0",
|
|
"prettier": "^2.0.5",
|
|
"recursive-readdir": "^2.2.2",
|
|
"shx": "^0.3.2"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"prettier": "@spotify/prettier-config",
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx}": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
],
|
|
"*.{json,md}": [
|
|
"prettier --write"
|
|
],
|
|
"*.md": [
|
|
"node ./scripts/check-docs-quality"
|
|
]
|
|
},
|
|
"jest": {
|
|
"transformModules": [
|
|
"@kyma-project/asyncapi-react"
|
|
]
|
|
}
|
|
}
|