diff --git a/package.js b/package.js index 6b16698..bef874a 100644 --- a/package.js +++ b/package.js @@ -13,12 +13,13 @@ var devDeps = Object.keys(require('./package.json').devDependencies); var appName = argv.name || argv.n || 'ElectronReact'; var shouldUseAsar = argv.asar || argv.a || false; var shouldBuildAll = argv.all || false; - +var shouldPrune = argv.prune || true; var DEFAULT_OPTS = { dir: './', name: appName, asar: shouldUseAsar, + prune: shouldPrune, ignore: [ '/test($|/)', '/tools($|/)', diff --git a/package.json b/package.json index d8d18fb..06a013e 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,8 @@ "start": "electron .", "start-dev": "NODE_ENV=development electron .", "start-hot": "HOT=1 NODE_ENV=development electron .", - "package": "node package.js --name=GraphiQL --prune", - "package-all": "node package.js --name=GraphiQL --all --prune", + "package": "node package.js --name=GraphiQL", + "package-all": "node package.js --name=GraphiQL --all", "release": "node node_modules/electron-release/cli --app release/darwin-x64/GraphiQL-darwin-x64/GraphiQL.app --token `echo ${GITHUB_TOKEN}`" }, "author": "Adam Miskiewicz (http://github.com/skevy)",