Skip to content

Commit

Permalink
Properly prune
Browse files Browse the repository at this point in the history
  • Loading branch information
gjtorikian committed Jun 1, 2016
1 parent cd2db1e commit f9e34ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.js
Original file line number Diff line number Diff line change
Expand Up @@ -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($|/)',
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 <adam.skevy@mac.com> (http://github.com/skevy)",
Expand Down

0 comments on commit f9e34ad

Please sign in to comment.