This command: "start": "node server/server.js"
starts my server, but before running this I also want a command to run automatically:
'webpack'
.
I want to build a script that can be run with
npm run someCommand
- it should first run webpack
in the terminal, followed by node server/server.js
.
(I know how configure this with gulp, but I don't want to use it)