Hi,
I’m reading the Deploying our app article.
Under the Testing section, in step 7 it’s written:
In our build script, npm run test
is called, then you see the string &&
— this means “if the thing on the left succeeded (exited with zero), then do this thing on the right”. So this translates into: if the tests pass, then build the code.
but I cannot find it in the package.json file, also not here: https://github.com/remy/mdn-will-it-miss/blob/master/package.json
should I update the build field under script to be like this?
“build”: “npm run test && parcel build src/index.html”
Thanks,