Add flow, example implementation and types

This commit is contained in:
Tom Moor
2017-04-27 22:10:43 -07:00
parent 2095b3a874
commit 4e5c3944d8
6 changed files with 156 additions and 16 deletions

View File

@ -5,7 +5,9 @@ require('dotenv').config({ silent: true });
const definePlugin = new webpack.DefinePlugin({
__DEV__: JSON.stringify(JSON.parse(process.env.NODE_ENV !== 'production')),
__PRERELEASE__: JSON.stringify(JSON.parse(process.env.BUILD_PRERELEASE || 'false')),
__PRERELEASE__: JSON.stringify(
JSON.parse(process.env.BUILD_PRERELEASE || 'false')
),
SLACK_REDIRECT_URI: JSON.stringify(process.env.SLACK_REDIRECT_URI),
SLACK_KEY: JSON.stringify(process.env.SLACK_KEY),
URL: JSON.stringify(process.env.URL),