Fix grunt `build` and `create-build` commands

Originally submitted on Gerrit: https://gerrit.wikimedia.org/r/c/wikidata/query/gui/+/1101514 and approved there. Failed to be submitted/merged due to some Jenkins CI issues. Likely this change might be redundant for how build happens here but suggesting to bring the expected-to-be-merged change to this repository before archiving the Gerrit repo forever.

Original commit message:

Both build and create-build commands were failing due to the --no-production flag being used with the auto-install option. This prevented devDependencies from being installed, which are required to execute Grunt tasks.

The --no-production and --no-package-lock flags were originally introduced to disable tests for the deployment profile in this patch https://gerrit.wikimedia.org/r/c/wikidata/query/gui/+/528230/3. However, since the deployment setup has changed, this flag is no longer necessary and has been removed to ensure the correct dependencies are installed.

Change-Id: Ibd08a4d4e04b3cf31e04fad60c38c0fc9d3573fd

Merge request reports

Loading