4d0e263ecd
For #231 webview.focus() was used to focus on the webview, but it's DOM element function. So only the tag was focused in the host window, and its webContents was not focused. As the result, the shortcuts of Mattermost server didn't work in some cases. Electron is upgraded to 1.2.8 because of webContents.isFocused().
77 lines
2.1 KiB
JSON
77 lines
2.1 KiB
JSON
{
|
|
"name": "mattermost-desktop",
|
|
"productName": "Mattermost",
|
|
"version": "1.4.0",
|
|
"description": "Mattermost Desktop application for Windows, Mac and Linux",
|
|
"main": "main.js",
|
|
"author": {
|
|
"name": "Yuya Ochiai",
|
|
"email": "yuya0321@gmail.com"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"engines": {
|
|
"node": ">=4.2.0"
|
|
},
|
|
"scripts": {
|
|
"install": "cd src && npm install",
|
|
"postinstall": "npm run build",
|
|
"build": "gulp build",
|
|
"start": "electron dist",
|
|
"watch": "gulp watch",
|
|
"serve": "gulp watch",
|
|
"test": "gulp build && mocha --reporter mocha-circleci-reporter --recursive test/specs && gulp prettify:verify",
|
|
"package": "gulp package",
|
|
"package:windows": "gulp package:windows",
|
|
"package:osx": "gulp package:osx",
|
|
"package:linux": "gulp build && build --platform linux --arch all",
|
|
"package:all": "gulp package:all",
|
|
"prettify": "gulp prettify",
|
|
"installer": "node ./script/installer.js"
|
|
},
|
|
"devDependencies": {
|
|
"babel-core": "^6.7.5",
|
|
"babel-loader": "^6.2.4",
|
|
"babel-preset-react": "^6.5.0",
|
|
"chai": "^3.5.0",
|
|
"chai-as-promised": "^5.3.0",
|
|
"del": "^2.2.2",
|
|
"devtron": "^1.3.0",
|
|
"electron-builder": "5.2.1",
|
|
"electron-connect": "^0.4.4",
|
|
"electron-packager": "^7.0.1",
|
|
"electron-prebuilt": "1.2.8",
|
|
"electron-winstaller": "^2.2.0",
|
|
"esformatter": "^0.9.6",
|
|
"esformatter-jsx": "^7.0.1",
|
|
"gulp": "^3.9.1",
|
|
"gulp-babel": "^6.1.2",
|
|
"gulp-changed": "^1.3.2",
|
|
"gulp-diff": "^1.0.0",
|
|
"gulp-esformatter": "^6.0.0",
|
|
"gulp-jsbeautifier": "^2.0.3",
|
|
"json-loader": "^0.5.4",
|
|
"mocha": "^3.0.2",
|
|
"mocha-circleci-reporter": "0.0.2",
|
|
"rimraf": "^2.5.4",
|
|
"spectron": "~3.2.0",
|
|
"style-loader": "^0.13.1",
|
|
"through2": "^2.0.1",
|
|
"vinyl-named": "^1.1.0",
|
|
"webpack": "^1.13.1",
|
|
"webpack-stream": "^3.2.0"
|
|
},
|
|
"build": {
|
|
"app-bundle-id": "com.mattermost.desktop",
|
|
"app-category-type": "public.app-category.productivity",
|
|
"linux": {
|
|
"synopsis": "Mattermost Desktop",
|
|
"target": "deb"
|
|
}
|
|
},
|
|
"directories": {
|
|
"buildResources": "resources",
|
|
"app": "dist",
|
|
"output": "release"
|
|
}
|
|
}
|