diff --git a/README.md b/README.md index 78c7757..faa7257 100644 --- a/README.md +++ b/README.md @@ -48,14 +48,14 @@ Regard Cmd as Windows or Meta key if you're not using OSX. ```bash $ npm install -$ npm run bower +$ npm run setup $ npm start ``` ## Build package ```bash -$ npm build +$ npm run build ``` ## License diff --git a/package.json b/package.json index ce42ba2..c17b49d 100644 --- a/package.json +++ b/package.json @@ -7,10 +7,12 @@ "license": "MIT", "scripts": { "start": "npm run compile && electron .", - "bower": "gulp bower", + "setup": "brew install tcnksm/ghr/ghr && gulp bower", "compile": "rm -rf app && gulp compile", "build": "find . -name .DS_Store | xargs rm && rm -rf packages && npm run package && npm run zip", "package": "electron-packager . Nocturn --arch=x64 --out=packages/v0.1.4 --platform=darwin,linux,win32 --version=0.31.0 --ignore=accounts.json --ignore=packages/* --ignore=node_modules/bower --ignore=node_modules/coffee-script --ignore=node_modules/electron-prebuilt --ignore=node_modules/electron-packager --ignore=node_modules/gulp --ignore=node_modules/gulp-bower --ignore=node_modules/gulp-coffee --ignore=node_modules/gulp-haml --ignore=node_modules/gulp-ruby-sass", + "upload": "ghr v0.1.4 packages/", + "release": "npm run build && npm run upload", "zip": "npm run zip-darwin && npm run zip-linux && npm run zip-win32", "zip-darwin": "cd packages/v0.1.4 && zip -r Nocturn-darwin-x64.zip Nocturn-darwin-x64", "zip-linux": "cd packages/v0.1.4 && zip -r Nocturn-linux-x64.zip Nocturn-linux-x64",