UNPKG

@kinvolk/headlamp-plugin

Version:

The needed infrastructure for building Headlamp plugins.

174 lines (173 loc) 6.17 kB
{ "name": "@kinvolk/headlamp-plugin", "version": "0.12.0", "description": "The needed infrastructure for building Headlamp plugins.", "main": "lib/index.js", "types": "./lib/additional.d.ts", "bin": "bin/headlamp-plugin.js", "scripts": { "prepack": "(node -e \"if (! require('fs').existsSync('./lib/components')) {process.exit(1)} \" || (echo 'lib dir is empty. Remember to run `npm run build` before packing' && exit 1))", "build": "npx shx rm -rf lib types lib/assets lib/components lib/helpers lib/i18n lib/lib lib/plugin lib/redux lib/resources && npx shx cp -r ../../frontend/src/assets ../../frontend/src/components ../../frontend/src/helpers ../../frontend/src/stateless ../../frontend/src/i18n ../../frontend/src/lib ../../frontend/src/plugin ../../frontend/src/redux ../../frontend/src/resources src/ && tsc --build ./tsconfig.json && npx shx cp -r src/additional.d.ts lib/ && npx shx cp -r ../../frontend/src/assets lib/ && npx shx cp -r ../../frontend/src/resources lib/ && npx shx cp -r ../../frontend/src/i18n/locales lib/i18n", "update-dependencies": "node dependencies-sync.js update && npm install", "check-dependencies": "node dependencies-sync.js check" }, "prettier": "@headlamp-k8s/eslint-config/prettier-config", "dependencies": { "@apidevtools/swagger-parser": "^10.0.3", "@dagrejs/dagre": "^1.1.2", "@emotion/react": "^11.11.1", "@emotion/styled": "^11.11.0", "@headlamp-k8s/eslint-config": "^0.6.0", "@iconify/icons-mdi": "^1.2.9", "@iconify/react": "^3.2.1", "@monaco-editor/react": "^4.3.1", "@mui/icons-material": "^5.16.7", "@mui/lab": "^5.0.0-alpha.152", "@mui/material": "^5.15.14", "@mui/system": "^5.15.14", "@mui/x-date-pickers": "^7.15.0", "@mui/x-tree-view": "^6.17.0", "@reduxjs/toolkit": "^2.2.7", "@storybook/addon-actions": "^8.5.6", "@storybook/addon-essentials": "^8.5.6", "@storybook/addon-interactions": "^8.5.6", "@storybook/addon-links": "^8.5.6", "@storybook/blocks": "^8.5.6", "@storybook/manager-api": "^8.5.6", "@storybook/node-logger": "^8.5.6", "@storybook/react-vite": "^8.5.6", "@storybook/theming": "^8.5.6", "@tanstack/react-query": "^5.51.24", "@tanstack/react-query-devtools": "^5.51.24", "@testing-library/dom": "^10.1.0", "@testing-library/jest-dom": "^6.4.8", "@testing-library/react": "^16.0.0", "@testing-library/user-event": "^14.5.2", "@types/humanize-duration": "^3.27.1", "@types/js-yaml": "^4.0.3", "@types/json-patch": "0.0.30", "@types/lodash": "4.17.7", "@types/node": "^20.12.11", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "@types/react-redux": "^7.1.34", "@types/react-router": "^5.1.20", "@types/react-router-dom": "^5.3.1", "@types/react-window": "^1.8.8", "@types/semver": "^7.3.8", "@typescript-eslint/eslint-plugin": "^8.3.0", "@typescript-eslint/parser": "^8.3.0", "@vitejs/plugin-react": "^4.3.4", "@vitest/coverage-istanbul": "^3.0.5", "@xterm/addon-fit": "^0.10.0", "@xterm/addon-search": "^0.15.0", "@xterm/xterm": "^5.5.0", "@xyflow/react": "^12.2.0", "ajv": "^8.12.0", "base64-arraybuffer": "^1.0.2", "buffer": "^6.0.3", "console-browserify": "^1.2.0", "cronstrue": "^2.50.0", "cross-env": "^7.0.3", "crypto-browserify": "^3.12.0", "elkjs": "^0.9.3", "env-paths": "^2.2.1", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.24.2", "eslint-plugin-jsx-a11y": "^6.9.0", "eslint-plugin-react": "7.35.0", "eslint-plugin-react-hooks": "^4.6.2", "eslint-plugin-simple-import-sort": "^12.1.1", "eslint-plugin-unused-imports": "^4.1.3", "fake-indexeddb": "^6.0.0", "fs-extra": "^11.2.0", "fuse.js": "^7.0.0", "https-browserify": "^1.0.0", "humanize-duration": "^3.27.2", "i18next": "^23.15.1", "i18next-browser-languagedetector": "^8.0.0", "i18next-parser": "^9.1.0", "js-base64": "^3.7.2", "js-yaml": "^4.1.0", "jsdom": "^24.0.0", "jsonpath-plus": "^10.3.0", "lint-staged": "^10.5.4", "lodash": "^4.17.21", "material-react-table": "^2.13.3", "monaco-editor": "^0.52.0", "msw": "2.4.9", "msw-storybook-addon": "2.0.3", "nock": "^14.0.0-beta.14", "notistack": "^3.0.2", "openapi-types": "^9.3.0", "prettier": "^2.7.1", "process": "^0.11.10", "react": "^18.3.1", "react-dom": "^18.3.1", "react-dropzone": "^14.2.9", "react-hotkeys-hook": "^4.5.1", "react-i18next": "^15.0.2", "react-jwt": "^1.1.6", "react-markdown": "^9.0.1", "react-redux": "^9.1.2", "react-router": "^5.3.0", "react-router-dom": "^5.3.0", "react-window": "^1.8.11", "recharts": "^2.1.4", "resize-observer-polyfill": "^1.5.1", "semver": "^7.3.5", "shx": "^0.3.4", "spacetime": "^7.4.0", "storybook": "^8.5.6", "stream-browserify": "^3.0.0", "stream-http": "^3.2.0", "table": "^6.8.2", "tar": "^7.4.3", "tmp": "^0.2.3", "typescript": "5.6.2", "url": "^0.11.0", "util": "^0.12.4", "validate-npm-package-name": "^3.0.0", "vite": "^6.3.5", "vite-plugin-css-injected-by-js": "^3.5.1", "vite-plugin-node-polyfills": "^0.23.0", "vite-plugin-static-copy": "^2.2.0", "vite-plugin-svgr": "^4.3.0", "vitest": "^3.0.5", "vitest-canvas-mock": "^0.3.3", "vitest-websocket-mock": "^0.4.0", "vm-browserify": "^1.1.2", "web-worker": "^1.3.0", "yargs": "^17.7.2" }, "overrides": { "axe-core": "npm:dry-uninstall", "nth-check": "2.0.1", "domain-browser": "npm:dry-uninstall", "typescript": "5.6.2" }, "files": [ "bin", "config", "template", "lib", "types", ".storybook", "plugin-management/plugin-management.js", "plugin-management/multi-plugin-management.js" ], "keywords": [ "headlamp", "kinvolk", "kubernetes", "kubernetes-ui", "kubernetes-plugins", "plugins" ], "author": "Kinvolk GmbH", "license": "Apache 2.0", "devDependencies": { "jest": "^29.7.0" } }