go big on memory

This commit is contained in:
@wwwjim 2020-10-08 23:12:20 -07:00
parent c3c4a913e2
commit 95990a99ea

View File

@ -8,14 +8,14 @@
"node": "14.7.0" "node": "14.7.0"
}, },
"scripts": { "scripts": {
"dev": "NODE_TLS_REJECT_UNAUTHORIZED=0 node . --unhandled-rejections=strict --max-old-space-size=2048", "dev": "NODE_TLS_REJECT_UNAUTHORIZED=0 node . --unhandled-rejections=strict --max-old-space-size=8192",
"start": "NODE_ENV=production node . --unhandled-rejections=strict --max-old-space-size=2048", "start": "NODE_ENV=production node . --unhandled-rejections=strict --max-old-space-size=8192",
"build-delete": "rm -rf .next && rm -rf dist/mac", "build-delete": "rm -rf .next && rm -rf dist/mac",
"build": "NODE_ENV=production next build", "build": "NODE_ENV=production next build",
"build-system": "rollup -c", "build-system": "rollup -c",
"electron-dev": "NODE_ENV=development electron ./electron/main.js ", "electron-dev": "NODE_ENV=development electron ./electron/main.js ",
"electron-prod": "NODE_ENV=production next build && electron-builder --dir", "electron-prod": "NODE_ENV=production next build && electron-builder --dir",
"scripts": "NODE_TLS_REJECT_UNAUTHORIZED=0 node ./scripts", "scripts": "NODE_TLS_REJECT_UNAUTHORIZED=0 node --max-old-space-size=8192 ./scripts",
"www-setup-database": "NODE_TLS_REJECT_UNAUTHORIZED=0 node ./scripts setup-database", "www-setup-database": "NODE_TLS_REJECT_UNAUTHORIZED=0 node ./scripts setup-database",
"www-seed-database": "NODE_TLS_REJECT_UNAUTHORIZED=0 node ./scripts seed-database" "www-seed-database": "NODE_TLS_REJECT_UNAUTHORIZED=0 node ./scripts seed-database"
}, },