diff --git a/plugins/ocm/package.json b/plugins/ocm/package.json index 67d3d5a9f0..1d11198922 100644 --- a/plugins/ocm/package.json +++ b/plugins/ocm/package.json @@ -15,6 +15,7 @@ "scripts": { "start": "backstage-cli package start", "build": "backstage-cli package build", + "export-dynamic": "janus-cli package export-dynamic-plugin", "tsc": "tsc", "lint": "backstage-cli package lint", "test": "backstage-cli package test --passWithNoTests --coverage", @@ -48,6 +49,7 @@ "@backstage/dev-utils": "1.0.22", "@backstage/plugin-catalog": "1.14.0", "@backstage/test-utils": "1.4.4", + "@janus-idp/cli": "1.3.0", "@testing-library/jest-dom": "5.17.0", "@testing-library/react": "12.1.5", "@testing-library/user-event": "14.5.1", @@ -58,7 +60,8 @@ "react-dom": "17.0.2" }, "files": [ - "dist" + "dist", + "dist-scalprum" ], "repository": "github:janus-idp/backstage-plugins", "keywords": [ @@ -66,5 +69,11 @@ "plugin" ], "homepage": "https://janus-idp.io/", - "bugs": "https://github.com/janus-idp/backstage-plugins/issues" + "bugs": "https://github.com/janus-idp/backstage-plugins/issues", + "scalprum": { + "name": "janus-idp.backstage-plugin-ocm", + "exposedModules": { + "OcmPlugin": "./src/index.ts" + } + } }