Update various configuration/repo setup

Authored by skevy on Aug 10 2017, 4:57 AM.

Description

Update various configuration/repo setup

Summary:

  • Runs Flow in CI
  • Saves unit test coverage (for use with some coverage tool)
  • Adds watch command
  • Adds lint-staged to ensure files are prettiered
  • Makes rollup config longer, but easier to understand (imo)

One key change -- I'm still publishing into the dist/module dir...but I'm also including a standalone ES build (but transpiled much less than it was before...no polyfills, helpers). The idea is that you should still be able to get the benefits of dead code elimination using webpack, etc even if you're not transpiling node_modules (which would be required when using the stuff inside dist/module. I think this is the right move.

Test Plan: No test plan

Reviewers: appsforartists

Reviewed By: appsforartists

Differential Revision: http://codereview.cc/D3301

Details

Committed
skevyAug 10 2017, 1:10 PM
Reviewer
appsforartists
Differential Revision
D3301: Update various configuration/repo setup
Parents
R51:34f0f5e88354: Fixup updateConfig, add tests
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/11398