sourcecred/config
William Chargin 25d0106a33
Run npm scripts with `--silent` in CI (#191)
Summary:
This prevents the boilerplate output of the form
```

> sourcecred-explorer@0.1.0 check-pretty /home/wchargin/git/sourcecred
> prettier --list-different '**/*.js'

```
(superfluous linebreaks included). In the case that a script fails, it
also omits the giant “this is most likely not a problem with npm” block.

The downside to this is that it suppresses any errors in npm-run-script
itself. For instance, `npm run wat` produces “missing script: wat”,
while `npm run --silent wat` just silently exits with 1. This does not
silence the actual scripts themselves, so things like lint errors or
test failures will still appear.

Test Plan:
Run `yarn travis` before and after this commit, and note that the
resulting build log is prettier after.

wchargin-branch: ci-silent
2018-05-02 19:10:37 -07:00
..
jest Fix all lint errors, adding a lint CI step (#175) 2018-04-30 14:52:28 -07:00
env.js Fix all lint errors, adding a lint CI step (#175) 2018-04-30 14:52:28 -07:00
paths.js Fix all lint errors, adding a lint CI step (#175) 2018-04-30 14:52:28 -07:00
polyfills.js Fix all lint errors, adding a lint CI step (#175) 2018-04-30 14:52:28 -07:00
travis.js Run npm scripts with `--silent` in CI (#191) 2018-05-02 19:10:37 -07:00
webpack.config.backend.js Fix all lint errors, adding a lint CI step (#175) 2018-04-30 14:52:28 -07:00
webpack.config.dev.js Fix all lint errors, adding a lint CI step (#175) 2018-04-30 14:52:28 -07:00
webpack.config.prod.js Fix all lint errors, adding a lint CI step (#175) 2018-04-30 14:52:28 -07:00
webpackDevServer.config.js Fix all lint errors, adding a lint CI step (#175) 2018-04-30 14:52:28 -07:00