Run build as part of package command

This commit is contained in:
David Meza 2017-09-07 13:57:27 -05:00
parent ba0e1a91b6
commit e8257cd4e6

View file

@ -24,12 +24,12 @@
"watch:main": "node scripts/watch_main_and_preload.js",
"watch:renderer": "webpack-dev-server --config webpack.config.renderer.js",
"serve": "gulp watch",
"test": "npm-run-all build test:* lint:*",
"test:app": "mocha --reporter mocha-circleci-reporter --recursive test/specs",
"test": "npm-run-all test:* lint:*",
"test:app": "npm run build && mocha --reporter mocha-circleci-reporter --recursive test/specs",
"package:all": "npm-run-all package:windows package:mac package:linux",
"package:windows": "build --win --x64 --ia32 --em.name=mattermost --publish=never && npm run manipulate-windows-zip",
"package:mac": "build --mac --publish=never",
"package:linux": "build --linux --x64 --ia32 --em.name=mattermost-desktop --publish=never",
"package:windows": "npm run build && build --win --x64 --ia32 --em.name=mattermost --publish=never && npm run manipulate-windows-zip",
"package:mac": "npm run build && build --mac --publish=never",
"package:linux": "npm run build && build --linux --x64 --ia32 --em.name=mattermost-desktop --publish=never",
"manipulate-windows-zip": "node scripts/manipulate_windows_zip.js",
"lint:js": "eslint --ext .js --ext .jsx ."
},