Set environment in a way that works for windows

This commit is contained in:
Timothy Warren 2018-03-30 19:10:27 -04:00
parent a697cf56c3
commit f322e539d2
5 changed files with 15 additions and 2 deletions

View File

@ -1,2 +1,3 @@
BROWSER=none
INFERNO_APP_X = x-from-development-env INFERNO_APP_X = x-from-development-env
INFERNO_APP_DEVELOPMENT = development INFERNO_APP_DEVELOPMENT = development

View File

@ -1,2 +1,3 @@
BROWSER=none
INFERNO_APP_X = x-from-original-local-env INFERNO_APP_X = x-from-original-local-env
INFERNO_APP_ORIGINAL_2 = override-from-original-local-env-2 INFERNO_APP_ORIGINAL_2 = override-from-original-local-env-2

View File

@ -1,2 +1,3 @@
BROWSER=none
INFERNO_APP_X = x-from-production-env INFERNO_APP_X = x-from-production-env
INFERNO_APP_PRODUCTION = production INFERNO_APP_PRODUCTION = production

View File

@ -12,6 +12,7 @@
}, },
"devDependencies": { "devDependencies": {
"babel-eslint": "^8.2.2", "babel-eslint": "^8.2.2",
"bootstrap": "4",
"electron": "^1.8.4", "electron": "^1.8.4",
"electron-builder": "^20.8.1", "electron-builder": "^20.8.1",
"eslint": "^4.19.1", "eslint": "^4.19.1",
@ -21,7 +22,8 @@
"eslint-plugin-node": "^6.0.1", "eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.7.0", "eslint-plugin-promise": "^3.7.0",
"eslint-plugin-standard": "^3.0.1", "eslint-plugin-standard": "^3.0.1",
"foreman": "^2.0.0" "foreman": "^2.0.0",
"jquery": "^3.3.1"
}, },
"scripts": { "scripts": {
"build": "inferno-scripts build", "build": "inferno-scripts build",
@ -33,7 +35,7 @@
"lint": "eslint src/**/*.js", "lint": "eslint src/**/*.js",
"pack": "build --dir", "pack": "build --dir",
"postinstall": "electron-builder install-app-deps", "postinstall": "electron-builder install-app-deps",
"react-start": "BROWSER=none inferno-scripts start", "react-start": "inferno-scripts start",
"start": "nf start -p 3000", "start": "nf start -p 3000",
"test": "inferno-scripts test --env=jsdom" "test": "inferno-scripts test --env=jsdom"
}, },

View File

@ -1240,6 +1240,10 @@ boom@5.x.x:
dependencies: dependencies:
hoek "4.x.x" hoek "4.x.x"
bootstrap@4:
version "4.0.0"
resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-4.0.0.tgz#ceb03842c145fcc1b9b4e15da2a05656ba68469a"
boxen@^1.2.1: boxen@^1.2.1:
version "1.3.0" version "1.3.0"
resolved "https://registry.yarnpkg.com/boxen/-/boxen-1.3.0.tgz#55c6c39a8ba58d9c61ad22cd877532deb665a20b" resolved "https://registry.yarnpkg.com/boxen/-/boxen-1.3.0.tgz#55c6c39a8ba58d9c61ad22cd877532deb665a20b"
@ -4883,6 +4887,10 @@ jest@22.4.2:
import-local "^1.0.0" import-local "^1.0.0"
jest-cli "^22.4.2" jest-cli "^22.4.2"
jquery@^3.3.1:
version "3.3.1"
resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.3.1.tgz#958ce29e81c9790f31be7792df5d4d95fc57fbca"
js-base64@^2.1.9: js-base64@^2.1.9:
version "2.4.3" version "2.4.3"
resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.4.3.tgz#2e545ec2b0f2957f41356510205214e98fad6582" resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.4.3.tgz#2e545ec2b0f2957f41356510205214e98fad6582"