|
@@ -10,8 +10,8 @@
|
|
"scripts": {
|
|
"scripts": {
|
|
"dev": "nodemon --inspect --ignore server/.inpx-web --ignore client --exec 'node server --lib-dir=.inpx-web/lib'",
|
|
"dev": "nodemon --inspect --ignore server/.inpx-web --ignore client --exec 'node server --lib-dir=.inpx-web/lib'",
|
|
"build:client": "webpack --config build/webpack.prod.config.js",
|
|
"build:client": "webpack --config build/webpack.prod.config.js",
|
|
- "build:linux": "npm run build:client && node build/linux && pkg -t node16-linux-x64 -C GZip -o dist/linux/inpx-web .",
|
|
|
|
- "build:win": "npm run build:client && node build/win && pkg -t node16-win-x64 -C GZip -o dist/win/inpx-web .",
|
|
|
|
|
|
+ "build:linux": "npm run build:client && node build/linux && pkg -t node16-linux-x64 -C GZip --options max-old-space-size=4096,expose-gc -o dist/linux/inpx-web .",
|
|
|
|
+ "build:win": "npm run build:client && node build/win && pkg -t node16-win-x64 -C GZip --options max-old-space-size=4096,expose-gc -o dist/win/inpx-web .",
|
|
"build:client-dev": "webpack --config build/webpack.dev.config.js",
|
|
"build:client-dev": "webpack --config build/webpack.dev.config.js",
|
|
"postinstall": "npm run build:client-dev"
|
|
"postinstall": "npm run build:client-dev"
|
|
},
|
|
},
|