Files
backstage/plugins/graphiql/package.json
T
Himanshu Mishra 8c277af0db Merge pull request #7233 from backstage/mob/backstage-cli-install
Add experimental backstage-cli install <plugin> command
2021-10-08 12:16:14 +02:00

82 lines
2.3 KiB
JSON

{
"name": "@backstage/plugin-graphiql",
"description": "Backstage plugin for browsing GraphQL APIs",
"version": "0.2.19",
"private": false,
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
"types": "dist/index.d.ts"
},
"homepage": "https://github.com/backstage/backstage/tree/master/plugins/graphiql#readme",
"repository": {
"type": "git",
"url": "https://github.com/backstage/backstage",
"directory": "plugins/graphiql"
},
"keywords": [
"backstage"
],
"license": "Apache-2.0",
"main": "src/index.ts",
"types": "src/index.ts",
"scripts": {
"build": "backstage-cli plugin:build",
"start": "backstage-cli plugin:serve",
"lint": "backstage-cli lint",
"test": "backstage-cli test",
"diff": "backstage-cli plugin:diff",
"prepack": "backstage-cli prepack",
"postpack": "backstage-cli postpack",
"clean": "backstage-cli clean"
},
"dependencies": {
"@backstage/core-components": "^0.6.1",
"@backstage/core-plugin-api": "^0.1.10",
"@backstage/theme": "^0.2.10",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "4.0.0-alpha.57",
"graphiql": "^1.0.0-alpha.10",
"graphql": "15.5.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-use": "^17.2.4"
},
"devDependencies": {
"@backstage/cli": "^0.7.15",
"@backstage/core-app-api": "^0.1.16",
"@backstage/dev-utils": "^0.2.11",
"@backstage/test-utils": "^0.1.18",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^11.2.5",
"@testing-library/user-event": "^13.1.8",
"@types/codemirror": "^0.0.108",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"cross-fetch": "^3.0.6",
"msw": "^0.29.0",
"react-router-dom": "6.0.0-beta.0"
},
"files": [
"dist"
],
"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"
]
}
]
}
}