diff --git a/.env.default b/.env.default new file mode 100644 index 0000000000000000000000000000000000000000..9460ac939f00840be8696a94c26d678b3f130df3 --- /dev/null +++ b/.env.default @@ -0,0 +1,27 @@ +ENVIRONMENT +NODE_ENV + +REACT_APP_KEY +REACT_APP_FEEDBACK_LINK +REACT_APP_GOOGLE_CLIENT +REACT_APP_GA_TRACKING_ID + +# Services +REACT_APP_BUILDING_SERVICE +REACT_APP_UTILITY_SERVICE +REACT_APP_DOCUMENT_SERVICE +REACT_APP_PROJECT_SERVICE +REACT_APP_REPORT_SERVICE +REACT_APP_IOT_SERVICE +REACT_APP_USER_SERVICE +REACT_APP_GOOGLE_CLIENT +REACT_APP_COUCH_DB_URL +REACT_APP_BLOCLINK_URL +REACT_APP_BLOCNOTE_URL + +# AUTH0 +REACT_APP_AUTH0_DOMAIN +REACT_APP_AUTH0_CLIENT_ID +REACT_APP_AUTH0_CALLBACK_URL +REACT_APP_AUTH0_CLAIMS_NAMESPACE +REACT_APP_AUTH0_AUDIENCE diff --git a/.eslintrc.json b/.eslintrc.json index 0251ca47a73a867355bcfb1585f121f9224d9b5b..61ce849ae64ca501f7d1465e8e66d5fffdd56a0a 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -28,7 +28,9 @@ "import/prefer-default-export": "off" }, "env": { + "es6": true, "browser": true, + "commonjs": true, "jest": true } } diff --git a/package-lock.json b/package-lock.json index 2f82cfde55d7b612eeb8d49aecfeb70617b1ab15..5b104203572cf6efd2de65959ea7f37be669bbf3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "buildings", - "version": "1.13.0", + "version": "1.14.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 1c037f09c2836f5f5b39b61bc6a50735cf8bfac8..a5c9f8c4f2940ebe62e7baa969091b63fd0287ef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "buildings", - "version": "1.13.0", + "version": "1.14.0", "private": true, "engines": { "node": ">=8" @@ -114,7 +114,7 @@ "/config/polyfills.js" ], "testPathIgnorePatterns": [ - "/(build|docs|node_modules)/" + "/(build|docs|node_modules|scripts)/" ], "testEnvironment": "node" }, diff --git a/src/components/TurkHit/index.js b/src/components/TurkHit/index.js index 1452a1611cf8c411e821509eb5f9feb19c016bfe..e31712d2e131408f1d102be4e6a589e1b146f579 100644 --- a/src/components/TurkHit/index.js +++ b/src/components/TurkHit/index.js @@ -13,6 +13,7 @@ import userPropType from '../../containers/User/propTypes'; // Need to call this to load the 3D highcharts module Highcharts3D(ReactHighcharts.Highcharts); + class TurkHit extends Component { constructor(props) { super(props); @@ -595,7 +596,7 @@ class TurkHit extends Component { ) renderCreateHitButton = () => { - const { createHitConfirmation, address, building_id } = this.props; + const { createHitConfirmation, address, building_id } = this.props; // eslint-disable-line return (