Files
backstage/plugins/graphiql/package.json
T
github-actions[bot] 4cca80fbf8 Version Packages (next)
2024-02-27 16:48:30 +00:00

95 lines
2.6 KiB
JSON

{
"name": "@backstage/plugin-graphiql",
"version": "0.3.4-next.0",
"description": "Backstage plugin for browsing GraphQL APIs",
"backstage": {
"role": "frontend-plugin"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"backstage"
],
"homepage": "https://github.com/backstage/backstage/tree/master/plugins/graphiql#readme",
"repository": {
"type": "git",
"url": "https://github.com/backstage/backstage",
"directory": "plugins/graphiql"
},
"license": "Apache-2.0",
"sideEffects": false,
"exports": {
".": "./src/index.ts",
"./alpha": "./src/alpha.tsx",
"./package.json": "./package.json"
},
"main": "src/index.ts",
"types": "src/index.ts",
"typesVersions": {
"*": {
"alpha": [
"src/alpha.tsx"
],
"package.json": [
"package.json"
]
}
},
"files": [
"dist"
],
"scripts": {
"build": "backstage-cli package build",
"clean": "backstage-cli package clean",
"lint": "backstage-cli package lint",
"prepack": "backstage-cli package prepack",
"postpack": "backstage-cli package postpack",
"start": "backstage-cli package start",
"test": "backstage-cli package test"
},
"dependencies": {
"@backstage/core-compat-api": "workspace:^",
"@backstage/core-components": "workspace:^",
"@backstage/core-plugin-api": "workspace:^",
"@backstage/frontend-plugin-api": "workspace:^",
"@material-ui/core": "^4.12.2",
"@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0",
"graphiql": "^3.0.6",
"graphql": "^16.0.0",
"graphql-ws": "^5.4.1",
"react-use": "^17.2.4"
},
"devDependencies": {
"@backstage/cli": "workspace:^",
"@backstage/dev-utils": "workspace:^",
"@backstage/test-utils": "workspace:^",
"@testing-library/dom": "^9.0.0",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^14.0.0",
"@types/codemirror": "^5.0.0"
},
"peerDependencies": {
"react": "^16.13.1 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0",
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
},
"experimentalInstallationRecipe": {
"type": "frontend-plugin",
"steps": [
{
"type": "app-route",
"path": "/graphiql",
"element": "<GraphiQLPage />"
},
{
"type": "message",
"message": [
"The GraphiQL plugin has been installed, but you still need to add API endpoints. ",
"See https://github.com/backstage/backstage/tree/master/plugins/graphiql#adding-graphql-endpoints"
]
}
]
}
}