More dependencies updates, warning clean-up.
This commit is contained in:
Родитель
c9b2ff0d7a
Коммит
1b91ce81be
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
23
package.json
23
package.json
|
@ -16,9 +16,7 @@
|
|||
"main": "build/main.js",
|
||||
"dependencies": {
|
||||
"@azure/storage-blob": "10.3.0",
|
||||
"@tensorflow/tfjs": "^2.7.0",
|
||||
"@types/react-router": "^5.0.0",
|
||||
"@types/snapsvg": "^0.4.35",
|
||||
"@tensorflow/tfjs": "^1.0.3",
|
||||
"axios": "^0.18.0",
|
||||
"bootstrap": "^4.1.3",
|
||||
"buffer-reverse": "^1.0.1",
|
||||
|
@ -60,7 +58,6 @@
|
|||
"rimraf": "^2.6.2",
|
||||
"sass": "^1.28.0",
|
||||
"shortid": "^2.2.14",
|
||||
"terser": "^3.14.1",
|
||||
"video-react": "^0.13.2",
|
||||
"vott-ct": "2.1.24",
|
||||
"vott-react": "^0.2.10"
|
||||
|
@ -82,8 +79,8 @@
|
|||
"release-web": "npm run build && npm run webpack:prod",
|
||||
"release-ci": "bash ./scripts/build.sh",
|
||||
"release": "npm run build && npm run webpack:prod && electron-builder",
|
||||
"pretest": "./node_modules/.bin/tslint 'src/**/*.ts*'",
|
||||
"lintfix": "./node_modules/.bin/tslint 'src/**/*.ts*' --fix",
|
||||
"pretest": "npx eslint 'src/**/*.ts*'",
|
||||
"lintfix": "npx eslint 'src/**/*.ts*' --fix",
|
||||
"test": "react-scripts test --env=jsdom --silent",
|
||||
"test:ci": "cross-env CI=true npm run test",
|
||||
"test:coverage": "npm run test -- --coverage",
|
||||
|
@ -108,7 +105,6 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@fortawesome/fontawesome-free": "^5.5.0",
|
||||
"@types/axios": "^0.14.0",
|
||||
"@types/dotenv": "^6.1.0",
|
||||
"@types/enzyme": "^3.1.15",
|
||||
"@types/jest": "23.3.9",
|
||||
|
@ -117,14 +113,14 @@
|
|||
"@types/react": "16.7.6",
|
||||
"@types/react-dom": "16.0.9",
|
||||
"@types/react-jsonschema-form": "^1.0.12",
|
||||
"@types/react-router": "5.0.0",
|
||||
"@types/react-router-dom": "4.3.1",
|
||||
"@types/react-split-pane": "^0.1.67",
|
||||
"@types/react-toastify": "^4.0.1",
|
||||
"@types/reactstrap": "^6.4.3",
|
||||
"@types/redux-logger": "^3.0.6",
|
||||
"@types/redux-mock-store": "^1.0.0",
|
||||
"@types/snapsvg": "^0.4.35",
|
||||
"cross-env": "^5.2.0",
|
||||
"electron": "^3.1.13",
|
||||
"electron": "^10.1.5",
|
||||
"electron-builder": "^22.9.1",
|
||||
"enzyme": "^3.7.0",
|
||||
"enzyme-adapter-react-16": "^1.7.0",
|
||||
|
@ -137,12 +133,11 @@
|
|||
"redux-logger": "^3.0.6",
|
||||
"redux-mock-store": "^1.5.3",
|
||||
"ts-loader": "^5.3.0",
|
||||
"tslint": "^5.11.0",
|
||||
"typescript": "^3.4.5",
|
||||
"typescript": "^4.0.5",
|
||||
"webpack-cli": "^4.1.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10.14.2",
|
||||
"npm": ">=6.4.1"
|
||||
"node": ">=12.19.0",
|
||||
"npm": ">=6.14.8"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -72,7 +72,7 @@ function registerContextMenu(browserWindow: BrowserWindow): void {
|
|||
const selectionMenu = Menu.buildFromTemplate([
|
||||
{ role: "copy", accelerator: "CmdOrCtrl+C" },
|
||||
{ type: "separator" },
|
||||
{ role: "selectall", accelerator: "CmdOrCtrl+A" },
|
||||
{ role: "selectAll", accelerator: "CmdOrCtrl+A" },
|
||||
]);
|
||||
|
||||
const inputMenu = Menu.buildFromTemplate([
|
||||
|
@ -83,7 +83,7 @@ function registerContextMenu(browserWindow: BrowserWindow): void {
|
|||
{ role: "copy", accelerator: "CmdOrCtrl+C" },
|
||||
{ role: "paste", accelerator: "CmdOrCtrl+V" },
|
||||
{ type: "separator" },
|
||||
{ role: "selectall", accelerator: "CmdOrCtrl+A" },
|
||||
{ role: "selectAll", accelerator: "CmdOrCtrl+A" },
|
||||
]);
|
||||
|
||||
browserWindow.webContents.on("context-menu", (e, props) => {
|
||||
|
@ -111,7 +111,7 @@ function registerContextMenu(browserWindow: BrowserWindow): void {
|
|||
{ role: "reload" },
|
||||
{ type: "separator" },
|
||||
{ role: "toggleDevTools" },
|
||||
{ role: "toggleFullScreen" },
|
||||
{ role: "togglefullscreen" },
|
||||
{ type: "separator" },
|
||||
{ role: "resetZoom" },
|
||||
{ role: "zoomIn" },
|
||||
|
|
|
@ -14,7 +14,7 @@ export default class LocalFileSystem implements IStorageProvider {
|
|||
|
||||
public selectContainer(): Promise<string> {
|
||||
return new Promise<string>((resolve, reject) => {
|
||||
const filePaths = dialog.showOpenDialog(this.browserWindow, {
|
||||
const filePaths = dialog.showOpenDialogSync(this.browserWindow, {
|
||||
title: strings.connections.providers.local.selectFolder,
|
||||
buttonLabel: strings.connections.providers.local.chooseFolder,
|
||||
properties: ["openDirectory", "createDirectory"],
|
||||
|
|
Загрузка…
Ссылка в новой задаче