Necessary stuff for building

master
Rohan Vazarkar 2016-07-26 19:40:51 -04:00
parent 55c2003a39
commit 0ee4548e68
3 changed files with 9 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
node_modules/*
Bloodhound-*
dist/

View File

@ -5,7 +5,8 @@
"main": "main.js",
"scripts": {
"start": "set ENV=development & electron .",
"server": "babel-node server.js"
"server": "babel-node server.js",
"build": "webpack --config webpack.config.production.js && electron-packager . Bloodhound --platform=all --arch=all --overwrite"
},
"babel": {
"presets": [

View File

@ -0,0 +1,5 @@
var config = require('./webpack.config.development.js');
config.entry.shift();
config.plugins.shift();
config.output.publicPath = './dist/';
module.exports = config;