diff --git a/client/package.json b/client/package.json index c72d7576..a53f832c 100644 --- a/client/package.json +++ b/client/package.json @@ -28,6 +28,7 @@ "@babel/preset-react": "^7.0.0", "@babel/register": "^7.5.5", "axios-mock-adapter": "^1.15.0", + "babel-loader": "^8.0.6", "babel-plugin-add-module-exports": "^1.0.2", "browser-sync": "^2.7.13", "chai": "^3.5.0", @@ -45,6 +46,7 @@ "jsdom": "^8.4.1", "mocha": "^6.2.0", "morgan": "^1.6.1", + "node-sass": "^4.12.0", "nodemon": "^1.19.1", "path": "^0.12.7", "proxyquire": "^1.7.4", @@ -67,8 +69,6 @@ "dependencies": { "axios": "^0.18.0", "classnames": "^2.2.5", - "font-awesome": "^4.7.0", - "font-awesome-sass-loader": "^2.0.1", "history": "^3.0.0", "html-to-text": "^4.0.0", "keycode": "^2.1.4", diff --git a/client/src/app/App.js b/client/src/app/App.js index 1db8bb8d..c62353cf 100644 --- a/client/src/app/App.js +++ b/client/src/app/App.js @@ -111,7 +111,7 @@ class App extends React.Component { history.push('/admin'); } - if(proccess.env.NODE_ENV === 'production' && _.includes(props.location.pathname, '/components-demo')) { + if(process.env.NODE_ENV === 'production' && _.includes(props.location.pathname, '/components-demo')) { history.push('/'); } } diff --git a/client/src/index.html b/client/src/index.html index c0122ed5..969722e9 100755 --- a/client/src/index.html +++ b/client/src/index.html @@ -9,9 +9,8 @@