Skip to content

Commit

Permalink
fix: Use the node command instead of npx to fix Windows builds on Git…
Browse files Browse the repository at this point in the history
…Hub Actions

See npm/npx#5
  • Loading branch information
KallynGowdy committed Apr 13, 2020
1 parent ba8c806 commit 5e38097
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/aux-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
"watch:player": "concurrently \"npm:watch:server\" \"npm:watch:web\" \"nodemon server/dist/main.js player\"",
"build": "npm run build:web && npm run build:server",
"build:profile": "npm run build:web:profile && npm run build:server:profile",
"build:web": "npx -n \"--max_old_space_size=4096\" webpack --config aux-web/webpack.prod.js",
"build:web:profile": "npx -n \"--max_old_space_size=4096\" webpack --config aux-web/webpack.prod.js --profile --json > web_bundle_stats.json",
"build:server:profile": "npx -n \"--max_old_space_size=4096\" webpack --config server/webpack.prod.js --profile --json > server_bundle_stats.json",
"build:server": "npx -n \"--max_old_space_size=4096\" webpack --config server/webpack.prod.js",
"build:web": "node --max_old_space_size=4096 ../../node_modules/webpack/bin/webpack --config aux-web/webpack.prod.js",
"build:web:profile": "node --max_old_space_size=4096 ../../node_modules/webpack/bin/webpack --config aux-web/webpack.prod.js --profile --json > web_bundle_stats.json",
"build:server:profile": "node --max_old_space_size=4096 ../../node_modules/webpack/bin/webpack --config server/webpack.prod.js --profile --json > server_bundle_stats.json",
"build:server": "node --max_old_space_size=4096 ../../node_modules/webpack/bin/webpack --config server/webpack.prod.js",
"build:docs": "echo \"Nothing to build...\"",
"watch:server": "npx -n \"--max_old_space_size=4096\" webpack --config server/webpack.dev.js --watch",
"watch:web": "npx -n \"--max_old_space_size=4096\" webpack --config aux-web/webpack.dev.js --watch",
"watch:server": "node --max_old_space_size=4096 ../../node_modules/webpack/bin/webpack --config server/webpack.dev.js --watch",
"watch:web": "node --max_old_space_size=4096 ../../node_modules/webpack/bin/webpack --config aux-web/webpack.dev.js --watch",
"view:server:profile": "webpack-bundle-analyzer server/dist/server_bundle_stats.json",
"view:web:profile": "webpack-bundle-analyzer aux-web/dist/web_bundle_stats.json",
"test": "jest",
Expand Down

0 comments on commit 5e38097

Please sign in to comment.