From 60c4390f9954082609b143e888ba20e844768dd3 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Mon, 31 Aug 2015 21:01:18 +0900 Subject: [PATCH] Reject packaging access_token.json by ignore --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 29fe150..32f63d4 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,8 @@ "start": "npm run compile && electron .", "bower": "gulp bower", "compile": "rm -rf app && gulp compile", - "build": "rm -f access_token.json && find . -name .DS_Store | xargs rm && rm -rf packages && npm run package && npm run zip", - "package": "electron-packager . Nocturn --arch=x64 --out=packages/v0.0.2 --platform=darwin,linux,win32 --version=0.31.0 --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", + "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.0.2 --platform=darwin,linux,win32 --version=0.31.0 --ignore=access_token.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", "zip": "npm run zip-darwin && npm run zip-linux && npm run zip-win32", "zip-darwin": "cd packages/v0.0.2 && zip -r Nocturn-darwin-x64.zip Nocturn-darwin-x64", "zip-linux": "cd packages/v0.0.2 && zip -r Nocturn-linux-x64.zip Nocturn-linux-x64",