2015-10-06 06:35:26 -07:00
|
|
|
{
|
2016-10-19 06:57:06 -07:00
|
|
|
"name": "mattermost-desktop",
|
2016-03-13 06:55:08 -07:00
|
|
|
"productName": "Mattermost",
|
2016-11-30 08:30:24 -08:00
|
|
|
"version": "3.5.0",
|
2016-09-19 06:32:59 -07:00
|
|
|
"description": "Mattermost",
|
2015-10-06 06:35:26 -07:00
|
|
|
"main": "main.js",
|
2016-05-06 06:53:56 -07:00
|
|
|
"author": {
|
|
|
|
"name": "Yuya Ochiai",
|
|
|
|
"email": "yuya0321@gmail.com"
|
|
|
|
},
|
2016-06-05 08:45:30 -07:00
|
|
|
"license": "Apache-2.0",
|
2016-02-20 07:08:38 -08:00
|
|
|
"engines": {
|
|
|
|
"node": ">=4.2.0"
|
|
|
|
},
|
2016-08-20 03:44:31 -07:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git://github.com/mattermost/desktop.git"
|
|
|
|
},
|
2015-10-24 02:47:37 -07:00
|
|
|
"scripts": {
|
2015-12-23 05:04:21 -08:00
|
|
|
"install": "cd src && npm install",
|
|
|
|
"postinstall": "npm run build",
|
2016-12-21 07:07:24 -08:00
|
|
|
"build": "npm-run-all build:*",
|
2016-10-11 08:02:05 -07:00
|
|
|
"build:main": "cross-env NODE_ENV=production webpack --config webpack.config.main.js",
|
|
|
|
"build:renderer": "cross-env NODE_ENV=production webpack --config webpack.config.renderer.js",
|
2016-12-21 07:07:24 -08:00
|
|
|
"build:others": "gulp build",
|
2016-01-30 07:50:43 -08:00
|
|
|
"start": "electron dist",
|
2016-02-09 03:59:52 -08:00
|
|
|
"watch": "gulp watch",
|
|
|
|
"serve": "gulp watch",
|
2016-12-21 07:07:24 -08:00
|
|
|
"test": "npm-run-all build test:* lint:*",
|
2016-09-30 08:30:23 -07:00
|
|
|
"test:app": "mocha --reporter mocha-circleci-reporter --recursive test/specs",
|
2016-12-21 07:07:24 -08:00
|
|
|
"package:all": "npm-run-all package:windows package:mac package:linux",
|
2016-10-21 05:11:46 -07:00
|
|
|
"package:windows": "build --win --x64 --ia32 --em.name=mattermost && npm run manipulate-windows-zip",
|
2016-10-05 07:42:36 -07:00
|
|
|
"package:mac": "build --mac --x64 --ia32",
|
2016-10-21 05:11:46 -07:00
|
|
|
"package:linux": "build --linux --x64 --ia32 --em.name=mattermost-desktop",
|
2016-10-07 07:49:39 -07:00
|
|
|
"manipulate-windows-zip": "node scripts/manipulate_windows_zip.js",
|
2016-11-08 06:54:53 -08:00
|
|
|
"lint:js": "eslint --ext .js --ext .jsx ."
|
2015-10-24 02:47:37 -07:00
|
|
|
},
|
2015-10-23 07:56:53 -07:00
|
|
|
"devDependencies": {
|
2016-12-20 06:53:20 -08:00
|
|
|
"7zip-bin": "^2.0.4",
|
2016-12-20 07:00:43 -08:00
|
|
|
"babel-core": "^6.21.0",
|
2016-12-20 06:38:10 -08:00
|
|
|
"babel-eslint": "^7.1.1",
|
2016-12-20 07:00:43 -08:00
|
|
|
"babel-loader": "^6.2.10",
|
|
|
|
"babel-preset-react": "^6.16.0",
|
2016-06-05 08:41:35 -07:00
|
|
|
"chai": "^3.5.0",
|
2016-12-20 07:03:53 -08:00
|
|
|
"chai-as-promised": "^6.0.0",
|
2016-12-20 06:53:20 -08:00
|
|
|
"cross-env": "^3.1.3",
|
|
|
|
"devtron": "^1.4.0",
|
2016-12-21 05:04:46 -08:00
|
|
|
"electron": "1.4.13",
|
|
|
|
"electron-builder": "^10.9.2",
|
2016-12-20 06:53:20 -08:00
|
|
|
"electron-connect": "^0.6.1",
|
2016-12-20 06:38:10 -08:00
|
|
|
"eslint": "^3.12.2",
|
|
|
|
"eslint-plugin-react": "^6.8.0",
|
2016-07-21 07:07:13 -07:00
|
|
|
"gulp": "^3.9.1",
|
2016-08-19 11:15:32 -07:00
|
|
|
"gulp-diff": "^1.0.0",
|
|
|
|
"gulp-jsbeautifier": "^2.0.3",
|
2016-01-30 07:50:43 -08:00
|
|
|
"json-loader": "^0.5.4",
|
2016-12-20 07:03:53 -08:00
|
|
|
"mocha": "^3.2.0",
|
2016-07-21 07:07:13 -07:00
|
|
|
"mocha-circleci-reporter": "0.0.2",
|
2016-12-21 07:07:24 -08:00
|
|
|
"npm-run-all": "^3.1.2",
|
2016-12-21 05:04:46 -08:00
|
|
|
"spectron": "~3.4.1",
|
2016-12-20 07:00:43 -08:00
|
|
|
"webpack": "^1.14.0",
|
|
|
|
"webpack-merge": "^1.1.2"
|
2016-04-26 05:53:59 -07:00
|
|
|
},
|
2016-04-26 06:48:16 -07:00
|
|
|
"build": {
|
2016-09-19 06:32:59 -07:00
|
|
|
"appId": "com.mattermost.desktop",
|
2016-04-26 06:48:16 -07:00
|
|
|
"linux": {
|
2016-09-19 06:32:59 -07:00
|
|
|
"category": "InstantMessaging",
|
2016-10-07 07:49:39 -07:00
|
|
|
"target": [
|
|
|
|
"deb",
|
|
|
|
"tar.gz"
|
|
|
|
],
|
2016-09-19 06:32:59 -07:00
|
|
|
"synopsis": "Mattermost",
|
2016-11-07 07:00:45 -08:00
|
|
|
"extraFiles": [
|
|
|
|
{
|
|
|
|
"from": "resources",
|
|
|
|
"filter": "icon.png"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "resources/linux",
|
2016-12-05 06:45:35 -08:00
|
|
|
"filter": ["create_desktop_file.sh", "README.md"]
|
2016-11-07 07:00:45 -08:00
|
|
|
}
|
|
|
|
]
|
2016-09-19 06:32:59 -07:00
|
|
|
},
|
|
|
|
"mac": {
|
|
|
|
"category": "public.app-category.productivity",
|
2016-10-07 07:49:39 -07:00
|
|
|
"target": [
|
|
|
|
"tar.gz"
|
|
|
|
]
|
2016-09-19 06:32:59 -07:00
|
|
|
},
|
|
|
|
"win": {
|
|
|
|
"description": "Mattermost",
|
2016-10-07 07:49:39 -07:00
|
|
|
"target": [
|
|
|
|
"squirrel",
|
|
|
|
"zip"
|
|
|
|
],
|
2016-09-19 06:32:59 -07:00
|
|
|
"iconUrl": "https://raw.githubusercontent.com/mattermost/desktop/master/resources/icon.ico"
|
2016-04-26 06:48:16 -07:00
|
|
|
}
|
2016-04-26 05:53:59 -07:00
|
|
|
},
|
2016-05-16 07:01:26 -07:00
|
|
|
"directories": {
|
2016-04-26 05:53:59 -07:00
|
|
|
"buildResources": "resources",
|
|
|
|
"app": "dist",
|
|
|
|
"output": "release"
|
2015-10-23 07:56:53 -07:00
|
|
|
}
|
2015-10-06 06:35:26 -07:00
|
|
|
}
|