Add some build utils to "types" package #39

Merged
merged 3 commits into from Feb 15, 2017

Projects

None yet

1 participant

@wincent
Contributor
wincent commented Feb 15, 2017

Going to cut a first experimental release of this, so making some helper tools before I do. Primarily, want to make sure that we get the .flow file in the published package — otherwise the entire purpose of the package is defeated — so that means baking it into the npm run build process.

wincent added some commits Feb 15, 2017
@wincent wincent Extract `cp` function into `utils` module
I'm about to re-use this functionality in another build task, so
extracting it here.
c7cc202
@wincent wincent utils: add `exec` and `print` convenience functions 6695560
@wincent wincent types: Add build-js script and package.json script
- build-js: builds base JS file(s) and package.json.
- build-flow: builds auxiliary Flow file(s).
- build: does both ("build-flow" is fast enough that we can do it
  whenever we build).
b037b01
@wincent wincent merged commit 9ff58c2 into graphql:master Feb 15, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@wincent wincent deleted the wincent:glh/build-utils branch Feb 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment