mirror of
https://github.com/lensapp/lens.git
synced 2024-11-10 10:36:25 +03:00
7ed50f83fc
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com> Co-authored-by: Janne Savolainen <janne.savolainen@live.fi> Co-authored-by: Janne Savolainen <janne.savolainen@houston-inc.com> Co-authored-by: Mikko Aspiala <mikko.aspiala@houston-inc.com>
400 lines
13 KiB
JSON
400 lines
13 KiB
JSON
{
|
|
"name": "open-lens",
|
|
"productName": "OpenLens",
|
|
"description": "OpenLens - Open Source IDE for Kubernetes",
|
|
"homepage": "https://github.com/lensapp/lens",
|
|
"version": "5.3.0",
|
|
"main": "static/build/main.js",
|
|
"copyright": "© 2021 OpenLens Authors",
|
|
"license": "MIT",
|
|
"author": {
|
|
"name": "OpenLens Authors",
|
|
"email": "info@k8slens.dev"
|
|
},
|
|
"scripts": {
|
|
"dev": "concurrently -i -k \"yarn run dev-run -C\" yarn:dev:*",
|
|
"dev-build": "concurrently yarn:compile:*",
|
|
"debug-build": "concurrently yarn:compile:main yarn:compile:extension-types",
|
|
"dev-run": "nodemon --watch static/build/main.js --exec \"electron --remote-debugging-port=9223 --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:extension-types": "yarn run webpack --config webpack.extensions.ts",
|
|
"npm:fix-build-version": "yarn run ts-node build/set_build_version.ts",
|
|
"npm:fix-package-version": "yarn run ts-node build/set_npm_version.ts",
|
|
"build:linux": "yarn run compile && electron-builder --linux --dir",
|
|
"build:mac": "yarn run compile && electron-builder --mac --dir",
|
|
"build:win": "yarn run compile && electron-builder --win --dir",
|
|
"integration": "jest --runInBand --detectOpenHandles --forceExit integration",
|
|
"dist": "yarn run compile && electron-builder --publish onTag",
|
|
"dist:dir": "yarn run dist --dir -c.compression=store -c.mac.identity=null",
|
|
"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",
|
|
"build:theme-vars": "yarn run ts-node build/build_theme_vars.ts",
|
|
"lint": "PROD=true 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 src/extensions/extension-api.ts",
|
|
"version-checkout": "cat package.json | jq '.version' -r | xargs printf \"release/v%s\" | xargs git checkout -b",
|
|
"version-commit": "cat package.json | jq '.version' -r | xargs printf \"release v%s\" | git commit --no-edit -s -F -",
|
|
"version": "yarn run version-checkout && git add package.json && yarn run version-commit",
|
|
"postversion": "git push --set-upstream ${GIT_REMOTE:-origin} release/v$npm_package_version"
|
|
},
|
|
"config": {
|
|
"bundledKubectlVersion": "1.21.2",
|
|
"bundledHelmVersion": "3.6.3",
|
|
"sentryDsn": ""
|
|
},
|
|
"engines": {
|
|
"node": ">=14 <15"
|
|
},
|
|
"jest": {
|
|
"collectCoverage": false,
|
|
"verbose": true,
|
|
"transform": {
|
|
"^.+\\.tsx?$": "ts-jest"
|
|
},
|
|
"moduleNameMapper": {
|
|
"\\.(css|scss)$": "<rootDir>/__mocks__/styleMock.ts",
|
|
"\\.(svg)$": "<rootDir>/__mocks__/imageMock.ts",
|
|
"src/(.*)": "<rootDir>/__mocks__/windowMock.ts"
|
|
},
|
|
"modulePathIgnorePatterns": [
|
|
"<rootDir>/dist",
|
|
"<rootDir>/src/extensions/npm"
|
|
],
|
|
"setupFiles": [
|
|
"<rootDir>/src/jest.setup.ts",
|
|
"jest-canvas-mock"
|
|
],
|
|
"globals": {
|
|
"ts-jest": {
|
|
"isolatedModules": true
|
|
}
|
|
}
|
|
},
|
|
"build": {
|
|
"generateUpdatesFilesForAllChannels": true,
|
|
"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": [
|
|
"**/*.tgz",
|
|
"**/package.json",
|
|
"!**/node_modules"
|
|
]
|
|
},
|
|
{
|
|
"from": "templates/",
|
|
"to": "./templates/",
|
|
"filter": "**/*.yaml"
|
|
},
|
|
"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/${arch}/helm3/helm3",
|
|
"to": "./helm3/helm3"
|
|
}
|
|
]
|
|
},
|
|
"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/${arch}/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/x64/helm3/helm3.exe",
|
|
"to": "./helm3/helm3.exe"
|
|
}
|
|
]
|
|
},
|
|
"nsis": {
|
|
"include": "build/installer.nsh",
|
|
"oneClick": false,
|
|
"allowElevation": true,
|
|
"createStartMenuShortcut": true,
|
|
"allowToChangeInstallationDirectory": true
|
|
},
|
|
"protocols": {
|
|
"name": "Lens Protocol Handler",
|
|
"schemes": [
|
|
"lens"
|
|
],
|
|
"role": "Viewer"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@electron/remote": "^1.2.2",
|
|
"@hapi/call": "^8.0.1",
|
|
"@hapi/subtext": "^7.0.3",
|
|
"@kubernetes/client-node": "^0.16.1",
|
|
"@sentry/electron": "^2.5.4",
|
|
"@sentry/integrations": "^6.15.0",
|
|
"@ogre-tools/injectable": "^1.3.0",
|
|
"@ogre-tools/injectable-react": "^1.3.1",
|
|
"abort-controller": "^3.0.0",
|
|
"auto-bind": "^4.0.0",
|
|
"autobind-decorator": "^2.4.0",
|
|
"await-lock": "^2.1.0",
|
|
"byline": "^5.0.0",
|
|
"chokidar": "^3.4.3",
|
|
"conf": "^7.1.2",
|
|
"crypto-js": "^4.1.1",
|
|
"electron-devtools-installer": "^3.2.0",
|
|
"electron-updater": "^4.6.1",
|
|
"electron-window-state": "^5.0.3",
|
|
"filehound": "^1.17.5",
|
|
"fs-extra": "^9.0.1",
|
|
"glob-to-regexp": "^0.4.1",
|
|
"got": "^11.8.2",
|
|
"grapheme-splitter": "^1.0.4",
|
|
"handlebars": "^4.7.7",
|
|
"http-proxy": "^1.18.1",
|
|
"immer": "^9.0.6",
|
|
"joi": "^17.5.0",
|
|
"js-yaml": "^4.1.0",
|
|
"jsdom": "^16.7.0",
|
|
"jsonpath": "^1.1.1",
|
|
"lodash": "^4.17.15",
|
|
"mac-ca": "^1.0.6",
|
|
"marked": "^2.1.3",
|
|
"md5-file": "^5.0.0",
|
|
"mobx": "^6.3.7",
|
|
"mobx-observable-history": "^2.0.3",
|
|
"mobx-react": "^7.2.1",
|
|
"mock-fs": "^4.14.0",
|
|
"moment": "^2.29.1",
|
|
"moment-timezone": "^0.5.34",
|
|
"monaco-editor": "^0.29.1",
|
|
"monaco-editor-webpack-plugin": "^5.0.0",
|
|
"node-fetch": "lensapp/node-fetch#2.x",
|
|
"node-pty": "^0.10.1",
|
|
"npm": "^6.14.15",
|
|
"p-limit": "^3.1.0",
|
|
"path-to-regexp": "^6.2.0",
|
|
"proper-lockfile": "^4.1.2",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"react-material-ui-carousel": "^2.3.8",
|
|
"react-router": "^5.2.0",
|
|
"react-virtualized-auto-sizer": "^1.0.6",
|
|
"readable-stream": "^3.6.0",
|
|
"request": "^2.88.2",
|
|
"request-promise-native": "^1.0.9",
|
|
"rfc6902": "^4.0.2",
|
|
"semver": "^7.3.2",
|
|
"shell-env": "^3.0.1",
|
|
"spdy": "^4.0.2",
|
|
"tar": "^6.1.11",
|
|
"tcp-port-used": "^1.0.2",
|
|
"tempy": "1.0.1",
|
|
"url-parse": "^1.5.3",
|
|
"uuid": "^8.3.2",
|
|
"win-ca": "^3.4.5",
|
|
"winston": "^3.3.3",
|
|
"winston-console-format": "^1.0.8",
|
|
"winston-transport-browserconsole": "^1.0.5",
|
|
"ws": "^7.5.5"
|
|
},
|
|
"devDependencies": {
|
|
"@async-fn/jest": "^1.5.0",
|
|
"@material-ui/core": "^4.12.3",
|
|
"@material-ui/icons": "^4.11.2",
|
|
"@material-ui/lab": "^4.0.0-alpha.60",
|
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.4.3",
|
|
"@sentry/types": "^6.14.1",
|
|
"@testing-library/jest-dom": "^5.15.0",
|
|
"@testing-library/react": "^11.2.7",
|
|
"@testing-library/user-event": "^13.5.0",
|
|
"@types/byline": "^4.2.33",
|
|
"@types/chart.js": "^2.9.34",
|
|
"@types/color": "^3.0.2",
|
|
"@types/crypto-js": "^3.1.47",
|
|
"@types/dompurify": "^2.3.1",
|
|
"@types/electron-devtools-installer": "^2.2.0",
|
|
"@types/fs-extra": "^9.0.13",
|
|
"@types/glob-to-regexp": "^0.4.1",
|
|
"@types/hoist-non-react-statics": "^3.3.1",
|
|
"@types/html-webpack-plugin": "^3.2.6",
|
|
"@types/http-proxy": "^1.17.7",
|
|
"@types/jest": "^26.0.24",
|
|
"@types/js-yaml": "^4.0.4",
|
|
"@types/jsdom": "^16.2.13",
|
|
"@types/jsonpath": "^0.2.0",
|
|
"@types/lodash": "^4.14.177",
|
|
"@types/marked": "^2.0.5",
|
|
"@types/md5-file": "^4.0.2",
|
|
"@types/mini-css-extract-plugin": "^0.9.1",
|
|
"@types/mock-fs": "^4.13.1",
|
|
"@types/node": "14.17.33",
|
|
"@types/node-fetch": "^2.5.12",
|
|
"@types/npm": "^2.0.32",
|
|
"@types/progress-bar-webpack-plugin": "^2.1.2",
|
|
"@types/proper-lockfile": "^4.1.2",
|
|
"@types/randomcolor": "^0.5.6",
|
|
"@types/react": "^17.0.34",
|
|
"@types/react-beautiful-dnd": "^13.1.2",
|
|
"@types/react-dom": "^17.0.11",
|
|
"@types/react-router-dom": "^5.3.2",
|
|
"@types/react-select": "3.1.2",
|
|
"@types/react-table": "^7.7.8",
|
|
"@types/react-virtualized-auto-sizer": "^1.0.1",
|
|
"@types/react-window": "^1.8.5",
|
|
"@types/readable-stream": "^2.3.12",
|
|
"@types/request": "^2.48.7",
|
|
"@types/request-promise-native": "^1.0.18",
|
|
"@types/semver": "^7.3.9",
|
|
"@types/sharp": "^0.29.4",
|
|
"@types/spdy": "^3.4.5",
|
|
"@types/tar": "^4.0.5",
|
|
"@types/tcp-port-used": "^1.0.0",
|
|
"@types/tempy": "^0.3.0",
|
|
"@types/triple-beam": "^1.3.2",
|
|
"@types/url-parse": "^1.4.5",
|
|
"@types/uuid": "^8.3.3",
|
|
"@types/webpack": "^4.41.32",
|
|
"@types/webpack-dev-server": "^3.11.6",
|
|
"@types/webpack-env": "^1.16.3",
|
|
"@types/webpack-node-externals": "^1.7.1",
|
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
"@typescript-eslint/parser": "^4.33.0",
|
|
"ansi_up": "^5.1.0",
|
|
"chart.js": "^2.9.4",
|
|
"circular-dependency-plugin": "^5.2.2",
|
|
"color": "^3.2.1",
|
|
"concurrently": "^5.3.0",
|
|
"css-loader": "^5.2.7",
|
|
"deepdash": "^5.3.9",
|
|
"dompurify": "^2.3.3",
|
|
"electron": "^13.6.1",
|
|
"electron-builder": "^22.14.5",
|
|
"electron-notarize": "^0.3.0",
|
|
"esbuild": "^0.13.15",
|
|
"esbuild-loader": "^2.16.0",
|
|
"eslint": "^7.32.0",
|
|
"eslint-plugin-header": "^3.1.1",
|
|
"eslint-plugin-react": "^7.27.1",
|
|
"eslint-plugin-react-hooks": "^4.3.0",
|
|
"eslint-plugin-unused-imports": "^1.1.5",
|
|
"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.2",
|
|
"include-media": "^1.4.9",
|
|
"jest": "26.6.3",
|
|
"jest-canvas-mock": "^2.3.1",
|
|
"jest-fetch-mock": "^3.0.3",
|
|
"jest-mock-extended": "^1.0.18",
|
|
"make-plural": "^6.2.2",
|
|
"mini-css-extract-plugin": "^1.6.2",
|
|
"node-gyp": "7.1.2",
|
|
"node-loader": "^1.0.3",
|
|
"nodemon": "^2.0.14",
|
|
"playwright": "^1.15.2",
|
|
"postcss": "^8.3.11",
|
|
"postcss-loader": "4.3.0",
|
|
"postinstall-postinstall": "^2.1.0",
|
|
"progress-bar-webpack-plugin": "^2.1.0",
|
|
"randomcolor": "^0.6.2",
|
|
"raw-loader": "^4.0.2",
|
|
"react-beautiful-dnd": "^13.1.0",
|
|
"react-refresh": "^0.9.0",
|
|
"react-router-dom": "^5.3.0",
|
|
"react-select": "3.2.0",
|
|
"react-select-event": "^5.1.0",
|
|
"react-table": "^7.7.0",
|
|
"react-window": "^1.8.6",
|
|
"sass": "^1.43.4",
|
|
"sass-loader": "^8.0.2",
|
|
"sharp": "^0.29.3",
|
|
"style-loader": "^2.0.0",
|
|
"tailwindcss": "^2.2.19",
|
|
"ts-jest": "26.5.6",
|
|
"ts-loader": "^7.0.5",
|
|
"ts-node": "^10.4.0",
|
|
"type-fest": "^1.0.2",
|
|
"typed-emitter": "^1.4.0",
|
|
"typedoc": "0.22.10",
|
|
"typedoc-plugin-markdown": "^3.11.3",
|
|
"typeface-roboto": "^1.1.13",
|
|
"typescript": "^4.5.2",
|
|
"typescript-plugin-css-modules": "^3.4.0",
|
|
"url-loader": "^4.1.1",
|
|
"webpack": "^4.46.0",
|
|
"webpack-cli": "^3.3.12",
|
|
"webpack-dev-server": "^3.11.3",
|
|
"webpack-node-externals": "^1.7.2",
|
|
"xterm": "^4.14.1",
|
|
"xterm-addon-fit": "^0.5.0"
|
|
}
|
|
}
|