Skip to content

Instantly share code, notes, and snippets.

@DSchau
Created June 20, 2019 19:48
Show Gist options
  • Save DSchau/c30575ad9b744205116fd25b0a2a2cfb to your computer and use it in GitHub Desktop.
Save DSchau/c30575ad9b744205116fd25b0a2a2cfb to your computer and use it in GitHub Desktop.
Example using execa in onPreBootstrap
const execa = require('execa')
exports.onPreBootstrap = () => {
return execa('npm', ['run', 'compile'])
}
{
"scripts": {
"compile": "lingui compile"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment