112 lines
3.1 KiB
JSON
112 lines
3.1 KiB
JSON
{
|
|
"name": "mattermost-desktop",
|
|
"productName": "Mattermost",
|
|
"version": "3.6.0",
|
|
"description": "Mattermost",
|
|
"main": "main.js",
|
|
"author": {
|
|
"name": "Yuya Ochiai",
|
|
"email": "yuya0321@gmail.com"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"engines": {
|
|
"node": ">=4.2.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/mattermost/desktop.git"
|
|
},
|
|
"scripts": {
|
|
"install": "cd src && npm install",
|
|
"postinstall": "npm run build",
|
|
"build": "npm-run-all build:*",
|
|
"build:main": "cross-env NODE_ENV=production webpack --bail --config webpack.config.main.js",
|
|
"build:renderer": "cross-env NODE_ENV=production webpack --bail --config webpack.config.renderer.js",
|
|
"build:others": "gulp build",
|
|
"start": "electron dist",
|
|
"watch": "gulp watch",
|
|
"serve": "gulp watch",
|
|
"test": "npm-run-all build test:* lint:*",
|
|
"test:app": "mocha --reporter mocha-circleci-reporter --recursive test/specs",
|
|
"package:all": "npm-run-all package:windows package:mac package:linux",
|
|
"package:windows": "build --win --x64 --ia32 --em.name=mattermost --publish=never && npm run manipulate-windows-zip",
|
|
"package:mac": "build --mac --publish=never",
|
|
"package:linux": "build --linux --x64 --ia32 --em.name=mattermost-desktop --publish=never",
|
|
"manipulate-windows-zip": "node scripts/manipulate_windows_zip.js",
|
|
"lint:js": "eslint --ext .js --ext .jsx ."
|
|
},
|
|
"devDependencies": {
|
|
"7zip-bin": "^2.0.4",
|
|
"babel-core": "^6.23.1",
|
|
"babel-eslint": "^7.1.1",
|
|
"babel-loader": "^6.3.2",
|
|
"babel-plugin-transform-object-rest-spread": "^6.23.0",
|
|
"babel-preset-react": "^6.23.0",
|
|
"chai": "^3.5.0",
|
|
"chai-as-promised": "^6.0.0",
|
|
"cross-env": "^3.1.4",
|
|
"devtron": "^1.4.0",
|
|
"electron": "1.6.1",
|
|
"electron-builder": "^14.5.3",
|
|
"electron-builder-squirrel-windows": "^15.0.0",
|
|
"electron-connect": "^0.6.1",
|
|
"eslint": "^3.16.1",
|
|
"eslint-plugin-react": "^6.10.0",
|
|
"gulp": "^3.9.1",
|
|
"gulp-diff": "^1.0.0",
|
|
"gulp-jsbeautifier": "^2.0.4",
|
|
"mocha": "^3.2.0",
|
|
"mocha-circleci-reporter": "0.0.2",
|
|
"npm-run-all": "^4.0.2",
|
|
"spectron": "~3.6.0",
|
|
"webpack": "^2.2.1",
|
|
"webpack-merge": "^3.0.0"
|
|
},
|
|
"build": {
|
|
"appId": "com.mattermost.desktop",
|
|
"directories": {
|
|
"buildResources": "resources",
|
|
"app": "dist",
|
|
"output": "release"
|
|
},
|
|
"deb": {
|
|
"synopsis": "Mattermost"
|
|
},
|
|
"linux": {
|
|
"category": "InstantMessaging",
|
|
"target": [
|
|
"deb",
|
|
"tar.gz"
|
|
],
|
|
"extraFiles": [
|
|
{
|
|
"from": "resources",
|
|
"filter": "icon.png"
|
|
},
|
|
{
|
|
"from": "resources/linux",
|
|
"filter": [
|
|
"create_desktop_file.sh",
|
|
"README.md"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"mac": {
|
|
"category": "public.app-category.productivity",
|
|
"target": [
|
|
"tar.gz"
|
|
]
|
|
},
|
|
"squirrelWindows": {
|
|
"iconUrl": "https://raw.githubusercontent.com/mattermost/desktop/master/resources/icon.ico"
|
|
},
|
|
"win": {
|
|
"target": [
|
|
"squirrel",
|
|
"zip"
|
|
]
|
|
}
|
|
}
|
|
}
|