mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 16:11:57 +00:00
# Basic Scaffolding This is **JUST** scaffolding. - The code was generated by backstage - All the changes are related to esbuild / package.json / tsconfig.json ## Note for reviewers The only 3 things to review are: - scripts/esbuild.ts - package.json / package.dist.json - tsconfig.json ## Test plan nothing - this is scaffolding / build configuration <!-- All pull requests REQUIRE a test plan: https://docs.sourcegraph.com/dev/background-information/testing_principles --> ## App preview: - [Web](https://sg-web-wb-backstage-frontend-scaffold.onrender.com/search) Check out the [client app preview documentation](https://docs.sourcegraph.com/dev/how-to/client_pr_previews) to learn more.
46 lines
1.3 KiB
JSON
46 lines
1.3 KiB
JSON
{
|
|
"name": "@sourcegraph/backstage-backend",
|
|
"description": "Common functionalities for the Sourcegraph plugin",
|
|
"version": "0.1.0",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"license": "Apache-2.0",
|
|
"private": true,
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.esm.js",
|
|
"types": "dist/index.d.ts"
|
|
},
|
|
"backstage": {
|
|
"role": "common-library"
|
|
},
|
|
"scripts": {
|
|
"dist": "ts-node --transpile-only ./scripts/esbuild.ts && pnpm types && cp package.dist.json dist/package.json",
|
|
"types": "tsc -d -p tsconfig.json",
|
|
"format": "prettier -w true .",
|
|
"test": "jest"
|
|
},
|
|
"devDependencies": {
|
|
"@backstage/cli": "^0.22.1",
|
|
"@jest/globals": "^29.4.0",
|
|
"@sourcegraph/build-config": "workspace:*",
|
|
"@sourcegraph/tsconfig": "^4.0.1",
|
|
"babel-jest": "^28.1.3",
|
|
"babel-loader": "^9.1.0",
|
|
"esbuild": "^0.17.8",
|
|
"winston": "^3.8.2"
|
|
},
|
|
"dependencies": {
|
|
"@backstage/backend-common": "^0.18.1",
|
|
"@backstage/catalog-model": "^1.1.5",
|
|
"@backstage/config": "^1.0.6",
|
|
"@backstage/plugin-catalog-backend": "^1.7.1",
|
|
"@sourcegraph/http-client": "workspace:^0.0.1",
|
|
"@sourcegraph/shared": "workspace:^1.0.0"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
]
|
|
}
|