Skip to content

Commit

Permalink
Raise memory limit for electron-builder
Browse files Browse the repository at this point in the history
  • Loading branch information
nukeop committed Oct 11, 2020
1 parent 7075149 commit c2d3a36
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 5 deletions.
52 changes: 52 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,17 @@
"storybook": "lerna run storybook",
"docker": "docker run --rm --net=host --env=\"DISPLAY\" --volume=\"$HOME/.Xauthority:/root/.Xauthority:rw\" --device /dev/snd nuclear",
"build:docker": "docker build -t nuclear .",
"pack": "electron-builder --dir -c.extraMetadata.main=dist/main.js",
"build:linux": "lerna run build && electron-builder -c.extraMetadata.main=dist/main.js --linux --publish onTag",
"build:windows": "lerna run build && electron-builder -c.extraMetadata.main=dist/main.js --windows --publish onTag",
"build:macos": "lerna run build && electron-builder -c.extraMetadata.main=dist/main.js --macos --publish onTag",
"build:all": "lerna run build && electron-builder -c.extraMetadata.main=dist/main.js -mwl"
"pack": "cross-env NODE_OPTIONS='--max-old-space-size=8192' electron-builder --dir -c.extraMetadata.main=dist/main.js",
"build:linux": "lerna run build && cross-env NODE_OPTIONS='--max-old-space-size=8192' electron-builder -c.extraMetadata.main=dist/main.js --linux --publish onTag",
"build:windows": "lerna run build && cross-env NODE_OPTIONS='--max-old-space-size=8192' electron-builder -c.extraMetadata.main=dist/main.js --windows --publish onTag",
"build:macos": "lerna run build && cross-env NODE_OPTIONS='--max-old-space-size=8192' electron-builder -c.extraMetadata.main=dist/main.js --macos --publish onTag",
"build:all": "lerna run build && cross-env NODE_OPTIONS='--max-old-space-size=8192' electron-builder -c.extraMetadata.main=dist/main.js -mwl"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^2.13.0",
"@typescript-eslint/parser": "^2.34.0",
"babel-eslint": "^10.0.3",
"cross-env": "^7.0.2",
"electron": "^10.1.3",
"electron-builder": "^22.8.1",
"electron-rebuild": "^2.0.1",
Expand Down

0 comments on commit c2d3a36

Please sign in to comment.