mirror of
https://github.com/rancher-sandbox/rancher-desktop.git
synced 2021-10-13 00:04:06 +03:00
This commit adds RPM and DEB targets to the electron builder manifest and uploads the result within the packaging workflow. Signed-off-by: David Cassany <dcassany@suse.com>
146 lines
4.3 KiB
JSON
146 lines
4.3 KiB
JSON
{
|
|
"name": "rancher-desktop",
|
|
"license": "Apache-2.0",
|
|
"version": "0.6.0",
|
|
"author": {
|
|
"name": "SUSE",
|
|
"email": "containers@suse.com"
|
|
},
|
|
"engines": {
|
|
"node": ">=14.14"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/rancher-sandbox/rancher-desktop.git"
|
|
},
|
|
"scripts": {
|
|
"dev": "node ./scripts/dev.mjs",
|
|
"lint": "npm run lint:fix && npm run lint:go",
|
|
"lint:fix": "eslint --ignore-path=.gitignore --ext mjs,js,ts,vue --fix .",
|
|
"lint:nofix": "eslint --ignore-path=.gitignore --ext mjs,js,ts,vue .",
|
|
"lint:go": "gofmt -w src/go",
|
|
"generate:nerdctl-stub": "powershell scripts/windows/generate-nerdctl-stub.ps1",
|
|
"build": "node ./scripts/build.mjs",
|
|
"sign": "node scripts/ts-wrapper.js scripts/sign.ts",
|
|
"test": "npm run lint:nofix && npm run test:unit",
|
|
"test:unit": "npm run test:unit:jest && npm run test:unit:nerdctl-stub",
|
|
"test:unit:jest": "jest",
|
|
"test:unit:watch": "npm run test:unit -- --watch",
|
|
"test:unit:nerdctl-stub": "cd ./src/go/nerdctl-stub/ && go test ./...",
|
|
"test:e2e": "node ./scripts/e2e.mjs",
|
|
"generateReleases": "node ./scripts/generateReleaseList.js",
|
|
"postinstall": "node ./scripts/postinstall.mjs",
|
|
"postuninstall": "electron-builder install-app-deps"
|
|
},
|
|
"main": "dist/app/background.js",
|
|
"dependencies": {
|
|
"@kubernetes/client-node": "^0.13.0",
|
|
"agent-base": "^6.0.2",
|
|
"bufferutil": "^4.0.3",
|
|
"cookie-universal-nuxt": "^2.0.17",
|
|
"core-js": "^3.8.1",
|
|
"cron-validator": "^1.2.1",
|
|
"cronstrue": "^1.114.0",
|
|
"dompurify": "^2.2.9",
|
|
"electron-updater": "^4.3.9",
|
|
"fs-extra": "^10.0.0",
|
|
"http-proxy-agent": "^4.0.1",
|
|
"https-proxy-agent": "^5.0.0",
|
|
"intl-messageformat": "^7.8.4",
|
|
"jquery": "^3.5.1",
|
|
"jsonpath": "^1.0.2",
|
|
"lodash": "^4.17.20",
|
|
"mac-ca": "^1.0.6",
|
|
"marked": "^2.1.2",
|
|
"node-fetch": "^2.6.1",
|
|
"semver": "^7.3.5",
|
|
"socks-proxy-agent": "^6.0.0",
|
|
"sudo-prompt": "^9.2.1",
|
|
"tar": "^6.1.11",
|
|
"utf-8-validate": "^5.0.4",
|
|
"vue": "^2.6.12",
|
|
"vue-js-modal": "^1.3.31",
|
|
"vue-router": "^3.4.9",
|
|
"vue-select": "^3.11.2",
|
|
"vue-shortkey": "^3.1.7",
|
|
"vue-slider-component": "^3.2.11",
|
|
"win-ca": "^3.4.5",
|
|
"linux-ca": "^1.0.0",
|
|
"xdg-app-paths": "^5.4.1",
|
|
"yaml": "^1.10.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/eslint-parser": "^7.12.1",
|
|
"@nuxt/types": "^2.15.2",
|
|
"@nuxt/typescript-build": "^2.1.0",
|
|
"@nuxtjs/eslint-config": "^5.0.0",
|
|
"@nuxtjs/router-extras": "^1.1.1",
|
|
"@nuxtjs/style-resources": "^1.2.1",
|
|
"@octokit/rest": "^18.0.12",
|
|
"@types/dompurify": "^2.2.2",
|
|
"@types/jest": "^24.9.1",
|
|
"@types/lodash": "^4.14.168",
|
|
"@types/marked": "^2.0.3",
|
|
"@types/node": "^14.16.0",
|
|
"@types/node-fetch": "^2.5.10",
|
|
"@types/node-forge": "^0.9.7",
|
|
"@types/semver": "^7.3.4",
|
|
"@typescript-eslint/eslint-plugin": "^4.17.0",
|
|
"@typescript-eslint/parser": "^4.17.0",
|
|
"@vue/test-utils": "^1.1.2",
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
"cache-loader": "^4.1.0",
|
|
"electron": "^12.0.18",
|
|
"electron-builder": "^22.14.2",
|
|
"electron-devtools-installer": "^3.1.0",
|
|
"electron-notarize": "^1.0.0",
|
|
"eslint": "^7.18.0",
|
|
"eslint-plugin-deprecation": "^1.2.1",
|
|
"eslint-plugin-nuxt": "^2.0.0",
|
|
"eslint-plugin-vue": "^7.4.1",
|
|
"extract-zip": "^2.0.1",
|
|
"jest": "^24.9.0",
|
|
"js-yaml-loader": "^1.2.2",
|
|
"nan": "2.14.0 <2.14.1",
|
|
"nuxt": "^2.14.12",
|
|
"raw-loader": "^4.0.2",
|
|
"sass": "^1.38.2",
|
|
"sass-loader": "^10.1.1",
|
|
"spectron": "14.0.0",
|
|
"ts-jest": "^24.3.0",
|
|
"ts-node": "^10.0.0",
|
|
"vue-jest": "^3.0.7",
|
|
"vue-template-compiler": "^2.6.12",
|
|
"webpack": "^4.46.0"
|
|
},
|
|
"jest": {
|
|
"transform": {
|
|
"^.+\\.js$": "babel-jest",
|
|
"^.+\\.ts$": "ts-jest",
|
|
"^.+\\.vue$": "vue-jest"
|
|
},
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"json",
|
|
"ts",
|
|
"vue"
|
|
],
|
|
"modulePathIgnorePatterns": [
|
|
"<rootDir>/dist",
|
|
"<rootDir>/src/dist",
|
|
"<rootDir>/.git",
|
|
"<rootDir>/e2e"
|
|
],
|
|
"moduleNameMapper": {
|
|
"\\.css$": "<rootDir>/src/config/emptyStubForJSLinter.js",
|
|
"^@/(.*)$": "<rootDir>/src/$1"
|
|
},
|
|
"preset": "ts-jest/presets/js-with-babel"
|
|
},
|
|
"browserslist": [
|
|
"> 1%",
|
|
"last 2 versions",
|
|
"not dead"
|
|
]
|
|
}
|