UNPKG

@kinvolk/headlamp-plugin

Version:

The needed infrastructure for building Headlamp plugins.

155 lines (154 loc) 5.81 kB
{ "name": "@kinvolk/headlamp-plugin", "version": "0.14.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": "npm run prepare-bundle && 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 && node scripts/copy-static-assets.js", "bundle-examples": "node scripts/bundle-examples.js", "fetch-official-plugins": "node scripts/fetch-official-plugins.js", "prepare-bundle": "npm run bundle-examples && npm run fetch-official-plugins", "update-dependencies": "node dependencies-sync.js update && npm install && node scripts/copy-package-lock.js", "check-dependencies": "node dependencies-sync.js check", "copy-package-lock": "node scripts/copy-package-lock.js" }, "prettier": "@headlamp-k8s/eslint-config/prettier-config", "dependencies": { "@apidevtools/swagger-parser": "^10.0.3", "@emotion/react": "^11.11.1", "@emotion/styled": "^11.11.0", "@headlamp-k8s/eslint-config": "^0.6.0", "@headlamp-k8s/pluginctl": "^0.1.1", "@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-docs": "^9.1.19", "@storybook/addon-links": "^9.1.19", "@storybook/addon-webpack5-compiler-swc": "^3.0.0", "@storybook/react-vite": "^9.1.19", "@storybook/react-webpack5": "^9.1.19", "@tanstack/react-query": "^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", "@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", "cronstrue": "^2.50.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", "fast-check": "^4.5.3", "fs-extra": "^11.2.0", "fuse.js": "^7.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.1", "jsdom": "^24.0.0", "jsonpath-plus": "^10.3.0", "lodash": "^4.17.23", "material-react-table": "^2.13.3", "monaco-editor": "^0.52.0", "msw": "2.4.9", "msw-storybook-addon": "2.0.3", "notistack": "^3.0.2", "path-browserify": "^1.0.1", "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-markdown": "^10.1.0", "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", "semver": "^7.3.5", "shx": "^0.4.0", "simple-eval": "^2.0.0", "spacetime": "^7.4.0", "storybook": "^9.1.19", "table": "^6.8.2", "tar": "^7.5.11", "ts-loader": "^9.5.2", "typescript": "5.6.2", "validate-npm-package-name": "^3.0.0", "vite": "^6.4.1", "vite-plugin-css-injected-by-js": "^3.5.1", "vite-plugin-node-polyfills": "^0.23.0", "vite-plugin-static-copy": "^3.1.2", "vite-plugin-svgr": "^4.3.0", "vitest": "^3.0.5", "yaml": "^2.7.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", "rollup": "^4.59.0" }, "files": [ "bin", "config", "template", "lib", "types", ".storybook", "examples", "official-plugins", "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" }