It's important to have NODE_ENV=production during build time in travis,
as packages can have different build artifacts depending on the NODE_ENV
value.
This reverts commit bd99a90faa.
While this is common in cockpit's projects, osbuild projects refrain
from rebasing branches.
Rebasing on master as it happens to be when the test is running, leaves
you in a state where you neither know that the branch itself is working,
nor that it will work when you actually do merge it later, because
master might have changed in between.
Basic jest tests are added for the landing page. These tests use the
react testing library so the enzyme dependencies are removed from the
package.json. The travis config is also updated.
* package.json: Clean up scripts
* travis: Run travis build scripts
These run with NODE_ENV=production, which is needed to have correct
routing on all clouddot instances.
The starter app has been updated over the last few months and new
options are required in the `scripts` section of `package.json`.
Bring the `scripts` section in line with the starter app to fix some
issues around routing requests to `/beta` in CI.
Signed-off-by: Major Hayden <major@redhat.com>