{ "name": "kontena-lens", "productName": "Lens", "description": "Lens - The Kubernetes IDE", "version": "4.0.0-rc.3", "main": "static/build/main.js", "copyright": "© 2020, Mirantis, Inc.", "license": "MIT", "author": { "name": "Mirantis, Inc.", "email": "info@k8slens.dev" }, "scripts": { "dev": "concurrently -k \"yarn run dev-run -C\" yarn:dev:*", "dev-build": "concurrently yarn:compile:*", "dev-run": "nodemon --watch static/build/main.js --exec \"electron --inspect .\"", "dev:main": "yarn run compile:main --watch", "dev:renderer": "yarn run webpack-dev-server --config webpack.renderer.ts", "dev:extension-types": "yarn run compile:extension-types --watch", "compile": "env NODE_ENV=production concurrently yarn:compile:*", "compile:main": "yarn run webpack --config webpack.main.ts", "compile:renderer": "yarn run webpack --config webpack.renderer.ts", "compile:i18n": "yarn run lingui compile", "compile:extension-types": "yarn run webpack --config webpack.extensions.ts", "npm:fix-package-version": "yarn run ts-node build/set_npm_version.ts", "build:linux": "yarn run compile && electron-builder --linux --dir -c.productName=Lens", "build:mac": "yarn run compile && electron-builder --mac --dir -c.productName=Lens", "build:win": "yarn run compile && electron-builder --win --dir -c.productName=Lens", "test": "jest --env=jsdom src $@", "integration": "jest --coverage integration $@", "dist": "yarn run compile && electron-builder --publish onTag", "dist:win": "yarn run compile && electron-builder --publish onTag --x64 --ia32", "dist:dir": "yarn run dist --dir -c.compression=store -c.mac.identity=null", "postinstall": "patch-package", "i18n:extract": "yarn run lingui extract", "download-bins": "concurrently yarn:download:*", "download:kubectl": "yarn run ts-node build/download_kubectl.ts", "download:helm": "yarn run ts-node build/download_helm.ts", "build:tray-icons": "yarn run ts-node build/build_tray_icon.ts", "lint": "yarn run eslint $@ --ext js,ts,tsx --max-warnings=0 .", "lint:fix": "yarn run lint --fix", "mkdocs-serve-local": "docker build -t mkdocs-serve-local:latest mkdocs/ && docker run --rm -it -p 8000:8000 -v ${PWD}:/docs mkdocs-serve-local:latest", "verify-docs": "docker build -t mkdocs-serve-local:latest mkdocs/ && docker run --rm -v ${PWD}:/docs mkdocs-serve-local:latest build --strict", "typedocs-extensions-api": "yarn run typedoc --ignoreCompilerErrors --readme docs/extensions/typedoc-readme.md.tpl --name @k8slens/extensions --out docs/extensions/api --mode library --excludePrivate --hideBreadcrumbs --includes src/ src/extensions/extension-api.ts" }, "config": { "bundledKubectlVersion": "1.17.11", "bundledHelmVersion": "3.3.4" }, "engines": { "node": ">=12 <13" }, "lingui": { "locales": [ "en", "ru", "fi" ], "format": "po", "sourceLocale": "en", "fallbackLocale": "en", "compileNamespace": "cjs", "catalogs": [ { "path": "./locales/{locale}/messages", "include": "./src/renderer" } ] }, "jest": { "collectCoverage": false, "verbose": true, "testEnvironment": "node", "transform": { "^.+\\.tsx?$": "ts-jest" }, "moduleNameMapper": { "\\.(css|scss)$": "/__mocks__/styleMock.ts", "^@lingui/macro$": "/__mocks__/@linguiMacro.ts" }, "modulePathIgnorePatterns": [ "/dist", "/src/extensions/npm" ], "setupFiles": [ "/src/jest.setup.ts" ] }, "build": { "files": [ "static/build/main.js" ], "afterSign": "build/notarize.js", "extraResources": [ { "from": "locales/", "to": "locales/", "filter": "**/*.js" }, { "from": "static/", "to": "static/", "filter": "!**/main.js" }, { "from": "build/tray", "to": "static/icons", "filter": "*.png" }, { "from": "extensions/", "to": "./extensions/", "filter": [ "**/*.js*", "**/*.yml*", "!**/node_modules" ] }, "LICENSE" ], "linux": { "category": "Network", "target": [ "snap", "AppImage" ], "extraResources": [ { "from": "binaries/client/linux/x64/kubectl", "to": "./x64/kubectl" }, { "from": "binaries/client/helm3/helm3", "to": "./helm3/helm3" } ] }, "mac": { "hardenedRuntime": true, "gatekeeperAssess": false, "entitlements": "build/entitlements.mac.plist", "entitlementsInherit": "build/entitlements.mac.plist", "extraResources": [ { "from": "binaries/client/darwin/x64/kubectl", "to": "./x64/kubectl" }, { "from": "binaries/client/helm3/helm3", "to": "./helm3/helm3" } ] }, "win": { "target": [ "nsis" ], "extraResources": [ { "from": "binaries/client/windows/x64/kubectl.exe", "to": "./x64/kubectl.exe" }, { "from": "binaries/client/windows/ia32/kubectl.exe", "to": "./ia32/kubectl.exe" }, { "from": "binaries/client/helm3/helm3.exe", "to": "./helm3/helm3.exe" } ] }, "nsis": { "include": "build/installer.nsh" }, "publish": [ { "provider": "github", "repo": "lens", "owner": "lensapp" } ], "snap": { "confinement": "classic" } }, "lens": { "extensions": [ "telemetry", "pod-menu", "node-menu", "metrics-cluster-feature", "license-menu-item", "kube-object-event-status" ] }, "dependencies": { "@hapi/call": "8.0.1", "@hapi/subtext": "7.0.3", "@kubernetes/client-node": "0.13.0", "@types/crypto-js": "3.1.47", "@types/electron-window-state": "2.0.34", "@types/fs-extra": "9.0.4", "@types/http-proxy": "1.17.4", "@types/js-yaml": "3.12.4", "@types/jsdom": "16.2.5", "@types/jsonpath": "0.2.0", "@types/lodash": "4.14.165", "@types/marked": "0.7.4", "@types/mock-fs": "4.13.0", "@types/node": "12.19.8", "@types/proper-lockfile": "4.1.1", "@types/react-beautiful-dnd": "13.0.0", "@types/tar": "4.0.4", "array-move": "3.0.1", "await-lock": "2.1.0", "chalk": "4.1.0", "chokidar": "3.4.3", "command-exists": "1.2.9", "conf": "7.1.2", "crypto-js": "4.0.0", "electron-devtools-installer": "3.1.1", "electron-updater": "4.3.5", "electron-window-state": "5.0.3", "filenamify": "4.2.0", "fs-extra": "9.0.1", "handlebars": "4.7.6", "http-proxy": "1.18.1", "js-yaml": "3.14.0", "jsdom": "16.4.0", "jsonpath": "1.0.2", "lodash": "4.17.20", "mac-ca": "1.0.4", "marked": "1.2.5", "md5-file": "5.0.0", "mobx": "5.15.7", "mobx-observable-history": "1.0.3", "mock-fs": "4.13.0", "node-pty": "0.9.0", "npm": "6.14.9", "openid-client": "3.15.10", "path-to-regexp": "6.2.0", "proper-lockfile": "4.1.1", "request": "2.88.2", "request-promise-native": "1.0.8", "semver": "7.3.4", "serializr": "2.0.3", "shell-env": "3.0.0", "spdy": "4.0.2", "tar": "6.0.5", "tcp-port-used": "1.0.1", "tempy": "0.7.1", "uuid": "8.3.1", "win-ca": "3.4.5", "winston": "3.3.3", "winston-transport-browserconsole": "1.0.5", "ws": "7.4.1" }, "devDependencies": { "@babel/core": "7.12.9", "@babel/plugin-syntax-dynamic-import": "7.8.3", "@babel/plugin-transform-runtime": "7.12.1", "@babel/preset-env": "7.12.7", "@babel/preset-react": "7.12.7", "@babel/preset-typescript": "7.12.7", "@emeraldpay/hashicon-react": "0.5.1", "@lingui/babel-preset-react": "2.9.2", "@lingui/cli": "3.2.3", "@lingui/loader": "3.2.3", "@lingui/macro": "3.2.3", "@lingui/react": "3.2.3", "@material-ui/core": "4.11.2", "@pmmmwh/react-refresh-webpack-plugin": "0.4.3", "@testing-library/jest-dom": "5.11.6", "@testing-library/react": "11.2.2", "@types/chart.js": "2.9.28", "@types/circular-dependency-plugin": "5.0.1", "@types/color": "3.0.1", "@types/crypto-js": "3.1.47", "@types/dompurify": "2.0.4", "@types/electron-devtools-installer": "2.2.0", "@types/electron-window-state": "2.0.34", "@types/fs-extra": "9.0.4", "@types/hapi": "18.0.4", "@types/hoist-non-react-statics": "3.3.1", "@types/html-webpack-plugin": "3.2.4", "@types/http-proxy": "1.17.4", "@types/jest": "25.2.3", "@types/js-yaml": "3.12.4", "@types/jsonpath": "0.2.0", "@types/lodash": "4.14.165", "@types/marked": "0.7.4", "@types/material-ui": "0.21.8", "@types/md5-file": "4.0.2", "@types/mini-css-extract-plugin": "0.9.1", "@types/mock-fs": "4.13.0", "@types/module-alias": "2.0.0", "@types/node": "12.19.8", "@types/npm": "2.0.31", "@types/progress-bar-webpack-plugin": "2.1.0", "@types/proper-lockfile": "4.1.1", "@types/react": "16.9.35", "@types/react-beautiful-dnd": "13.0.0", "@types/react-router-dom": "5.1.6", "@types/react-select": "3.0.13", "@types/react-window": "1.8.2", "@types/request": "2.48.5", "@types/request-promise-native": "1.0.17", "@types/semver": "7.3.4", "@types/sharp": "0.26.1", "@types/shelljs": "0.8.8", "@types/spdy": "3.4.4", "@types/tcp-port-used": "1.0.0", "@types/tempy": "0.3.0", "@types/terser-webpack-plugin": "3.0.0", "@types/universal-analytics": "0.4.4", "@types/uuid": "8.3.0", "@types/webdriverio": "4.13.3", "@types/webpack": "4.41.17", "@types/webpack-dev-server": "3.11.1", "@types/webpack-env": "1.16.0", "@types/webpack-node-externals": "1.7.1", "@typescript-eslint/eslint-plugin": "4.9.0", "@typescript-eslint/parser": "4.9.0", "ace-builds": "1.4.12", "ansi_up": "4.0.4", "babel-core": "7.0.0-bridge.0", "babel-loader": "8.2.2", "babel-plugin-macros": "2.8.0", "babel-runtime": "6.26.0", "chart.js": "2.9.4", "circular-dependency-plugin": "5.2.2", "color": "3.1.3", "concurrently": "5.3.0", "css-element-queries": "1.2.3", "css-loader": "3.6.0", "dompurify": "2.2.2", "electron": "9.3.5", "electron-builder": "22.9.1", "electron-notarize": "0.3.0", "eslint": "7.15.0", "eslint-plugin-react": "7.21.5", "eslint-plugin-unused-imports": "1.0.1", "file-loader": "6.2.0", "flex.box": "3.4.4", "fork-ts-checker-webpack-plugin": "5.2.1", "hoist-non-react-statics": "3.3.2", "html-webpack-plugin": "4.5.0", "identity-obj-proxy": "3.0.0", "include-media": "1.4.9", "jest": "26.6.3", "jest-fetch-mock": "3.0.3", "jest-mock-extended": "1.0.10", "make-plural": "6.2.2", "mini-css-extract-plugin": "0.12.0", "mobx-react": "6.3.1", "moment": "2.29.1", "node-loader": "0.6.0", "node-sass": "4.14.1", "nodemon": "2.0.6", "patch-package": "6.2.2", "postinstall-postinstall": "2.1.0", "prettier": "2.2.1", "progress-bar-webpack-plugin": "2.1.0", "raw-loader": "4.0.2", "react": "16.14.0", "react-beautiful-dnd": "13.0.0", "react-dom": "16.14.0", "react-refresh": "0.9.0", "react-router": "5.2.0", "react-router-dom": "5.2.0", "react-select": "3.1.1", "react-window": "1.8.6", "sass-loader": "8.0.2", "sharp": "0.26.3", "spectron": "11.0.0", "style-loader": "1.3.0", "terser-webpack-plugin": "3.1.0", "ts-jest": "26.4.4", "ts-loader": "7.0.5", "ts-node": "8.10.2", "type-fest": "0.20.2", "typedoc": "0.17.0-3", "typedoc-plugin-markdown": "2.4.2", "typeface-roboto": "0.0.75", "typescript": "4.0.2", "url-loader": "4.1.1", "webpack": "4.44.2", "webpack-cli": "3.3.12", "webpack-dev-server": "3.11.0", "webpack-node-externals": "1.7.2", "what-input": "5.2.10", "xterm": "4.9.0", "xterm-addon-fit": "0.4.0" } }