UNPKG

@janus-idp/shared-react

Version:

Shared code for utils, types, and React components for the Janus frontend plugins.

100 lines (99 loc) 2.76 kB
{ "name": "@janus-idp/shared-react", "version": "2.18.0", "main": "dist/index.esm.js", "types": "dist/index.d.ts", "license": "Apache-2.0", "publishConfig": { "access": "public", "main": "dist/index.esm.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts" }, "backstage": { "role": "common-library", "supported-versions": "1.35.0", "pluginId": "shared-react", "pluginPackage": "@janus-idp/shared-react", "pluginPackages": [ "@janus-idp/shared-react" ] }, "sideEffects": [ "./**/*.css" ], "scripts": { "build": "backstage-cli package build", "tsc": "tsc", "prettier:check": "prettier --ignore-unknown --check .", "prettier:fix": "prettier --ignore-unknown --write .", "lint:check": "backstage-cli package lint", "lint:fix": "backstage-cli package lint --fix", "test": "backstage-cli package test --passWithNoTests --coverage", "clean": "backstage-cli package clean", "prepack": "backstage-cli package prepack", "postpack": "backstage-cli package postpack" }, "dependencies": { "@backstage/catalog-model": "^1.7.3", "@backstage/core-components": "^0.16.3", "@backstage/core-plugin-api": "^1.10.3", "@backstage/plugin-kubernetes-common": "^0.9.2", "@backstage/plugin-kubernetes-react": "^0.5.3", "@kubernetes/client-node": "1.0.0-rc7", "@material-ui/core": "^4.12.4", "@mui/icons-material": "5.15.17", "@mui/material": "^5.15.17", "classnames": "^2.3.2", "date-fns": "^2.30.0", "file-saver": "^2.0.5", "lodash": "^4.17.21", "mathjs": "^11.11.2", "react-use": "^17.5.0" }, "peerDependencies": { "react": "^16.13.1 || ^17.0.0 || ^18.0.0" }, "devDependencies": { "@backstage/cli": "0.29.5", "@backstage/core-app-api": "1.15.4", "@backstage/dev-utils": "1.1.6", "@backstage/test-utils": "1.7.4", "@testing-library/jest-dom": "6.4.8", "@testing-library/react": "14.3.1", "@testing-library/user-event": "14.5.2", "@types/file-saver": "2.0.7", "@types/node": "18.19.34", "cross-fetch": "4.0.0", "msw": "1.3.3", "prettier": "3.3.3" }, "files": [ "dist" ], "repository": { "type": "git", "url": "https://github.com/janus-idp/backstage-plugins", "directory": "plugins/shared-react" }, "keywords": [ "support:production", "lifecycle:active", "backstage", "plugin" ], "homepage": "https://red.ht/rhdh", "bugs": "https://github.com/janus-idp/backstage-plugins/issues", "maintainers": [ "@janus-idp/maintainers-plugins" ], "author": "Red Hat", "typesVersions": { "*": { "index": [ "dist/index.d.ts" ] } }, "module": "dist/index.esm.js" }