2020-03-15 10:52:02 +03:00
|
|
|
{
|
|
|
|
"name": "kontena-lens",
|
|
|
|
"productName": "Lens",
|
2020-06-30 14:35:16 +03:00
|
|
|
"description": "Lens - The Kubernetes IDE",
|
2020-09-02 07:47:07 +03:00
|
|
|
"version": "3.6.0-beta.2",
|
2020-08-20 08:53:07 +03:00
|
|
|
"main": "static/build/main.js",
|
2020-08-14 16:05:57 +03:00
|
|
|
"copyright": "© 2020, Mirantis, Inc.",
|
2020-06-30 14:35:16 +03:00
|
|
|
"license": "MIT",
|
2020-03-15 10:52:02 +03:00
|
|
|
"author": {
|
2020-08-14 16:05:57 +03:00
|
|
|
"name": "Mirantis, Inc.",
|
|
|
|
"email": "info@k8slens.dev"
|
2020-03-15 10:52:02 +03:00
|
|
|
},
|
2020-06-30 14:35:16 +03:00
|
|
|
"scripts": {
|
|
|
|
"dev": "concurrently -k \"yarn dev-run -C\" \"yarn dev:main\" \"yarn dev:renderer\"",
|
2020-08-25 11:08:46 +03:00
|
|
|
"dev-run": "cross-env DEBUG=true nodemon --watch static/build/main.js --exec \"electron --inspect .\"",
|
|
|
|
"dev:main": "cross-env DEBUG=true yarn compile:main --watch",
|
|
|
|
"dev:renderer": "cross-env DEBUG=true yarn compile:renderer --watch",
|
2020-08-20 08:53:07 +03:00
|
|
|
"compile": "env NODE_ENV=production concurrently yarn:compile:*",
|
|
|
|
"compile:main": "webpack --config webpack.main.ts",
|
|
|
|
"compile:renderer": "webpack --config webpack.renderer.ts",
|
|
|
|
"compile:i18n": "lingui compile",
|
|
|
|
"build:linux": "yarn compile && electron-builder --linux --dir -c.productName=Lens",
|
|
|
|
"build:mac": "yarn compile && electron-builder --mac --dir -c.productName=Lens",
|
|
|
|
"build:win": "yarn compile && electron-builder --win --dir -c.productName=Lens",
|
2020-06-30 14:35:16 +03:00
|
|
|
"test": "jest --env=jsdom src $@",
|
|
|
|
"integration": "jest --coverage integration $@",
|
2020-08-20 08:53:07 +03:00
|
|
|
"dist": "yarn compile && electron-builder --publish onTag",
|
|
|
|
"dist:win": "yarn compile && electron-builder --publish onTag --x64 --ia32",
|
2020-06-30 14:35:16 +03:00
|
|
|
"dist:dir": "yarn dist --dir -c.compression=store -c.mac.identity=null",
|
|
|
|
"postinstall": "patch-package",
|
|
|
|
"i18n:extract": "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",
|
2020-08-20 08:53:07 +03:00
|
|
|
"lint": "eslint $@ --ext js,ts,tsx --max-warnings=0 src/",
|
|
|
|
"rebuild-pty": "yarn run electron-rebuild -f -w node-pty"
|
2020-06-30 14:35:16 +03:00
|
|
|
},
|
2020-03-15 10:52:02 +03:00
|
|
|
"config": {
|
2020-09-02 08:27:04 +03:00
|
|
|
"bundledKubectlVersion": "1.17.11",
|
|
|
|
"bundledHelmVersion": "3.3.1"
|
2020-03-15 10:52:02 +03:00
|
|
|
},
|
2020-03-23 17:31:28 +03:00
|
|
|
"engines": {
|
2020-03-29 18:46:21 +03:00
|
|
|
"node": ">=12.0 <13.0"
|
2020-03-23 17:31:28 +03:00
|
|
|
},
|
2020-06-30 14:35:16 +03:00
|
|
|
"lingui": {
|
|
|
|
"locales": [
|
|
|
|
"en",
|
|
|
|
"ru",
|
|
|
|
"fi"
|
|
|
|
],
|
|
|
|
"format": "po",
|
|
|
|
"sourceLocale": "en",
|
|
|
|
"fallbackLocale": "en",
|
|
|
|
"compileNamespace": "cjs",
|
|
|
|
"catalogs": [
|
|
|
|
{
|
|
|
|
"path": "./locales/{locale}/messages",
|
|
|
|
"include": "./src/renderer"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"testRegex": ".*_(spec|test)\\.[jt]sx?$",
|
|
|
|
"collectCoverage": false,
|
|
|
|
"verbose": true,
|
|
|
|
"testEnvironment": "node",
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.tsx?$": "ts-jest"
|
2020-08-20 08:53:07 +03:00
|
|
|
},
|
|
|
|
"moduleNameMapper": {
|
|
|
|
"\\.(css|scss)$": "<rootDir>/__mocks__/styleMock.ts"
|
2020-06-30 14:35:16 +03:00
|
|
|
}
|
|
|
|
},
|
2020-03-15 10:52:02 +03:00
|
|
|
"build": {
|
|
|
|
"afterSign": "build/notarize.js",
|
|
|
|
"extraResources": [
|
|
|
|
{
|
|
|
|
"from": "src/features/",
|
|
|
|
"to": "features/",
|
|
|
|
"filter": "**/*"
|
|
|
|
},
|
2020-06-30 14:35:16 +03:00
|
|
|
{
|
|
|
|
"from": "locales/",
|
|
|
|
"to": "locales/",
|
|
|
|
"filter": "**/*.js"
|
|
|
|
},
|
2020-03-15 10:52:02 +03:00
|
|
|
{
|
|
|
|
"from": "static/",
|
|
|
|
"to": "static/",
|
2020-08-20 08:53:07 +03:00
|
|
|
"filter": "!**/main.js"
|
2020-03-15 10:52:02 +03:00
|
|
|
},
|
|
|
|
"LICENSE"
|
|
|
|
],
|
|
|
|
"linux": {
|
|
|
|
"category": "Network",
|
|
|
|
"target": [
|
|
|
|
"snap",
|
|
|
|
"AppImage"
|
|
|
|
],
|
|
|
|
"extraResources": [
|
|
|
|
{
|
|
|
|
"from": "binaries/client/linux/x64/kubectl",
|
|
|
|
"to": "./x64/kubectl"
|
2020-04-06 18:18:18 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "binaries/client/helm3/helm3",
|
|
|
|
"to": "./helm3/helm3"
|
2020-03-15 10:52:02 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"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"
|
2020-04-06 18:18:18 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "binaries/client/helm3/helm3",
|
|
|
|
"to": "./helm3/helm3"
|
2020-03-15 10:52:02 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"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"
|
2020-04-06 18:18:18 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "binaries/client/helm3/helm3.exe",
|
|
|
|
"to": "./helm3/helm3.exe"
|
2020-03-15 10:52:02 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"publish": [
|
|
|
|
{
|
|
|
|
"provider": "github",
|
|
|
|
"repo": "lens",
|
2020-03-15 10:59:10 +03:00
|
|
|
"owner": "lensapp"
|
2020-03-15 10:52:02 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"snap": {
|
|
|
|
"confinement": "classic"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-06-30 14:35:16 +03:00
|
|
|
"@hapi/call": "^8.0.0",
|
|
|
|
"@hapi/subtext": "^7.0.3",
|
|
|
|
"@kubernetes/client-node": "^0.12.0",
|
|
|
|
"@types/crypto-js": "^3.1.47",
|
|
|
|
"@types/electron-window-state": "^2.0.34",
|
|
|
|
"@types/fs-extra": "^9.0.1",
|
|
|
|
"@types/http-proxy": "^1.17.4",
|
|
|
|
"@types/js-yaml": "^3.12.4",
|
|
|
|
"@types/jsonpath": "^0.2.0",
|
|
|
|
"@types/lodash": "^4.14.155",
|
|
|
|
"@types/marked": "^0.7.4",
|
|
|
|
"@types/mock-fs": "^4.10.0",
|
|
|
|
"@types/node": "^12.12.45",
|
2020-03-15 10:52:02 +03:00
|
|
|
"@types/proper-lockfile": "^4.1.1",
|
2020-09-04 20:32:27 +03:00
|
|
|
"@types/react-beautiful-dnd": "^13.0.0",
|
2020-03-15 10:52:02 +03:00
|
|
|
"@types/tar": "^4.0.3",
|
2020-09-04 20:32:27 +03:00
|
|
|
"array-move": "^3.0.0",
|
2020-08-20 08:53:07 +03:00
|
|
|
"chalk": "^4.1.0",
|
|
|
|
"conf": "^7.0.1",
|
2020-06-30 14:35:16 +03:00
|
|
|
"crypto-js": "^4.0.0",
|
|
|
|
"electron-updater": "^4.3.1",
|
2020-03-15 10:52:02 +03:00
|
|
|
"electron-window-state": "^5.0.3",
|
2020-08-25 16:42:30 +03:00
|
|
|
"file-type": "^14.7.1",
|
2020-03-15 10:52:02 +03:00
|
|
|
"filenamify": "^4.1.0",
|
2020-06-30 14:35:16 +03:00
|
|
|
"fs-extra": "^9.0.1",
|
|
|
|
"handlebars": "^4.7.6",
|
|
|
|
"http-proxy": "^1.18.1",
|
2020-08-20 08:53:07 +03:00
|
|
|
"immer": "^7.0.5",
|
2020-06-30 14:35:16 +03:00
|
|
|
"js-yaml": "^3.14.0",
|
|
|
|
"jsonpath": "^1.0.2",
|
|
|
|
"lodash": "^4.17.15",
|
2020-03-15 10:52:02 +03:00
|
|
|
"mac-ca": "^1.0.4",
|
2020-08-25 16:42:30 +03:00
|
|
|
"make-synchronous": "^0.1.1",
|
2020-06-30 14:35:16 +03:00
|
|
|
"marked": "^1.1.0",
|
|
|
|
"md5-file": "^5.0.0",
|
2020-08-20 08:53:07 +03:00
|
|
|
"mobx": "^5.15.5",
|
|
|
|
"mobx-observable-history": "^1.0.3",
|
2020-06-30 14:35:16 +03:00
|
|
|
"mock-fs": "^4.12.0",
|
2020-03-15 10:52:02 +03:00
|
|
|
"node-machine-id": "^1.1.12",
|
|
|
|
"node-pty": "^0.9.0",
|
2020-06-30 14:35:16 +03:00
|
|
|
"openid-client": "^3.15.2",
|
2020-08-20 08:53:07 +03:00
|
|
|
"path-to-regexp": "^6.1.0",
|
2020-03-15 10:52:02 +03:00
|
|
|
"proper-lockfile": "^4.1.1",
|
2020-09-04 20:32:27 +03:00
|
|
|
"react-beautiful-dnd": "^13.0.0",
|
2020-08-20 08:53:07 +03:00
|
|
|
"react-router": "^5.2.0",
|
2020-06-30 14:35:16 +03:00
|
|
|
"request": "^2.88.2",
|
|
|
|
"request-promise-native": "^1.0.8",
|
|
|
|
"semver": "^7.3.2",
|
2020-08-20 08:53:07 +03:00
|
|
|
"serializr": "^2.0.3",
|
2020-03-15 10:52:02 +03:00
|
|
|
"shell-env": "^3.0.0",
|
2020-06-30 14:35:16 +03:00
|
|
|
"tar": "^6.0.2",
|
2020-03-15 10:52:02 +03:00
|
|
|
"tcp-port-used": "^1.0.1",
|
2020-06-30 14:35:16 +03:00
|
|
|
"tempy": "^0.5.0",
|
2020-03-15 10:52:02 +03:00
|
|
|
"universal-analytics": "^0.4.20",
|
2020-06-30 14:35:16 +03:00
|
|
|
"uuid": "^8.1.0",
|
|
|
|
"win-ca": "^3.2.0",
|
2020-03-15 10:52:02 +03:00
|
|
|
"winston": "^3.2.1",
|
2020-08-20 08:53:07 +03:00
|
|
|
"winston-transport-browserconsole": "^1.0.5",
|
2020-06-30 14:35:16 +03:00
|
|
|
"ws": "^7.3.0"
|
2020-03-15 10:52:02 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-06-30 14:35:16 +03:00
|
|
|
"@babel/core": "^7.10.2",
|
|
|
|
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
|
|
|
"@babel/plugin-transform-runtime": "^7.6.2",
|
|
|
|
"@babel/preset-env": "^7.10.2",
|
|
|
|
"@babel/preset-react": "^7.10.1",
|
|
|
|
"@babel/preset-typescript": "^7.10.1",
|
2020-08-20 08:53:07 +03:00
|
|
|
"@emeraldpay/hashicon-react": "^0.4.0",
|
2020-06-30 14:35:16 +03:00
|
|
|
"@lingui/babel-preset-react": "^2.9.1",
|
|
|
|
"@lingui/cli": "^3.0.0-13",
|
|
|
|
"@lingui/loader": "^3.0.0-13",
|
|
|
|
"@lingui/macro": "^3.0.0-13",
|
|
|
|
"@lingui/react": "^3.0.0-13",
|
|
|
|
"@material-ui/core": "^4.10.1",
|
|
|
|
"@types/chart.js": "^2.9.21",
|
|
|
|
"@types/circular-dependency-plugin": "^5.0.1",
|
|
|
|
"@types/color": "^3.0.1",
|
|
|
|
"@types/dompurify": "^2.0.2",
|
2020-03-24 08:37:47 +03:00
|
|
|
"@types/hapi": "^18.0.3",
|
2020-06-30 14:35:16 +03:00
|
|
|
"@types/hoist-non-react-statics": "^3.3.1",
|
|
|
|
"@types/html-webpack-plugin": "^3.2.3",
|
|
|
|
"@types/jest": "^25.2.3",
|
|
|
|
"@types/material-ui": "^0.21.7",
|
|
|
|
"@types/md5-file": "^4.0.2",
|
|
|
|
"@types/mini-css-extract-plugin": "^0.9.1",
|
|
|
|
"@types/react": "^16.9.35",
|
|
|
|
"@types/react-router-dom": "^5.1.5",
|
|
|
|
"@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.2.0",
|
|
|
|
"@types/shelljs": "^0.8.8",
|
2020-03-15 10:52:02 +03:00
|
|
|
"@types/tcp-port-used": "^1.0.0",
|
2020-06-30 14:35:16 +03:00
|
|
|
"@types/tempy": "^0.3.0",
|
|
|
|
"@types/terser-webpack-plugin": "^3.0.0",
|
|
|
|
"@types/universal-analytics": "^0.4.4",
|
|
|
|
"@types/uuid": "^8.0.0",
|
2020-06-09 13:18:24 +03:00
|
|
|
"@types/webdriverio": "^4.13.0",
|
2020-06-30 14:35:16 +03:00
|
|
|
"@types/webpack": "^4.41.17",
|
|
|
|
"@types/webpack-env": "^1.15.2",
|
|
|
|
"@types/webpack-node-externals": "^1.7.1",
|
2020-09-01 16:27:39 +03:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.0.0",
|
|
|
|
"@typescript-eslint/parser": "^4.0.0",
|
2020-06-30 14:35:16 +03:00
|
|
|
"ace-builds": "^1.4.11",
|
|
|
|
"ansi_up": "^4.0.4",
|
|
|
|
"babel-core": "^7.0.0-beta.3",
|
|
|
|
"babel-loader": "^8.1.0",
|
|
|
|
"babel-plugin-macros": "^2.8.0",
|
|
|
|
"babel-runtime": "^6.26.0",
|
|
|
|
"chart.js": "^2.9.3",
|
|
|
|
"circular-dependency-plugin": "^5.2.0",
|
|
|
|
"color": "^3.1.2",
|
|
|
|
"concurrently": "^5.2.0",
|
2020-08-25 11:08:46 +03:00
|
|
|
"cross-env": "^7.0.2",
|
2020-06-30 14:35:16 +03:00
|
|
|
"css-element-queries": "^1.2.3",
|
|
|
|
"css-loader": "^3.5.3",
|
|
|
|
"dompurify": "^2.0.11",
|
2020-08-20 08:53:07 +03:00
|
|
|
"electron": "^9.1.2",
|
2020-06-30 14:35:16 +03:00
|
|
|
"electron-builder": "^22.7.0",
|
|
|
|
"electron-notarize": "^0.3.0",
|
2020-08-20 08:53:07 +03:00
|
|
|
"electron-rebuild": "^1.11.0",
|
2020-09-01 16:27:39 +03:00
|
|
|
"eslint": "^7.7.0",
|
2020-06-30 14:35:16 +03:00
|
|
|
"file-loader": "^6.0.0",
|
|
|
|
"flex.box": "^3.4.4",
|
|
|
|
"fork-ts-checker-webpack-plugin": "^5.0.0",
|
|
|
|
"hoist-non-react-statics": "^3.3.2",
|
|
|
|
"html-webpack-plugin": "^4.3.0",
|
|
|
|
"identity-obj-proxy": "^3.0.0",
|
|
|
|
"include-media": "^1.4.9",
|
|
|
|
"jest": "^26.0.1",
|
|
|
|
"make-plural": "^6.2.1",
|
2020-03-15 10:52:02 +03:00
|
|
|
"material-design-icons": "^3.0.1",
|
2020-06-30 14:35:16 +03:00
|
|
|
"mini-css-extract-plugin": "^0.9.0",
|
|
|
|
"mobx-react": "^6.2.2",
|
|
|
|
"moment": "^2.26.0",
|
2020-03-15 10:52:02 +03:00
|
|
|
"node-loader": "^0.6.0",
|
2020-06-30 14:35:16 +03:00
|
|
|
"node-sass": "^4.14.1",
|
|
|
|
"nodemon": "^2.0.4",
|
|
|
|
"patch-package": "^6.2.2",
|
|
|
|
"postinstall-postinstall": "^2.1.0",
|
|
|
|
"raw-loader": "^4.0.1",
|
|
|
|
"react": "^16.13.1",
|
|
|
|
"react-dom": "^16.13.1",
|
|
|
|
"react-router-dom": "^5.2.0",
|
|
|
|
"react-select": "^3.1.0",
|
|
|
|
"react-window": "^1.8.5",
|
|
|
|
"sass-loader": "^8.0.2",
|
2020-08-20 08:53:07 +03:00
|
|
|
"spectron": "11.0.0",
|
2020-06-30 14:35:16 +03:00
|
|
|
"style-loader": "^1.2.1",
|
|
|
|
"terser-webpack-plugin": "^3.0.3",
|
|
|
|
"ts-jest": "^26.1.0",
|
|
|
|
"ts-loader": "^7.0.5",
|
|
|
|
"ts-node": "^8.10.2",
|
2020-03-15 10:52:02 +03:00
|
|
|
"typeface-roboto": "^0.0.75",
|
2020-08-20 21:01:33 +03:00
|
|
|
"typescript": "^4.0.2",
|
2020-06-30 14:35:16 +03:00
|
|
|
"url-loader": "^4.1.0",
|
|
|
|
"webpack": "^4.43.0",
|
|
|
|
"webpack-cli": "^3.3.11",
|
|
|
|
"webpack-node-externals": "^1.7.2",
|
|
|
|
"xterm": "^4.6.0",
|
|
|
|
"xterm-addon-fit": "^0.4.0"
|
2020-03-15 10:52:02 +03:00
|
|
|
}
|
|
|
|
}
|