From 799584a49436c90c9e78e2c6be7a1c76f47415fa Mon Sep 17 00:00:00 2001 From: Yuya Ochiai Date: Sat, 26 Dec 2015 00:02:19 +0900 Subject: [PATCH] Update README.md and version --- README.md | 30 +++++++++++++++++------------- package.json | 2 +- src/package.json | 2 +- 3 files changed, 19 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 6e5d56ab..91c95201 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ Desktop app for [Mattermost](http://www.mattermost.org/) that runs on [Electron] * Windows 7-8.1: Balloon * OS X: Notification Center * Linux: libnotify ([Electron's notification spec](http://electron.atom.io/docs/v0.35.0/tutorial/desktop-environment-integration/#linux)) +* Tabs for multiple teams * Resident application ### Pre-packaged @@ -34,27 +35,30 @@ Configuration will be saved into Electron's userData directory: * `~/.config/electron-mattermost` on Linux -## Testing +## Testing and Development Node.js is required to test this app. +### Simple testing 1. Clone or download the source code. 2. Run `npm install`. -3. Run `npm start`. (If you have gulp, `gulp serve` has live-reload.) +3. Run `npm start`. +When you edit **.jsx** files, please execute `npm run build` before `npm start`. + +### Development +#### `npm run serve` +Reload the app automatically when you have saved source codes. + +#### `npm test` +Run tests with Mocha. ## Packaging -gulp is necessary for packaging this app. - -``` -$ npm install -g gulp (Or, use node_module/gulp/bin/gulp.js -``` - You can package this app with following commands. Packages will be created in `release` directory. ``` -$ gulp package (for your platform) -$ gulp package:windows (Requires Windows or Wine) -$ gulp package:osx (Requires OS X or Linux) -$ gulp package:linux -$ gulp package:all (Packages for all platform) +$ npm run package (for your platform) +$ npm run package:windows (Requires Windows or Wine) +$ npm run package:osx (Requires OS X or Linux) +$ npm run package:linux +$ npm run package:all (Packages for all platform) ``` diff --git a/package.json b/package.json index 88ef2f59..58933db6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "electron-mattermost", - "version": "0.5.1", + "version": "1.0.0", "description": "Desktop app for Mattermost that run on Electron", "main": "main.js", "author": "Yuya Ochiai", diff --git a/src/package.json b/src/package.json index eda56688..a959028d 100644 --- a/src/package.json +++ b/src/package.json @@ -1,6 +1,6 @@ { "name": "electron-mattermost", - "version": "0.5.1", + "version": "1.0.0", "description": "Desktop app for Mattermost that run on Electron", "main": "main.js", "author": "Yuya Ochiai",