Created
June 20, 2019 19:48
-
-
Save DSchau/c30575ad9b744205116fd25b0a2a2cfb to your computer and use it in GitHub Desktop.
Example using execa in onPreBootstrap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const execa = require('execa') | |
exports.onPreBootstrap = () => { | |
return execa('npm', ['run', 'compile']) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"scripts": { | |
"compile": "lingui compile" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment