mirror of
https://github.com/lensapp/lens.git
synced 2024-11-28 11:53:41 +03:00
f602ce8f46
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
361 lines
11 KiB
JSON
361 lines
11 KiB
JSON
{
|
|
"name": "open-lens",
|
|
"private": true,
|
|
"productName": "OpenLens",
|
|
"description": "OpenLens - Open Source IDE for Kubernetes",
|
|
"homepage": "https://github.com/lensapp/lens",
|
|
"version": "6.5.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/lensapp/lens.git"
|
|
},
|
|
"keywords": [],
|
|
"bugs": {
|
|
"url": "https://github.com/lensapp/lens/issues"
|
|
},
|
|
"main": "static/build/main.js",
|
|
"copyright": "© 2023 OpenLens Authors",
|
|
"license": "MIT",
|
|
"author": "OpenLens Authors <info@k8slens.dev>",
|
|
"scripts": {
|
|
"clean": "rimraf binaries/ dist/ static/build",
|
|
"build": "cross-env NODE_ENV=production webpack --config webpack/webpack.ts --progress",
|
|
"postbuild": "npm run build:tray-icons && npm run download:binaries",
|
|
"build:app": "electron-builder --publish onTag",
|
|
"prebuild:app": "run-script-os",
|
|
"prebuild:app:default": "exit 0",
|
|
"prebuild:app:win32": "rimraf node_modules/win-ca/pem",
|
|
"start": "concurrently -i -k \"npm run dev-run -C\" npm:dev:*",
|
|
"dev-run": "nodemon --watch ./static/build/main.js --exec \"electron --remote-debugging-port=9223 --inspect .\"",
|
|
"dev:main": "cross-env NODE_ENV=development webpack --config webpack/main.ts --progress --watch",
|
|
"dev:renderer": "cross-env NODE_ENV=development ts-node ./webpack/dev-server.ts",
|
|
"test:integration": "jest -xyz --runInBand --modulePaths=[\"<rootDir>/integration/\"];",
|
|
"build:tray-icons": "npm run --workspace @k8slens/generate-tray-icons generate -- --output static/build/tray --input @k8slens/icon/icons/logo-lens.svg --notice-icon @k8slens/icon/icons/notice.svg --spinner-icon @k8slens/icon/icons/arrow-spinner.svg",
|
|
"download:binaries": "npm run --workspace @k8slens/ensure-binaries ensure -- --package package.json --base-dir binaries/client",
|
|
"postinstall": "electron-rebuild"
|
|
},
|
|
"config": {
|
|
"k8sProxyVersion": "0.3.0",
|
|
"bundledKubectlVersion": "1.23.3",
|
|
"bundledHelmVersion": "3.11.0",
|
|
"sentryDsn": "",
|
|
"contentSecurityPolicy": "script-src 'unsafe-eval' 'self'; frame-src https://*.lens.app:*/; img-src * data:",
|
|
"welcomeRoute": "/welcome"
|
|
},
|
|
"engines": {
|
|
"node": ">=16 <17"
|
|
},
|
|
"jest": {
|
|
"collectCoverage": false,
|
|
"verbose": true,
|
|
"transform": {
|
|
"^.+\\.(t|j)sx?$": [
|
|
"@swc/jest"
|
|
]
|
|
}
|
|
},
|
|
"nx": {
|
|
"targets": {
|
|
"build": {
|
|
"dependsOn": [
|
|
"^build"
|
|
],
|
|
"outputs": [
|
|
"{workspaceRoot}/binaries/",
|
|
"{workspaceRoot}/build/webpack/",
|
|
"{workspaceRoot}/static/build/"
|
|
]
|
|
},
|
|
"build:app": {
|
|
"dependsOn": [
|
|
"build"
|
|
],
|
|
"outputs": [
|
|
"{workspaceRoot}/dist/"
|
|
]
|
|
},
|
|
"test:integration": {
|
|
"dependsOn": [
|
|
"build:app"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"build": {
|
|
"npmRebuild": false,
|
|
"electronVersion": "22.3.3",
|
|
"generateUpdatesFilesForAllChannels": true,
|
|
"files": [
|
|
"static/**/*",
|
|
"!node_modules/@k8slens/core/node_modules/**/*",
|
|
"!node_modules/@k8slens/core/src"
|
|
],
|
|
"afterSign": "build/notarize.js",
|
|
"extraResources": [
|
|
"LICENSE"
|
|
],
|
|
"linux": {
|
|
"category": "Network",
|
|
"artifactName": "${productName}-${version}.${arch}.${ext}",
|
|
"target": [
|
|
"deb",
|
|
"rpm",
|
|
"AppImage"
|
|
],
|
|
"extraResources": [
|
|
{
|
|
"from": "binaries/client/linux/${arch}/kubectl",
|
|
"to": "./${arch}/kubectl"
|
|
},
|
|
{
|
|
"from": "binaries/client/linux/${arch}/lens-k8s-proxy",
|
|
"to": "./${arch}/lens-k8s-proxy"
|
|
},
|
|
{
|
|
"from": "binaries/client/linux/${arch}/helm",
|
|
"to": "./${arch}/helm"
|
|
}
|
|
]
|
|
},
|
|
"rpm": {
|
|
"fpm": [
|
|
"--rpm-rpmbuild-define=%define _build_id_links none"
|
|
]
|
|
},
|
|
"mac": {
|
|
"hardenedRuntime": true,
|
|
"gatekeeperAssess": false,
|
|
"entitlements": "build/entitlements.mac.plist",
|
|
"entitlementsInherit": "build/entitlements.mac.plist",
|
|
"extraResources": [
|
|
{
|
|
"from": "binaries/client/darwin/${arch}/kubectl",
|
|
"to": "./${arch}/kubectl"
|
|
},
|
|
{
|
|
"from": "binaries/client/darwin/${arch}/lens-k8s-proxy",
|
|
"to": "./${arch}/lens-k8s-proxy"
|
|
},
|
|
{
|
|
"from": "binaries/client/darwin/${arch}/helm",
|
|
"to": "./${arch}/helm"
|
|
}
|
|
]
|
|
},
|
|
"win": {
|
|
"target": [
|
|
"nsis"
|
|
],
|
|
"extraResources": [
|
|
{
|
|
"from": "binaries/client/windows/${arch}/kubectl.exe",
|
|
"to": "./${arch}/kubectl.exe"
|
|
},
|
|
{
|
|
"from": "binaries/client/windows/${arch}/lens-k8s-proxy.exe",
|
|
"to": "./${arch}/lens-k8s-proxy.exe"
|
|
},
|
|
{
|
|
"from": "binaries/client/windows/${arch}/helm.exe",
|
|
"to": "./${arch}/helm.exe"
|
|
}
|
|
]
|
|
},
|
|
"nsis": {
|
|
"include": "build/installer.nsh",
|
|
"oneClick": false,
|
|
"allowElevation": true,
|
|
"createStartMenuShortcut": true,
|
|
"allowToChangeInstallationDirectory": true
|
|
},
|
|
"protocols": {
|
|
"name": "Lens Protocol Handler",
|
|
"schemes": [
|
|
"lens"
|
|
],
|
|
"role": "Viewer"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@astronautlabs/jsonpath": "^1.1.0",
|
|
"@hapi/call": "^9.0.1",
|
|
"@hapi/subtext": "^7.1.0",
|
|
"@k8slens/application": "^6.5.0",
|
|
"@k8slens/application-for-electron-main": "^6.5.0",
|
|
"@k8slens/button": "^1.0.0",
|
|
"@k8slens/cluster-settings": "^6.5.0",
|
|
"@k8slens/cluster-sidebar": "^1.0.0",
|
|
"@k8slens/core": "^6.5.0",
|
|
"@k8slens/ensure-binaries": "^6.5.0",
|
|
"@k8slens/error-boundary": "^1.0.0",
|
|
"@k8slens/event-emitter": "^1.0.0",
|
|
"@k8slens/feature-core": "^6.5.0",
|
|
"@k8slens/json-api": "^1.0.0-alpha.3",
|
|
"@k8slens/keyboard-shortcuts": "^1.0.0",
|
|
"@k8slens/kube-api": "^1.0.0-alpha.1",
|
|
"@k8slens/kube-api-specifics": "^1.0.0",
|
|
"@k8slens/kube-object": "^1.0.0",
|
|
"@k8slens/kubectl-versions": "^1.0.0",
|
|
"@k8slens/legacy-extension-example": "^1.0.0",
|
|
"@k8slens/legacy-extensions": "^1.0.0",
|
|
"@k8slens/legacy-global-di": "^1.0.0",
|
|
"@k8slens/list-layout": "^1.0.0",
|
|
"@k8slens/logger": "^1.0.0",
|
|
"@k8slens/messaging": "^1.0.0",
|
|
"@k8slens/messaging-for-main": "^1.0.0",
|
|
"@k8slens/messaging-for-renderer": "^1.0.0",
|
|
"@k8slens/metrics": "^6.5.0",
|
|
"@k8slens/node-fetch": "^6.5.0",
|
|
"@k8slens/prometheus": "^1.0.0",
|
|
"@k8slens/random": "^1.0.0",
|
|
"@k8slens/react-application": "^1.0.0",
|
|
"@k8slens/resizing-anchor": "^1.0.0",
|
|
"@k8slens/resource-templates": "^1.0.0",
|
|
"@k8slens/routing": "^1.0.0",
|
|
"@k8slens/run-many": "^1.0.0",
|
|
"@k8slens/startable-stoppable": "^1.0.0",
|
|
"@k8slens/tooltip": "^1.0.0",
|
|
"@k8slens/utilities": "^1.0.0",
|
|
"@kubernetes/client-node": "^0.18.1",
|
|
"@material-ui/core": "^4.12.3",
|
|
"@material-ui/lab": "^4.0.0-alpha.60",
|
|
"@ogre-tools/fp": "^17.2.0",
|
|
"@ogre-tools/injectable": "^17.2.0",
|
|
"@ogre-tools/injectable-extension-for-auto-registration": "^17.2.0",
|
|
"@ogre-tools/injectable-extension-for-mobx": "^17.2.0",
|
|
"@ogre-tools/injectable-react": "^17.2.0",
|
|
"@sentry/electron": "^3.0.8",
|
|
"@sentry/integrations": "^6.19.3",
|
|
"ansi_up": "^5.2.1",
|
|
"auto-bind": "^4.0.0",
|
|
"await-lock": "^2.2.2",
|
|
"byline": "^5.0.0",
|
|
"chalk": "^4.1.2",
|
|
"chart.js": "^2.9.4",
|
|
"chokidar": "^3.5.3",
|
|
"color": "^3.2.1",
|
|
"conf": "^10.2.0",
|
|
"crypto-js": "^4.1.1",
|
|
"dompurify": "^2.4.4",
|
|
"electron-devtools-installer": "^3.2.0",
|
|
"electron-updater": "^4.6.5",
|
|
"electron-window-state": "^5.0.3",
|
|
"fs-extra": "^9.0.1",
|
|
"glob-to-regexp": "^0.4.1",
|
|
"grapheme-splitter": "^1.0.4",
|
|
"handlebars": "^4.7.7",
|
|
"history": "^4.10.1",
|
|
"hpagent": "^1.2.0",
|
|
"http-proxy": "^1.18.1",
|
|
"immer": "^9.0.21",
|
|
"joi": "^17.9.1",
|
|
"js-yaml": "^4.1.0",
|
|
"lodash": "^4.17.15",
|
|
"marked": "^4.2.12",
|
|
"mobx": "^6.9.0",
|
|
"mobx-observable-history": "^2.0.3",
|
|
"mobx-react": "^7.6.0",
|
|
"mobx-utils": "^6.0.4",
|
|
"moment": "^2.29.4",
|
|
"moment-timezone": "^0.5.40",
|
|
"monaco-editor": "^0.38.0",
|
|
"node-pty": "0.10.1",
|
|
"npm": "^9.6.7",
|
|
"p-limit": "^3.1.0",
|
|
"path-to-regexp": "^6.2.0",
|
|
"proper-lockfile": "^4.1.2",
|
|
"query-string": "^7.1.3",
|
|
"randomcolor": "^0.6.2",
|
|
"react": "^17.0.2",
|
|
"react-beautiful-dnd": "^13.1.1",
|
|
"react-dom": "^17.0.2",
|
|
"react-material-ui-carousel": "^2.3.11",
|
|
"react-router": "^5.3.4",
|
|
"react-router-dom": "^5.3.4",
|
|
"react-select": "^5.7.0",
|
|
"react-select-event": "^5.5.1",
|
|
"react-table": "^7.8.0",
|
|
"react-virtualized-auto-sizer": "^1.0.7",
|
|
"react-window": "^1.8.8",
|
|
"readable-stream": "^3.6.2",
|
|
"rfc6902": "^5.0.1",
|
|
"selfsigned": "^2.1.1",
|
|
"semver": "^7.3.8",
|
|
"stoppable": "^1.1.0",
|
|
"tar": "^6.1.13",
|
|
"tcp-port-used": "^1.0.2",
|
|
"tempy": "1.0.1",
|
|
"type-fest": "^2.14.0",
|
|
"typed-emitter": "^1.4.0",
|
|
"typed-regex": "^0.0.8",
|
|
"url-parse": "^1.5.10",
|
|
"uuid": "^8.3.2",
|
|
"win-ca": "^3.5.0",
|
|
"winston": "^3.8.2",
|
|
"winston-transport-browserconsole": "^1.0.5",
|
|
"ws": "^8.12.1",
|
|
"xterm": "^4.19.0",
|
|
"xterm-addon-fit": "^0.5.0",
|
|
"xterm-link-provider": "^1.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"@electron/notarize": "^1.2.3",
|
|
"@electron/rebuild": "^3.2.10",
|
|
"@k8slens/generate-tray-icons": "^6.5.0",
|
|
"@k8slens/test-utils": "^1.0.0",
|
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
|
|
"@swc/cli": "^0.1.62",
|
|
"@swc/core": "^1.3.53",
|
|
"@swc/jest": "^0.2.26",
|
|
"@types/byline": "^4.2.33",
|
|
"@types/chart.js": "^2.9.36",
|
|
"@types/color": "^3.0.3",
|
|
"@types/crypto-js": "^3.1.47",
|
|
"@types/lodash": "^4.14.191",
|
|
"@types/node": "^16.18.25",
|
|
"@types/proper-lockfile": "^4.1.2",
|
|
"@types/react-dom": "^17.0.16",
|
|
"@types/react-router-dom": "^5.3.3",
|
|
"@types/react-virtualized-auto-sizer": "^1.0.1",
|
|
"@types/react-window": "^1.8.5",
|
|
"@types/request-promise-native": "^1.0.18",
|
|
"@types/tar": "^6.1.4",
|
|
"@types/tcp-port-used": "^1.0.1",
|
|
"@types/url-parse": "^1.4.8",
|
|
"@types/uuid": "^8.3.4",
|
|
"@types/webpack": "^5.28.1",
|
|
"@types/webpack-env": "^1.18.0",
|
|
"@types/webpack-node-externals": "2.5.3",
|
|
"circular-dependency-plugin": "^5.2.2",
|
|
"concurrently": "^7.6.0",
|
|
"copy-webpack-plugin": "^11.0.0",
|
|
"cross-env": "^7.0.3",
|
|
"css-loader": "^6.7.2",
|
|
"electron": "^22.3.10",
|
|
"electron-builder": "^23.6.0",
|
|
"esbuild-loader": "^2.20.0",
|
|
"fork-ts-checker-webpack-plugin": "^7.3.0",
|
|
"html-webpack-plugin": "^5.5.1",
|
|
"jest": "^29.5.0",
|
|
"jest-environment-jsdom": "^28.1.3",
|
|
"jsonfile": "^6.1.0",
|
|
"mini-css-extract-plugin": "^2.7.1",
|
|
"monaco-editor-webpack-plugin": "^7.0.1",
|
|
"node-loader": "^2.0.0",
|
|
"nodemon": "^2.0.20",
|
|
"playwright": "^1.33.0",
|
|
"rimraf": "^4.4.1",
|
|
"run-script-os": "^1.1.6",
|
|
"style-loader": "^3.3.1",
|
|
"tailwindcss": "^3.3.2",
|
|
"ts-loader": "^9.4.2",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^4.9.5",
|
|
"typescript-plugin-css-modules": "^5.0.1",
|
|
"webpack": "^5.81.0",
|
|
"webpack-cli": "^4.9.2",
|
|
"webpack-dev-server": "^4.13.3",
|
|
"webpack-node-externals": "^3.0.0"
|
|
}
|
|
}
|