Skip to content
This repository was archived by the owner on Jul 3, 2020. It is now read-only.

Commit b843e3c

Browse files
committed
Add missing deps
1 parent cee897e commit b843e3c

File tree

5 files changed

+196
-27
lines changed

5 files changed

+196
-27
lines changed

backend/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ if [ -f tmp/pids/server.pid ]; then
55
rm tmp/pids/server.pid
66
fi
77

8-
echo -e "\nRunning server"
8+
echo -e "\nRunning API server"
99
exec bundle exec "$@"

frontend/.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"presets": [
33
"react",
4+
"es2015",
45
"stage-0"
56
],
67
"plugins": [
7-
"react-hot-loader/babel",
88
"transform-runtime",
99
"add-module-exports",
1010
"transform-decorators-legacy"

frontend/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@
88
"babel-eslint": "7.2.3",
99
"babel-jest": "20.0.3",
1010
"babel-loader": "7.1.2",
11+
"babel-plugin-add-module-exports": "^0.2.1",
12+
"babel-plugin-transform-decorators-legacy": "^1.3.4",
13+
"babel-plugin-transform-runtime": "^6.23.0",
14+
"babel-preset-es2015": "^6.24.1",
1115
"babel-preset-react-app": "^3.1.1",
16+
"babel-preset-stage-0": "^6.24.1",
1217
"babel-runtime": "6.26.0",
1318
"case-sensitive-paths-webpack-plugin": "2.1.1",
1419
"chalk": "1.1.3",

frontend/src/reducers/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ export default function app(state = initialState, action) {
1111
return { ...state, loaded: true };
1212
case ACTION_TYPES.STATUS_SUCCESS:
1313
return { ...state, apiStatus: action.status }
14-
case ACTION_TYPES.STATUS_SUCCESS:
15-
return { ...state, apiStatus: "BAD" }
14+
case ACTION_TYPES.STATUS_FAILURE:
15+
return { ...state, apiStatus: "PROBLEMO" }
1616
default:
1717
return state;
1818
}

0 commit comments

Comments
 (0)