Skip to content

Commit

Permalink
Run rm -rf ./app/node_modules && npm install --prefix ./app before …
Browse files Browse the repository at this point in the history
…packaging
  • Loading branch information
emsk committed Dec 27, 2015
1 parent 1ba22cd commit dcf71bc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
"clean:osx": "rm -rf ./dist/osx",
"clean:win": "rm -rf ./dist/win",
"build": "npm run clean && npm run build:osx && npm run build:win",
"build:osx": "npm run clean:osx && electron-packager ./app \"Redmine Notifier\" --platform=darwin --arch=x64 --version=0.36.2 --out=./dist/osx --icon=./assets/osx/redmine_notifier.icns --asar --asar-unpack=\"**/app/{node_modules/node-notifier/vendor,images}/**\" --ignore=\"\\.DS_Store|npm-debug\\.log\"",
"build:win": "npm run clean:win && electron-packager ./app \"Redmine Notifier\" --platform=win32 --arch=x64 --version=0.36.2 --out=./dist/win --icon=./assets/win/redmine_notifier.ico --asar --asar-unpack=\"**/app/{node_modules/node-notifier/vendor,images}/**\" --ignore=\"\\.DS_Store|npm-debug\\.log\" --version-string.CompanyName=\"emsk\" --version-string.LegalCopyright=\"Copyright (c) 2015 emsk\" --version-string.FileDescription=\"Redmine Notifier\" --version-string.OriginalFilename=\"\" --version-string.FileVersion=\"0.1.0\" --version-string.ProductVersion=\"0.1.0\" --version-string.ProductName=\"Redmine Notifier\" --version-string.InternalName=\"\"",
"build:node-modules": "rm -rf ./app/node_modules && npm install --prefix ./app",
"build:osx": "npm run build:node-modules && npm run clean:osx && electron-packager ./app \"Redmine Notifier\" --platform=darwin --arch=x64 --version=0.36.2 --out=./dist/osx --icon=./assets/osx/redmine_notifier.icns --asar --asar-unpack=\"**/app/{node_modules/node-notifier/vendor,images}/**\" --ignore=\"\\.DS_Store|npm-debug\\.log|/etc\"",
"build:win": "npm run build:node-modules && npm run clean:win && electron-packager ./app \"Redmine Notifier\" --platform=win32 --arch=x64 --version=0.36.2 --out=./dist/win --icon=./assets/win/redmine_notifier.ico --asar --asar-unpack=\"**/app/{node_modules/node-notifier/vendor,images}/**\" --ignore=\"\\.DS_Store|npm-debug\\.log|/etc\" --version-string.CompanyName=\"emsk\" --version-string.LegalCopyright=\"Copyright (c) 2015 emsk\" --version-string.FileDescription=\"Redmine Notifier\" --version-string.OriginalFilename=\"\" --version-string.FileVersion=\"0.1.0\" --version-string.ProductVersion=\"0.1.0\" --version-string.ProductName=\"Redmine Notifier\" --version-string.InternalName=\"\"",
"pack": "npm run pack:osx && npm run pack:win",
"pack:osx": "npm run build:osx && electron-builder \"./dist/osx/Redmine Notifier-darwin-x64/Redmine Notifier.app\" --platform=osx --out=./dist/osx --config=./config.json && mv \"./dist/osx/Redmine Notifier.dmg\" ./dist/osx/RedmineNotifierSetup.dmg",
"pack:win": "npm run build:win && electron-builder \"./dist/win/Redmine Notifier-win32-x64\" --platform=win --out=./dist/win --config=./config.json && mv \"./dist/win/Redmine Notifier Setup.exe\" ./dist/win/RedmineNotifierSetup.exe"
Expand Down

0 comments on commit dcf71bc

Please sign in to comment.