94 lines
3.3 KiB
JSON
94 lines
3.3 KiB
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"engines": {
|
|
"node": "14 || 16"
|
|
},
|
|
"scripts": {
|
|
"dev": "concurrently \"yarn start\" \"yarn start-backend\"",
|
|
"start": "yarn workspace example-app start",
|
|
"start-backend": "yarn workspace example-backend start",
|
|
"build": "backstage-cli repo build --all",
|
|
"build:api-reports": "yarn build:api-reports:only --tsc",
|
|
"build:api-reports:only": "ts-node -T -P scripts/tsconfig.json scripts/api-extractor.ts",
|
|
"build:api-docs": "yarn build:api-reports --docs",
|
|
"tsc": "tsc",
|
|
"tsc:full": "backstage-cli clean && 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:docs": "node ./scripts/check-docs-quality",
|
|
"lint:all": "backstage-cli repo lint",
|
|
"lint:type-deps": "node scripts/check-type-dependencies.js",
|
|
"docker-build": "yarn tsc && yarn workspace example-backend build --build-dependencies && yarn workspace example-backend build-image",
|
|
"backstage-create": "backstage-cli create --scope backstage --no-private",
|
|
"create-plugin": "yarn backstage-create --select plugin",
|
|
"remove-plugin": "backstage-cli remove-plugin",
|
|
"release": "node scripts/prepare-release.js && changeset version && yarn diff --yes && yarn prettier --write '{packages,plugins}/*/{package.json,CHANGELOG.md}' && yarn install",
|
|
"prettier:check": "prettier --check .",
|
|
"lerna": "lerna",
|
|
"storybook": "yarn --cwd storybook start",
|
|
"snyk:test": "npx snyk test --yarn-workspaces --strict-out-of-sync=false",
|
|
"snyk:test:package": "yarn snyk:test --include",
|
|
"build-storybook": "yarn --cwd storybook build-storybook",
|
|
"techdocs-cli": "node scripts/techdocs-cli.js",
|
|
"techdocs-cli:dev": "cross-env TECHDOCS_CLI_DEV_MODE=true node scripts/techdocs-cli.js",
|
|
"prepare": "husky install",
|
|
"lock:check": "yarn-lock-check"
|
|
},
|
|
"workspaces": {
|
|
"packages": [
|
|
"packages/*",
|
|
"plugins/*"
|
|
]
|
|
},
|
|
"resolutions": {
|
|
"**/@graphql-codegen/cli/**/ws": "^7.4.6"
|
|
},
|
|
"version": "0.71.0",
|
|
"dependencies": {
|
|
"@manypkg/get-packages": "^1.1.3",
|
|
"@microsoft/api-documenter": "^7.15.0",
|
|
"@microsoft/api-extractor": "^7.19.4",
|
|
"@microsoft/api-extractor-model": "^7.15.3",
|
|
"@microsoft/tsdoc": "^0.13.2"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/cli": "^2.14.0",
|
|
"@octokit/rest": "^18.12.0",
|
|
"@spotify/prettier-config": "^12.0.0",
|
|
"@types/node": "^14.14.32",
|
|
"@types/webpack": "^5.28.0",
|
|
"command-exists": "^1.2.9",
|
|
"cross-env": "^7.0.0",
|
|
"concurrently": "^7.0.0",
|
|
"eslint-plugin-notice": "^0.9.10",
|
|
"fs-extra": "10.0.1",
|
|
"husky": "^7.0.4",
|
|
"lerna": "^4.0.0",
|
|
"lint-staged": "^12.2.0",
|
|
"minimist": "^1.2.5",
|
|
"prettier": "^2.2.1",
|
|
"semver": "^7.3.2",
|
|
"shx": "^0.3.2",
|
|
"ts-node": "^10.4.0",
|
|
"typescript": "~4.5.4",
|
|
"yarn-lock-check": "^1.0.5"
|
|
},
|
|
"prettier": "@spotify/prettier-config",
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx,mjs,cjs}": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
],
|
|
"*.{json,md}": [
|
|
"prettier --write"
|
|
],
|
|
"*.md": [
|
|
"node ./scripts/check-docs-quality"
|
|
]
|
|
}
|
|
}
|