Fix SSR server env problems

This commit is contained in:
Jan Tuomi
2019-01-14 19:02:22 +02:00
parent 063e396e2a
commit 7cddbacc27
3 changed files with 30 additions and 16 deletions
+2 -1
View File
@@ -30,7 +30,7 @@
"mock-backend": "json-server --watch db.json -H 0.0.0.0 -p 1234",
"test": "npm-run-all lint test:e2e",
"test:e2e": "npm-run-all -s build test:e2e:run",
"test:e2e:run": "npm-run-all -p -r mock-backend serve test:e2e:testcafe",
"test:e2e:run": "npm-run-all -p -r serve test:e2e:testcafe",
"test:e2e:testcafe": "testcafe -S -s 'tests/testcafe/screenshots' --app-init-delay 2000 chrome tests/testcafe",
"plop": "plop"
},
@@ -52,6 +52,7 @@
"babel-preset-react": "^6.24.1",
"compression": "^1.7.3",
"css-loader": "^0.28.11",
"dotenv": "^6.2.0",
"dotenv-webpack": "^1.5.7",
"express": "^4.16.3",
"favicons-webpack-plugin": "0.0.9",