|
|
@ -36,7 +36,7 @@ const metamaskrc = require('rc')('metamask', { |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
const { streamFlatMap } = require('../stream-flat-map.js'); |
|
|
|
const { streamFlatMap } = require('../stream-flat-map.js'); |
|
|
|
const baseManifest = require('../../app/manifest/_base.json'); |
|
|
|
const { version } = require('../../package.json'); |
|
|
|
const { |
|
|
|
const { |
|
|
|
createTask, |
|
|
|
createTask, |
|
|
|
composeParallel, |
|
|
|
composeParallel, |
|
|
@ -522,7 +522,7 @@ function getEnvironmentVariables({ devMode, testing }) { |
|
|
|
return { |
|
|
|
return { |
|
|
|
METAMASK_DEBUG: devMode, |
|
|
|
METAMASK_DEBUG: devMode, |
|
|
|
METAMASK_ENVIRONMENT: environment, |
|
|
|
METAMASK_ENVIRONMENT: environment, |
|
|
|
METAMASK_VERSION: baseManifest.version, |
|
|
|
METAMASK_VERSION: version, |
|
|
|
NODE_ENV: devMode ? 'development' : 'production', |
|
|
|
NODE_ENV: devMode ? 'development' : 'production', |
|
|
|
IN_TEST: testing ? 'true' : false, |
|
|
|
IN_TEST: testing ? 'true' : false, |
|
|
|
PUBNUB_SUB_KEY: process.env.PUBNUB_SUB_KEY || '', |
|
|
|
PUBNUB_SUB_KEY: process.env.PUBNUB_SUB_KEY || '', |
|
|
|