109 lines
3 KiB
JSON
109 lines
3 KiB
JSON
{
|
|
"name": "mattermost-desktop",
|
|
"productName": "Mattermost",
|
|
"version": "3.5.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 && npm run manipulate-windows-zip",
|
|
"package:mac": "build --mac",
|
|
"package:linux": "build --linux --x64 --ia32 --em.name=mattermost-desktop",
|
|
"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.21.0",
|
|
"babel-eslint": "^7.1.1",
|
|
"babel-loader": "^6.2.10",
|
|
"babel-plugin-transform-object-rest-spread": "^6.22.0",
|
|
"babel-preset-react": "^6.16.0",
|
|
"chai": "^3.5.0",
|
|
"chai-as-promised": "^6.0.0",
|
|
"cross-env": "^3.1.3",
|
|
"devtron": "^1.4.0",
|
|
"electron": "1.4.13",
|
|
"electron-builder": "^10.9.2",
|
|
"electron-connect": "^0.6.1",
|
|
"eslint": "^3.12.2",
|
|
"eslint-plugin-react": "^6.8.0",
|
|
"gulp": "^3.9.1",
|
|
"gulp-diff": "^1.0.0",
|
|
"gulp-jsbeautifier": "^2.0.3",
|
|
"json-loader": "^0.5.4",
|
|
"mocha": "^3.2.0",
|
|
"mocha-circleci-reporter": "0.0.2",
|
|
"npm-run-all": "^3.1.2",
|
|
"spectron": "~3.4.1",
|
|
"webpack": "^1.14.0",
|
|
"webpack-merge": "^1.1.2"
|
|
},
|
|
"build": {
|
|
"appId": "com.mattermost.desktop",
|
|
"linux": {
|
|
"category": "InstantMessaging",
|
|
"target": [
|
|
"deb",
|
|
"tar.gz"
|
|
],
|
|
"synopsis": "Mattermost",
|
|
"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"
|
|
]
|
|
},
|
|
"win": {
|
|
"description": "Mattermost",
|
|
"target": [
|
|
"squirrel",
|
|
"zip"
|
|
],
|
|
"iconUrl": "https://raw.githubusercontent.com/mattermost/desktop/master/resources/icon.ico"
|
|
}
|
|
},
|
|
"directories": {
|
|
"buildResources": "resources",
|
|
"app": "dist",
|
|
"output": "release"
|
|
}
|
|
}
|